Help with error handling
Posted: Tue Apr 17, 2018 2:35 pm
Hello,
I am putting together a task, and having some trouble as im not too familiar with the software.
I included the log below, basically what happens is that the part before the error "wait for window", its attempting to connect to a VNC server, and next step would be to enter password. What I want to do is add an IF statement saying if this errors happens then run this task. I tried to add the error handling task to the advanced tab but it basically run on any error thrown, and I only want it to run on this error.
I: 4/17/2018 6:23:54 AM: Executing "18.Run "VNC-Viewer-6.1.0-Windows-64bit.exe ""
I: 4/17/2018 6:23:54 AM: Executing "19.Wait For Window"
I: 4/17/2018 6:23:54 AM: Executing "20.Move To An Object"
I: 4/17/2018 6:23:54 AM: Executing "21.Double click left button"
I: 4/17/2018 6:23:54 AM: Executing "22.Wait For Window"
E: 4/17/2018 6:24:09 AM: Timeout is over
E: 4/17/2018 6:24:09 AM: An error occurred. Step #22 (Wait For Window).
E: 4/17/2018 6:24:09 AM: Task execution is aborted
I am putting together a task, and having some trouble as im not too familiar with the software.
I included the log below, basically what happens is that the part before the error "wait for window", its attempting to connect to a VNC server, and next step would be to enter password. What I want to do is add an IF statement saying if this errors happens then run this task. I tried to add the error handling task to the advanced tab but it basically run on any error thrown, and I only want it to run on this error.
I: 4/17/2018 6:23:54 AM: Executing "18.Run "VNC-Viewer-6.1.0-Windows-64bit.exe ""
I: 4/17/2018 6:23:54 AM: Executing "19.Wait For Window"
I: 4/17/2018 6:23:54 AM: Executing "20.Move To An Object"
I: 4/17/2018 6:23:54 AM: Executing "21.Double click left button"
I: 4/17/2018 6:23:54 AM: Executing "22.Wait For Window"
E: 4/17/2018 6:24:09 AM: Timeout is over
E: 4/17/2018 6:24:09 AM: An error occurred. Step #22 (Wait For Window).
E: 4/17/2018 6:24:09 AM: Task execution is aborted