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
Can we do Load Testing with QTP?
How do you create regression test packs?
How do we call Library Files(.vbs) in the Test Script Thanks in Advance...
How Qtp will identifies object during run time
Is there any thing that we can replace recovery scenario manager in QTP.
How to load an object to a object repository at RUN TIME ?
hi i have one doubt is there any companies are taking correspandence courses plz leme know urjent
How can we see the analog recording steps in QTP..the Steps are stored in a track file with an extension .dat..how can we open the file..
what is object spy
How can we disable popup blocker?
What is object repository in qtp?
Can we select add ins in UFT during run time