Help! Need to refresh page until text appears on page.

878 views
Skip to first unread message

M Hanes

unread,
Aug 4, 2015, 3:38:59 AM8/4/15
to robotframework-users
Hi all. I need some help.

I'm placing an order and after the order is processed I go to another page and check that the status of the order is "Complete". When I arrive on the page to check the status, it could take anywhere from 2 to 10 minutes to appear on the screen. I'd like to be able to go to the status page, and reload the page every 3 or 4 minutes, and after each reload check to see if the status is now "Complete". Once it has verified that the status is "Complete", then it continues with the rest of the test case. I'm not sure how to do the reload and check the status every 4 minutes until it passes (or fails).

Any recommendations on how to do this??

Your help is appreciated. Thanks! 

Aleksandra Tarkowska

unread,
Aug 4, 2015, 5:18:35 PM8/4/15
to robotframework-users
Can you just use

Wait Until Keyword Succeeds ${TIMEOUT} ${INTERVAL} Your Kewoed Reloading And Checking Content

M Hanes

unread,
Aug 7, 2015, 7:03:01 PM8/7/15
to robotframework-users
That worked great. Thanks!
Reply all
Reply to author
Forward
0 new messages