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

what difference between client and server applications exatly?

1 Answers   Honeywell,


if anyone has idea of the interview procedure in covansys, plz send me a mail?

0 Answers  


Does the Existing reusable action can be modified at the time of calling the action?? Please help me..

2 Answers  


X=10,Y=20 you need to swap the numbers without using a third variable?

5 Answers  


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

10 Answers  






After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!!

2 Answers   ABC,


Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.

0 Answers  


Is it possible to change the property value at runtime? How it is possible?

0 Answers  


Explain the concept of how quicktest professional (qtp) identifies object?

0 Answers  


What is Modular framework and Keyword drive framework? Explain

4 Answers  


If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?

7 Answers   Covansys,


WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT

3 Answers   Wipro,


Categories