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
what is the latest version of QTP? Main difference between 9.2 and 10 version
which type of testing process are you following in ur company? how to recognize a qtp page?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
What is difference between design time and run time data table?
What are the flaws in water fall model and how to overcome it?
what are the challenges you have faced while testing web based application using the automation tools ?
Why is Client side image is preferred over server side image?
What are parameterizing tests?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How to run a test using quicktest professional?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Explain the types of object repositorys in qtp?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
What is action split and the purpose of using this in qtp?