Loops in actions - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Loops in actions (/Thread-Loops-in-actions) |
Loops in actions - sebbienl - 07-14-2015 I searched but could not find a simple solution. The question is this, I want to loop after the logon an action until the datasheet is all done. So once logon en then do some steps over and over again. Code: Wait (8) If i run it is will redo the whole action with logging in... It needs to loop only the action after logging in RE: Loops in actions - supputuri - 07-14-2015 Please update the setting in the following. File> Settings>Run> Select Run One Iteration only radio button You should be all set. RE: Loops in actions - ravi.gajul - 07-16-2015 Assuming you have 2 actions say Login and BookTicket. Now if you have to Login once and book two tickets i.e., Login(1 Iteration)-->BookTickets(2 iterations). All you have to do is Add the test data corresponding to bookticket in bookticket action sheet.Now go to action properties of booktickets select run on all iterations radio button. This way Login will be executed once and bookticket twice.Hope this is what you are looking for. |