How to call actions in QTP?
Answers were Sorted based on User's Feedback
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 |
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
any one can send me the concepts of qtp
any one can explain about QTP proocess,means where to start and how to start Scripting.
HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.
IF we use batch testing.the result shown for last action only.in that how can i get result for every action.
what is difference between wait and synchronization point.
Is it possible to change the extension of Shared object repository?
What is the difference between Call to Action and Copy Action?
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?
How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..
How do know the number of browsers opened?