I use “on element appear” to have the robot wait for a reply in a chatbox on a webpage, it registers the reply, retrieves the text in the reply. that part works great. The issue comes on the second “on element appear”, I use it to wait for a icon to appear to close the chat. Ui registers the icon, performs the do, clicking the close button, but then it goes out to wait for the element to appear again. So it waits, finds what it is waiting for, performs the do and tries to wait again until it fails because of the try catch which is surrounding it.
Any good ideas on why it goes into the action, and goes out to try performing it again?
I’m waiting for a “close” button to appear, and then clicking the button when it appears and the chat closes. but the robot is checking again after it has performed the do.
What do you mean with it checks twice? It clicks twice or it validates the selector twice? Clicking twice is as HareeshMR mentioned due to the activity in your Exceptioncatch.
it validates twice, it waits for the element to appear, then performs the actions, but then in loops and waits for the element to appear again but then breaks down and performs the catch.
It looks like the Property “RepeatForever” is not working