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...

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


Please Help Members By Posting Answers For Below Questions

What is Port testing. Whhen will you perform?

1947


how to test Web application using QTP software

2031


Explain in brief about the quicktest professional (qtp) automation object model?

988


How can I change object description or check point values in qtp?

1022


how to test load test and block box testing an a web based application pls give ans briefly

1843


what is error and fault in terms of software quality?

1989


How many tabs are available to view your test in a test pane and what are they?

1076


What is the significance of “action 0” in qtp?

1060


How do you test DLL files using automation Tool QTP?

3240


Tell me about qtp?

932


What is the difference between a Function and Action in QTP?

1098


what kind of frame work you used in your last project?

2330


How to modify object property in qtp ?

1007


What are the different recording modes and how do they work?

1087


What is the syntax to call one action in another?

1046