Hi all,
Please see alto attachemnt but the need would be the following:
- I have a use-case when I need to press a button, and this button sometime exists and sometimes will not exists (dependnig on certain conditions)
- The problem is that the button will hide automaticall when certain conditions will happen, thus using an if statement to check if the object is present works perfectly in 95% of the cases.
- The bot will fail if e.g. the button will dissaper just after the if statement passed and the bot is calling the “Capture” command.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/28f0cb0d-583a-4eba-aa81-7690d6741f93.png)
Basically if the button is hidded in between “if” and “Capture command” my bot will fail/crash.
Any advice?
Many Thanks.