How to iterate certain action run multiple times
'Script to click the "Report" link
RunAction "Report [Report]", oneIteration
'Script to Logout
RunAction "Logout [Login-Logout]", oneIteration
I want my script to run Login\Logout only once but by Report action to run two\three (multiple) times ?
the oneIteration(or 0) parameter tells UFT to run this action once.
Now if you change this parameter to allIterations or 1, the script will run for the number of rows of in action's data sheet.
If the action's data sheet contains fewer rows than the global sheet, the last row of the action's data sheet will be used for each subsequent iteration.