Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to end script in QTP if the Do Until loop goes to infinite.
#4
Solved: 11 Years, 8 Months, 2 Weeks ago
Code:
For i=1 to 15
Call Login Function
Browser().page().link().click
Browser().Page().webbutton("Approve).click
X = Browser().page().webelement("Status").GetROproperty ("Innertext")
if X = "Ordered" then exit for
next

Reply


Messages In This Thread
RE: How to end script in QTP if the Do Until loop goes to infinite. - by rajpes - 09-30-2011, 02:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating interface in UFT 15.0 for end user sravanmonty 0 979 07-16-2019, 03:47 AM
Last Post: sravanmonty
  Not able to send spacebar with End Key to TE nbansal 1 3,754 02-08-2013, 11:31 PM
Last Post: coolguy
  Can't Identify on Second loop MichaelS 2 3,696 10-07-2011, 07:07 PM
Last Post: MichaelS

Forum Jump:


Users browsing this thread: 1 Guest(s)