Hi,
There are couple of steps you might need to check here in order to resolve this issue:
1) Try checking if the application is attached properly and try attaching to the application if not when using this specific stage. Many times in some web applications, the bot might get detached if the application container itself changes. Also, try providing the child index value when you are trying to attach to the same.
2) Add proper wait stage time to check if the page got fully loaded before trying to perform this operation. Many times if your bot is working at a very high speed this issue, the stage might be triggered before the element is actually available on the screen..
3) Check the application identifiers thoroughly if you have take an unique and dynamic set of identifiers which are constant in both production and dev environment. If your website URL is different sometimes chances are that the element properties might differ. We have faced this scenario before. If so you can make the element property dynamic and fetch the dynamic property value from some external file source or database (recommended) so that in future also, it is easier for you to change the selectors whenever required.
Do let me know if any of this step resolves your issue. Also, if possible please show the application attributes that you are considering while spying this element.
------------------------------
Regards,
Devneet Mohanty
Intelligent Automation Consultant
Blueprism 6x Certified Professional
Website:
https://devneet.github.io/Email: devneetmohanty07@gmail.com
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.