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 |
How will you compare keyword and expert view?
What is the difference between Normal mode and Fast mode ?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
what is option explicit?
Explain the QTP Tool interface.
What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance...
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
How will you handle custom object in QTP?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
Types of properties that Quick Test learns while recording?
can anyone explain about the Descriptive programming in detail. I mean how to use in the script.
what type of scripts are asked in qtp?