Ok, I have this loop in my code:
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.
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.