Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Do Until loop returning failure
#1
Not Solved
Ok, I have this loop in my code:

Code:
Do Until OracleFormWindow("Requests").OracleTextField("Phase").Verify("Completed")
    Wait(5)
    OracleFormWindow("Requests").OracleButton("Refresh Data").Click
Loop

This has always worked in the past, for some reason now, when the verification check is made and Phase does not equal "Completed", it returns a failure to QTP and the test fails. This has not happened before, and I'm not sure why this loop is causing a failure now?? I would expect it to loop until it matches... ?

Thanks again everyone.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Infinit loop Suma Parimal 1 2,797 05-29-2014, 01:22 PM
Last Post: basanth27
  Exit Do loop shipu 1 4,935 12-20-2013, 06:33 AM
Last Post: basanth27
  DP is not returning the whole table data content soumen 6 5,238 10-02-2013, 12:05 PM
Last Post: vvcyril
Smile Infinite FOR loop issue Sivapratha 3 4,471 04-01-2013, 09:44 AM
Last Post: basanth27
  Function written in Func library is not returning values but works in same script Shwethareddy 5 4,722 02-25-2013, 10:55 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)