It seems to be something related to UI.Vision RPA 6.1.2 itself.
I run macro in a loop and I use the verifyElementPresent to see, if a specific textbox has loaded on the page and if it hasn’t it waits for 25 sec and tries to verify it again.
The anomaly is that the element is always loaded but some times, and it is during random loop, RPA can’t find the element even though it is present. It can happen during 3rd loop or during 81st.
When I pause the macro, refresh the page itself and let it run again it STILL can’t find the element. If I close the window, open a new tab… it STILL can’t pind the element. If I ctrl+shift+r it still can’t find the element.
The only thing that helps is when I fully stop the Vision RPA and then run it from the same loop round again. Then everything works again.
This makes me to believe that the problem is with the UI. Vision RPA chrome plugin itself.
How can I fix it? Is there a code that I can insert that automatically stops the macro and restarts it from the same loop cycle?
Any ways to avoid this situation from happening… why does it occur?
Thanks!