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 you can find the absolute value of the number in qtp?
Can launch two instances of qtp on the same machine?
what is the difference between built-i function and In-built function?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
Did QTP prove efficient for your project? Yes or No, explain?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
can any one say that where we can download the QTP trail version ??????????
What is the difference between run time object and test object in QTP?
How can you identify the browser and its information using QTP script?
Explain the check points in quicktest professional (qtp)?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
Explain the differences between table and db checkpoints?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.