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 |
Can any one send me the QTP Basic Coding Samples?
what are the Common Problems in S/w development process
How do you learn the object in QTP?
Difference between test object and run time object?
what r the main benefits of automation?
Hi all, i have installed QTP8.2 in my system. but script is not generating while recording. What is the problem? is any file missing? pls let me know anybody...Thnaks
How we test web based application by using QTP
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
Please explain me i am using QTP 9.5 ,i am creating re usable scripts,i have to pass data from one local sheet to another local sheet.for example i am creating emploee information, (data is in action 2 local sheet),In this data table emplyeee number will get,i have to pass employee number to another reusable script search data (action2 local data sheet)
actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.
Explain the concept of object repository & how qtp recognizes objects?