Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
skip an iteration in a loop without using if condition...
#2
Solved: 10 Years, 10 Months, 1 Week ago
Shibin, Please don't create duplicate threads. We have deleted the other one.

As far as the answer is concerned (unless this is a trick question), one of the methods can be by putting this for loop in a function and making the lower and upper index as variables. So you can have something like

PHP Code:
Function loop_iteration(lower,upper)
...
End Function

'if you wish to skip say nth iteration you can 

Call (lower, n-1)
Call (n+1, upper) 

Others - please contribute your solutions as well.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Messages In This Thread
RE: skip an iteration in a loop without using if condition... - by Ankur - 10-12-2011, 04:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)