03-29-2010, 11:36 AM
(This post was last modified: 03-29-2010, 12:11 PM by tester_rahul.)
Two things.
1) we can use it with If.. Then( at least i think so.
2) Even without If.. Then it is not working.
I have also given the default timeout . Still it does not seem to be working. It is however working fine with wait(10) property. It sounds funny i dont think i have done wnything wrong. You guys can try it locally and see if this is working or if i am going wrong some where.
Thanks-
Rahul.
I have just found the answer to this.
The reason why this was not working is that the enable property for button is always true. When i used the wait property method with the windows object as below it worked.
Window("Flight Reservation").WaitProperty "enabled","true",20000
Thanks,
Rahul
1) we can use it with If.. Then( at least i think so.
2) Even without If.. Then it is not working.
I have also given the default timeout . Still it does not seem to be working. It is however working fine with wait(10) property. It sounds funny i dont think i have done wnything wrong. You guys can try it locally and see if this is working or if i am going wrong some where.
Thanks-
Rahul.
I have just found the answer to this.
The reason why this was not working is that the enable property for button is always true. When i used the wait property method with the windows object as below it worked.
Window("Flight Reservation").WaitProperty "enabled","true",20000
Thanks,
Rahul