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
2860Post New ADITI QTP Interview Questions
What are the static and dynamic dashboards?
Explain what are wave fronts?
What is the difference between convert and parse in c#?
Where did you learn winrunner and testdirector?
Please explain what inheritance is, and why it's important?
What do you mean by dao?
Explain the flag register in the 8085 microprocessor?
What is dbd?
Explain short brief on Facades in Laravel ?
What do you mean by term 'Double Indemnity'?
How will you differentiate between Repo Rate and Revere Repo Rate?
Define what is meant by operating point?
What is the gopath environment variable?
what are Operators and explain with an example?
Explain the difference between the value-type variables and reference-type variables in terms of garbage collection?