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 to use reporter.report event in qtp ?

0 Answers  


How to add multiple values in rows, under a single column of a run time datatable?

3 Answers   NIIT,


How many types of recording modes in qtp? Which will be used when?

0 Answers  


Suggest and Define a solution for an application whose objects are not recognized by UFT?

0 Answers  


who QTP recognizes the object stored in object repository?

0 Answers   Infosys, Mphasis,






what we do after completion of functional and regression testing

2 Answers  


What is the XML file architecture ?

0 Answers  


how can i add an action(external action) programmatically?

3 Answers   Ordain Solutions,


What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?

0 Answers  


Hi, Can anyone tell me what type questions can be ashed in interview on QTP?

1 Answers  


Give me some real time point of way where exactly we can conduct audits?

0 Answers   CTS,


Please anybody can tell the where can i get the information about pharma and bank testing, i put the pharma&bank projects in my resume, so i dont know what to tell about them, so where can i get the information and what we test for these, i need domain information, what r the screen we test?

0 Answers  


Categories