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
How does qtp identify objects in the application?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
In qtp, explain what is crypt object
wht type of User defined functions or Java Releated functions do we write in VB scripting
How do you know the location Id of an object if you know its index id?
What is difference between design time and run time data table?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
How to analyzing test results using quicktest professional (qtp)?
What is a recovery scenario?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
How to check which add-ins are associated with a test in qtp?
In qtp is it possible to check broken links of a page?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
Can anybody post some real time scenario in qtp? please its very urgent.
what is the hierarchy to use properties in descriptive programming