Micro Focus QTP (UFT) Forums
How to skip an 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: How to skip an action (/Thread-How-to-skip-an-action)



How to skip an action - newqtp - 02-12-2013

I have two action in my test
action 1 - import datatable for x number of data and check if user exist then sign out else create user id.
action 2 - go to Yahoo mail account and get validation code and complete the account creation process.

My concern is if user account is exist then i don't want to run action 2 instead of that I want to rerun action 1 for next set of data.

Any suggestion how to achieve this?


RE: How to skip an action - supputuri - 02-12-2013

Hi newqtp,

Please go through the action input and output parameters in QTP helper doc.


RE: How to skip an action - newqtp - 02-13-2013

Thanks, I have found the solution..using if value=true then exitAction("ActionName" endif otherwise continue on action run.