Forum Discussion

CosiecPluck's avatar
CosiecPluck
Occasional Visitor
2 years ago
Solved

"waiting for object"

Hello

I am implementing a system for UI testing that will allow full modularity of our system.

When calling for an attribute of a map object - if the object is not on the screen, it enters a timeout with message "waiting for object". 

Is it possible to prevent the automatic wait period after calling object attribute\function from happening?

For example - I want SomeObject.Exists to return False immediatly in case it is not currently on the screen

Thank you.

  • lherry's avatar
    lherry
    2 years ago

    You also have this option, which is fundamental to your needs:

    If the option is checked (default state), TestComplete waits for the timeout set in your project, as presented by rraghvani, to ensure that no component becomes visible.

    If you don't want TestComplete to wait, simply uncheck this option, but beware of side effects

4 Replies