For Passing Parameters from one Action to another Action we
will use Input & Output parameters. Can any one tell how to
use this Input & Output parameters with Example ?

Answer Posted / saravanaraja

write the following script in Action1

dim a,b

a=10
RunAction "Action2",oneiteration, a,b

msgbox b

here a is the input parameter & b is the output parameter.

click Action 2 properties and give input parameter as a &
output parameter as b.


Write the following script in Action2:

dim c,d

c=parameter.item("a")
c=c+20

parameter.item("b")=c

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is QTP testing process?

636


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1727


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1672


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1451


How to handle dynamic objects in quicktest professional?

507






What is keyword view in qtp?

555


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

599


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5112


Where to use function or action?

672


Tell me about qtp?

544


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2360


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

3783


What are the views available in qtp?

594


What test you perform mostly? Regression or retesting in your testing process?

581


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1690