Wait for Button to be Clickable

Before running into an XY Problem, lets focus back on the button.

As far we have understood you would like to let them bot wait till next (weiter) is activated.

So in a first analysis we would recommend to check if there is a button element attribute (use UiExplorer) that is triggering the active /enabled state

Unfortunately we missed that for some Applications in the past, but always good to check.

As Plan B we can think about:

  • reaction on text . We do see in Bearbeitung maybe someting like Abgeschlossen etc will be available once the work is done and also weiter button is activated. So we can sync the bot on this e.g. with the retry scope activity.

or

check loop: as clicking on the inactive weiter button will not harm so we can make a custom retry scope and

  • click in intervals on the weiter button
  • check if you detect something typical from next dialog step screen
  • repeat clicking or stop the custom retry scope