05-02-2011, 12:42 PM
you can use .Exist method to check any object is present or not.
you can use any property inside getroproperty to see the run time value:
suppose you are checking amount 500 in your application for button object then:
you this variables to check the value.
Code:
if Broswer().Page().Link().exist then
End if
you can use any property inside getroproperty to see the run time value:
suppose you are checking amount 500 in your application for button object then:
Code:
iexpectedamount= 500
iactualamount = Browser().page().Webbutton().getroproperty('innertext")