If you are using rWebUnit
repeat_try { label(:id, :status).text = "OK" }
repeat_try (30, 2) { label(:id, :status).text = "OK" } # try 30
times every 2 seconds interval until satisfy
You can look up rWebUnit source (http://github.com/zhimin/rwebunit/
tree/master) for reference if you don't want to change to use it.
rWebUnit is packaged in PRoR (http://www.itest2.com/downloads#pror)
Eileen
---------
ISTQB Certified Tester Develop Watir tests in iTest2 IDE
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---