Forum Discussion

sanjayram's avatar
sanjayram
Contributor
2 years ago

How to make wait function based on object

Hi , 

 

        i want to wait test complete until a specific object visible on screen, which function may i use and how?

 

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Have a read through Waiting for an Object, Process or Window Activation. There's plenty of examples, choose the one that will fit your needs.

     

    To verify/wait for the property value, the Object must exists. For example,

    // Wait for dialog to disappear
    Aliases.panelDialogContainer.panelExtractInProgress.WaitProperty("VisibleOnScreen", "false", 30000);