Posts: 27
Threads: 18
Joined: Nov 2009
Reputation:
0
07-23-2010, 07:37 PM
Hi.
I have one QTP Script which calls 15 reusable actions.
Now if i make any changes in any one of those 15 actions, i have to reload the entire test to use that one updated action.
Is there any way I can refresh one particular action, it will save time to download entire test script.
Regards
TurtleRock
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
07-24-2010, 08:57 AM
Not sure if I understood your question correctly.
If you are making a call to a particular action, won't the actions get updated (refreshed) automatically the next time you open the calling script? (if you are calling via "Call to existing action")
Posts: 27
Threads: 18
Joined: Nov 2009
Reputation:
0
07-24-2010, 11:54 AM
I am working on two VM(virtual Machines) VM1,VM2 concurrently, each having QTP. On VM1's QTP my main script is loaded, and in VM2's QTP one reusable action is open which is being called from main script of VM1.
I am making changes in my action on VM2(Action is shared using QC). Now if I want to execute the main script with updated action (modified in VM2), I have to reload the entire script in VM1(which causes loading of all the 15 actions).
My question : Is there any way we can just refresh the one particular action in VM1.
Regards:
TurtleRock
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
07-24-2010, 12:41 PM
You can do the load and run of a particular action at run time using a newly introduced statement in v10.0
Check out QTP's documentation on LoadAndRunAction statement
Posts: 27
Threads: 18
Joined: Nov 2009
Reputation:
0
07-24-2010, 07:01 PM
I am using QTP 9.2 This option is not available in this version.