how to create the varibles and how these are connect to qtp?
plz tell me
Answers were Sorted based on User's Feedback
Answer / vengalrao
creating the variables through XML Failes and associate to
the test script or other wise direct write the script
statment Environment.Value("variable name" or
parameterizing the value)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / harsh pruthi
The question is bit vague
You can use the the variables directly in the script by
using DIM x as Number or if the Varibes need to be used
across the test case the can be defined as the environmet
variables
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / fayaz
As we already know that QTP makes use of VB script, so
declaration of variable will be as follows:
Dim x
and if u wnt to make use of the variable across all the
actions in ur test then the declaration of the variable
will be as follows:
Environment("variable_name").value
and..now u can make use of this environment value anywhere
in ur test...
| Is This Answer Correct ? | 0 Yes | 2 No |
how do we add a new sheet to data table in QTP?
What are objects? how do you select the unknow object?
1)Difference Between Value & RawValue?
Why divide a test into three action calls?
What is operator in VB Script?
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script
How to supress warnings from the "Test results page"?
wht is Driver in Integration testing. Anubody can answers it
What is the ur roles and responsibilities as automation testing engineer?
WHat is Object Identification and Object Spy?
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
can test automation improve test effectiveness?