How to pass parameters into an action.Please explain me
with examples
Answer Posted / pk
First you have to declare the Input/Output Parameters in the
Action Properties (Right click action icon and select). Then
you can access these parameters through the Parameter object.
Say you have declared two Input parameters
a (as number, value= 25) and
b ( as number, value = 30)
Then you can access these Action input parameter with in the
action using
c = parameter("a")+parameter("b")
msgbox c (should display 55)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is Port testing. Whhen will you perform?
how to test Web application using QTP software
Explain in brief about the quicktest professional (qtp) automation object model?
How can I change object description or check point values in qtp?
how to test load test and block box testing an a web based application pls give ans briefly
what is error and fault in terms of software quality?
How many tabs are available to view your test in a test pane and what are they?
What is the significance of “action 0” in qtp?
How do you test DLL files using automation Tool QTP?
Tell me about qtp?
What is the difference between a Function and Action in QTP?
what kind of frame work you used in your last project?
How to modify object property in qtp ?
What are the different recording modes and how do they work?
What is the syntax to call one action in another?