Its clicking on the bouton but after i have a error message that it couldnt find the user interface

It clicking on the bouton but after i have a error message that it couldnt find the user interface on excel

1 Like

U can try some workaround here

Enable continue on error so it won’t disturb your flow of bot

Alongside disable activate property and give a try

Try to recreate the same activity
Don’t change or modify any property in that click activity and while doing if needed enable continue on error alone and give a try

Cheers @Soudios

I can do that but if one day the issue is real how can i handle this

Have some validation before or post to that click activity

Use check app state or element exist activity and look for any element that appears after that click
Get the boolean and see whether it is try or false and then throw exception or then include this click activity based on that

Or

Surround your existing click with RETRY SCOPE without any activity in condition block
Just keep this click activity inside the action block and mention some number of retries
If on first try if fails it retries again to the number specified

To keep it even more safe surround this retry scope itself with a try catch activity because of retries passes the max number then it will throw exception. To catch that and throw exception or handle further of catch block, surround that retry scope with a try catch activity

Hope this helps

Cheers @Soudios

@Soudios

  1. First please show the selector you are using
    2.Did you add verify execution if so may be the verify is failing can you check the same?
  2. Use input method as Hardware and check if it works

cheers