how to invoke the web application through script in qtp
Answer Posted / suvarna
To invoke the web application.
In QTP, Enter IEXPLORE "Your appl url"
ex:
Iexplore "http:\radix:8080\project1"
| Is This Answer Correct ? | 4 Yes | 23 No |
Post New Answer View All Answers
What are the types of data tables in qtp?
What are the methods used in UFT to handle exceptions or run-time errors?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
What are the differences between table and db checkpoints?
What is synchronization? What are the ways you can synchronize?
Can U Explain about QTP tool from older version to latest version also its differences?
What is an object repository?
How to customize qtp?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
What is QTP’s model for test creation?
What test cases can you automate using QTP?
What is difference between Recording time object identification and Run time (Execution) time.
What are the technics follow in writing VB script?