Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 will be happen if i load object repository at run time, but it has already associated.

1792


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

2040


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1862


Describe synchronization point.

1153


What is Cross browser testing? Does UFT support it?

1135


What are the methods of the TextStream object that are used for reading from a text file?

2273


Explain how you can delete excel file in qtp?

1050


Explain the use of action split in qtp?

1119


what is vmodel?advantages and disadvantages of vmodel?

2171


explain abt dyanamic changing object with example?

2343


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1866


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2287


how many maximum number of virtual users we can create?

2152


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1942


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2923