09-30-2011, 02:38 PM
Code:
For i=1 to 15
Call Login Function
Browser().page().link().click
Browser().Page().webbutton("Approve).click
X = Browser().page().webelement("Status").GetROproperty ("Innertext")
if X = "Ordered" then exit for
next