Micro Focus QTP (UFT) Forums
For statement - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: For statement (/Thread-For-statement)



For statement - aravind - 06-30-2008

Code:
[b]For i = 1 to 10[/b]
  Statement1
  statement2
  statement3
    If  x= y Then
    i = i+1
    End If
---------> How to bring the control just above to "For i = 1 to 10" statement at this point?
Next


RE: For statement - Ankur - 06-30-2008

Did you mean you want to exit loop and jump to line just before For Loop? Can you explain your requirement in detail?