Page 1 sur 1

just go back to the beginning?

Posté : ven. 3 août 2018 09:35
par spadekevin
Hello,

I've finished up an automation task that runs my Windows app and enters data and clicks the mouse to accomplish my tasks. It works great... until something "random" causes the expected prompt to literally not show up. The software can run for hours and then all of a sudden it just sort of loses where it is. At that point I have to stop the script and rerun it. I have to kill the application and starts from scratch.

Wintask does pop up a box explaining the the ui element was not found. How can I process any error to just either restart the script as though it had never run, or just go back to the beginning?

Please help.

I didn't find the right solution from the internet.

References:
https://bit.ly/2AADidg
Content Management System Video

Thank you.