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?

Answers were Sorted based on User's Feedback



How to call actions in QTP?..

Answer / 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

How to call actions in QTP?..

Answer / appuraja

Insert > Call to Existing Action

Is This Answer Correct ?    11 Yes 5 No

Post New Answer

More QTP Interview Questions

How do we retrieve the content from a text box in a web page

2 Answers  


In qtp,how to interact tool & application build?

1 Answers  


Suppose i have given 10 test cases all the test cases should be automated?

3 Answers   NTT Data,


In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known

6 Answers   iGate,


How to remove associated function library?

0 Answers  


what's the difference in between function and sub and give some code as well

3 Answers   Patni,


How to call actions in QTP?

2 Answers   Wipro,


How to Display last item of a Combobox by using QTP?

10 Answers  


what is use of the object repository?

4 Answers  


Can anybody give the script to addsheet, add column,add values under that column in the rows??

5 Answers   AZTEC,


Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?

3 Answers   Semantic Space,


how can i call reusable action in a function could any one explain me?

2 Answers   Livetek,


Categories