Forum Discussion

anatar02's avatar
anatar02
Contributor
14 years ago

How to wait and verify?

Hi all,



wanted to verify and wait until the expected text to load into the screen. so some one could please tell me which command i have to use it, i had tried with lots of the commands but did not feel that i am on the right way.



I have tried with below one and its always give a passed result even i give false or true.



Aliases["Admin"]["MainForm"]["ribbon"]["WaitProperty"]("StatusBar|Log Out",false,60000)



or

the below one is always giving the pass result even after giving the wrong text?



Aliases["Admin"]["MainForm"]["ribbon"]["WaitTextObject"]("StatusBar|Log Out") ;



wrong on



Aliases["Admin"]["MainForm"]["ribbon"]["WaitTextObject"]("StatusBar|Logjsxh") ;




1 Reply

  • sbkeenan's avatar
    sbkeenan
    Frequent Contributor
    Hi Ashok



    I think the issue might lie in the parameters you are supplying to the WaitProperty method.  It requires three parameters as follows:



        o The property name

        o The property value

        o A timeout value



    Your line:



        Aliases["Admin"]["MainForm"]["ribbon"]["WaitProperty"]("StatusBar|Log Out",false,60000)

     

    looks like it's passing some text rather than a property name.



    Hope this helps a little!!



    Regards

    Stephen.