Forum Discussion

nedbacan's avatar
nedbacan
Frequent Contributor
4 years ago

Waiting for Button to be enabled

Hello.  I am new to TestComplete and would like to ask if someone can help.   I need to wait for this button to becomes enable so I can move on, the enabled time varies on the button but no longer ...
  • tphillips's avatar
    4 years ago

    That almost looks right, you just need to set "button" to the button object (not its "Enabled" property):

    var button = Aliases.browser.pageExam.buttonOn;