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 call actions in QTP?

Answer Posted / nandishpatil

You can call a action in QTP by the following:

1. Insert > Call to Existing Action
2. Select the "Test From" (If "Action" is being called from
another Test)
3. Select the "Action" you want to call
4. Then select the Location, where the "Action" needs to be
called in the current script
5. Click "OK"

Or you direct write the script as below in the line where
you want to call the action:

"RunAction <ActionName>, (Iteration)"

Here, "<ActionName>" is the Action you want to call and
the "(Iteration)" is optional where you can define number
of iterations you want to execute.

Eg:
1. RunAction Action2, OneIteration (For single Iteration)
2. RunAction Action3, AllIterations (For All Iterations)
3. RunAction Action4, 1-3 (For iterations from 1 to 3)


Note: To Call an "Action" multiple times or to Call
an "Action" from Other Tests, make sure the "Action" is
marked as a "Reusable Action".

Is This Answer Correct ?    51 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the disadvantages of recording test cases in qtp?

1033


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

7508


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3883


Brief the process of testing with UFT?

1075


How to check feasibility of the appliction?in automation testing?

1975


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

1025


explain how to write vb script in qtp?when will you write own script?

2304


How to handle the exceptions using the recovery scenario manager in qtp?

1031


what is the structure for the data driven framework

1998


Shall we add Local Repository to shared object repository,if yes,how we add

7479


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

2254


what is supply chain management?

2575


when a test case is written how u test using qtp

2119


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.

2056


how will you check how many members visited the website www.infosys.com?

1913