Solved
Forum Discussion
Lee_M
Community Hero
Hi,
Sometimes I find it waiting in an empty while loop to get the job done more effectively.
//loop breakout counter
i = 0
while ("textContent" != "Requested") {
// do nothing until condition is true
// can have a X second delay before perfoming the test again
// may want to think about a breakout clause too
i++
if (i = 10) {
Runner.stop() // fail and end test
}
}
Related Content
Recent Discussions
- 3 days agoMW_Didata