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
Which functionalities of QTP used in banking project? pls any say answer?
give me an example where u used good judgement and logic in solving a problem
How to delete an object from the object repository?
How do Parameterization and Data-Driving relate to each other in QTP?
What is debugging? How you debug your script?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
How software tester can use constants and variables in scripts?
What is a data driven test in qtp?
Plz Explain AUTOMATION REFERENCE MODEL?
How do you open adobe acrobat file in QTP and do some testing on that file ?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
explain keyword driven framework with banking domain?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
What are the methods of the TextStream object that are used for reading from a text file?