Merge multiple scripts - 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: Merge multiple scripts (/Thread-Merge-multiple-scripts) |
Merge multiple scripts - Shama Ahsan - 04-12-2011 Hi Basanth As told by you We can use the "Copy of action". Create a new test, and call all of the tests as copy of action to merger multiple scripts. form where we can create copy of action? please do guide in steps... i recorded 11 scripts, i recorded these scripts separately. now i want to put them at one place. guide please RE: Merge multiple scripts - basanth27 - 04-12-2011 Sure. Aah i almost forgot.. My friend QTP told me once to contact his close friend Mr.F1 who would be glad to loan me any knowledge. I learnt from him and he was very articulate with his words. The best part is you dont have to wait for his answers. Here is what you need to do, 1. Open QTP help. 2. Search with the keyword copy of action. 3. Learn about how to use copy of action. As simple as it is, it would save me to copy paste . Hope it helps RE: Merge multiple scripts - Shama Ahsan - 04-12-2011 hahahaha wooooooooooooopppppppppppps this F1, good stuff indeed. yeap true "The best part is you dont have to wait for his answers" as i was waiting for your answer eagerly bcz i need to show up with merged scripts in an hour!! let me read, yeah hope it would work. thanks indeed RE: Merge multiple scripts - basanth27 - 04-12-2011 No pun was intended. It wouldnt take 15 mins to learn copy of action RE: Merge multiple scripts - Shama Ahsan - 04-12-2011 hahaha i know :p but teachers can punish yeap em trying this anyways... RE: Merge multiple scripts - Shama Ahsan - 04-12-2011 Basanth i could not merge the scripts i tried but failed... Select Insert > Call to New action i defined the action name and location then Insert > Call to copy of action it worked for first, i added second, it spoiled all the scripts dint work please do guide me RE: Merge multiple scripts - PrabhatN - 04-12-2011 Shama, Can you please cross check once if actions in all the tests (the 11 separate scripts as per you) are reusable or not? RE: Merge multiple scripts - Shama Ahsan - 04-13-2011 Hi Prabhatn well, can we only merge reusable actions?? RE: Merge multiple scripts - basanth27 - 04-13-2011 What was the error which caused you to conclude that it screwed the whole script? Would you please elaborate. BTW, it is not mandatory for an action to be reusable to call it as a copy of action. I have been through this discussion on a separate thread under the same category. |