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
No Answer is Posted For this Question
Be the First to Post Answer
why we use sendkey method in qtp?
How many types of recording modes in qtp? Describe each type with an example where we use them?
what is the frame work in J-meter?
What do you mean by checkpoints in qtp?
what is difference normal,analog,low level recording in qtp? what is lowlevel recording?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
What is optional step in qtp? How you can add optional step in qtp?
Whenever we r keeping mouse pointer under the image we r getting image name. In qtp how can we do this thing.weather that name is coming or not?
How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
How QTP recognizes Objects in AUT?
Got job with 3 years fake Experience