Prepare for your Next Interview
This is a discussion on multiple actions in QTP within the QTP forums, part of the Software Testing category; i have created multiple actions and i don't want to run all the actions at a time but i want to run only one action in that so how ...
|
|||
|
multiple actions in QTP
i have created multiple actions and i don't want to run all the actions at a time but i want to run only one action in that so how to do that.
how to insert breakpoint and what is the use of transactions and how to work with transactions |
| Sponsored Links |
|
|||
|
Re: multiple actions in QTP
If you have multiple actions and you want to run only one action at a time, make all the actions as re-usable actions then create a new action, insert calls to re-usable actions in the new action, run which ever action you want. comment all other actions.
eg: Assume that you have Action1, Action2 and Action3. You want to run Action1, Action2 and Action3 individually. 1) Select Action1/2/3 go to action properties make it as re-usable. 2) Create a new action say Action 4 3) Go to keyword/treeview delete Action1/2/3 (from the keyword view which are re-usable) 4) Go to Expert view select Action 4 5) insert statements like RunAction "Action1",oneIteration,parameters if any RunAction "Action2",oneIteration,parameters if any RunAction "Action3",oneIteration,parameters if any 6) If u want to run Action1 comment all other actions similarly for other actions also... hope this will help u in understanding.... |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wondershare DemoCreator captures on-screen actions for making software tutorials, pre | JobHelper | Geeks Lounge | 0 | 06-14-2007 08:00 AM |
| Select multiple WebCheckBoxes | Tom Thomas | QTP | 0 | 05-19-2007 05:52 AM |
| Using multiple instance in a sequence job | Geek_Guest | Data Warehousing | 0 | 05-17-2007 03:08 AM |
| QTP- Object repository & Re-useable actions | raghu.para | QTP | 5 | 04-20-2007 02:45 PM |
| multiple inheritance.... | psuresh1982 | Java | 2 | 01-22-2007 12:57 AM |