Geeks Talk

Prepare for your Next Interview




multiple actions in QTP

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 ...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-16-2007
Junior Member
 
Join Date: Mar 2007
Location: hyderabad
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
prasad_trp is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-18-2007
Contributing Member
 
Join Date: Feb 2006
Posts: 37
Thanks: 3
Thanked 7 Times in 6 Posts
dsharma is on a distinguished road
Re: multiple actions in QTP

Use RunAction function in the main action. It will run only specific actions & not all.
Reply With Quote
  #3 (permalink)  
Old 06-22-2007
Junior Member
 
Join Date: Jun 2007
Location: Bangalore
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
bharathkumar.dasari is on a distinguished road
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....
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 01:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved