waht is the diff b/w Environment variable and Global
variable in qtp?? explain types of variable in qtp??
Answer Posted / jay prakash
There are 2 types of Environment Variables in QTP:
1. User defined
2. Built In
The significance of environment variable is that the value
of environment parameters remains the same during the test
playback, regardles the number of iterations, unless you
change the value. The name of the built in environment
variable will be common across the test. Like UserName, OS
etc.
To see the list of env var you can go to File -> Setting ->
Environment Tab.
Please let me know in case more clarification is required.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
How many tabs are available in debug viewer pane?
Explain advantages and disadvantages kdf?
Explain measuring transaction.
If object is not recognized by qtp but the object is standard object what is your approach?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
how to post xml data from QTP scripts to any application?
What is the architecture of your project? Can any one answer for this question plz........
What is the Difference between copy to action and call to action?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
what is the difference btn risks & Therads in the Test plan documentation?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
How to carry out bit map check points in QTP
How can you handle exceptions in qtp?