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
Does quicktest professional is unicode compatible?
Tell me about qtp?
Discuss quicktest professional (qtp) environment?
With what extension you can save the list of tests in a file to run in test batch runner?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
What are the main differences of qtp and win runner?
What is the Difference between test object and run time object?
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
How can i check items sorted or not in a weblist ? Give me the script for this...
Why bpt?
Explain about datafile/verification of date file when file is not available in local system?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
What are the different ways to invoke an application using QTP?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
Describe synchronization point.