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 TO DO THE BATCH TESTING USING QTP?
How to build scripts that access data from external sources?
Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks
what are the metrics in general we use in testing
Which line will be executed 1-B(DP).P(OR.link(DP) 2-B(OR).P(Or).Link(DP)
Can I import a excel sheet in Action1 datatable? How?
Which functionalities of QTP used in banking project? pls any say answer?
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
Friends please let me know how id following possible in QTP: Can I apply conditional loop on a bitmap/image or any other checkpoint. Like if checkpoint passes then if or Else
Can we call a parameter from an action to other action?
When Object Repository is available what is the necessity of having Descriptive programming which needs more scripting efforts.
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?