Micro Focus QTP (UFT) Forums
How to avoid the second iteration while using 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to avoid the second iteration while using Actions? (/Thread-How-to-avoid-the-second-iteration-while-using-Actions)



How to avoid the second iteration while using Actions? - Uma - 08-25-2011

Hi,
Action1 has the following code.
RunAction "Login", oneIteration
RunAction "Functions-Staging", oneIteration
RunAction "Logout", oneIteration
After one iteration,it is started the 2nd iteration.
So I selected run one iteration only in the settings.
Again it went to second iteration.Why?
Any help?
Thanks,
Uma


RE: How to avoid the second iteration while using Actions? - parminderdhiman84 - 08-25-2011

Hello,

In keyword view,right click on your desired action and select Action Call Properties and select oneiteration.

Regards,
Parminder


RE: How to avoid the second iteration while using Actions? - Uma - 08-27-2011

It works,Thanks Parminder.
Uma