Refresh particular action. - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Refresh particular action. (/Thread-Refresh-particular-action) |
Refresh particular action. - TurtleRock - 07-23-2010 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 RE: Refresh particular action. - Ankur - 07-24-2010 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") RE: Refresh particular action. - TurtleRock - 07-24-2010 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 RE: Refresh particular action. - Ankur - 07-24-2010 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 RE: Refresh particular action. - TurtleRock - 07-24-2010 I am using QTP 9.2 This option is not available in this version. |