Answer Posted / babu
Hi,
File->Setting->Environment
Selected User defined functions and added the variables "a"
with value 10 and "b" with value 10.
click on apply
open new test.
Dim c
c = a+b
msgbox c
I am not getting the result as 20.
Whether the scenario what i executed is wrong.
If yes, please elaborate how&what is the use of environment
variables.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of action split in qtp?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
diff between qtp versions from 8.5
What is the difference between shared and local object repository?
What ate the Technologies supported by QTP?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
What are the features and benefits of quick test pro (qtp 8.0)?
what is the difference between the modular framework and datadriven frame work
Explain different types of checkpoints?
How to test results for qtp ?
How can I check if a environment variable exist or not?
Difference between action & Reusable action?
Did the scripts need lot of maintenance? If yes, why?