waht is the diff b/w Environment variable and Global
variable in qtp?? explain types of variable in qtp??
Answer Posted / murali
Environment variable can be used across any Action and any
test with in QTP. Since it is declared in QTP Environment
section
Global variable can be used with in a test and functions
associated to that test.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
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
How many tabs are available to view your test in a test pane and what are they?
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
We stored into the objects OR and then write the scripting
what is the difference between development and testing
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
When to use shared and local object repository?
Explain the checkpoint in qtp?
Can we use index on view?
What are the types of object repository in qtp?
What are the differences between quicktest professional (qtp) and winrunner?
When Recovery scenario actually starts while testing the application?
how do u plan test automation?
Explain how Does Run time data (Parameterization) is handled in QTP?
Define Error Pane of UFT?