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

how did u use automating testing tools in ur job?

1917


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1841


Explain the difference between call to action and copy action?

941


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1965


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1937


What is quick test pro?

1019


what are the utilities and drivers

2314


How to analyzing test results using quicktest professional (qtp)?

1002


what is the difference btn risks & Therads in the Test plan documentation?

2083


How to start recording using quicktest professional?

1116


How does qtp recognize objects in aut?

988


What are the features supported by UFT?

1038


what is test scheduleling?

2472


Have you done batch testing in qtp? If yes how you are doing?

884


When you open QTP, how many sheets you can see?

1028