Error management

Hello, I have script. While executing image doctor appears if eggplant unable to find image, but what I require is, script should continue to next step,. How can I do this?
Kindly Help urgently!!! :?

Then you should need to turn image doctor off, so when the scripts should reach that point, it finds the image it will go to the next next. if not, it will throw you an error message and stop.

to turn it off you can do
Run then Image doctor, then click on doctor off.

Hope I’ve answered your question and this can help.

I have tried with turn off the image doctor.

If some error on the script , it display an error.

What i require is, how to avoid script failure?

if the error persists, the script should not stop at the point.

How can i do this?

If you want to look for an image on the screen and take an action (such as click on it) if it is there, but continue if it’s not there, then use the imageFound() function to look for it. This will just return false instead of throwing an exception if the image isn’t found.

if imageFound("someImage") then
    click foundImageLocation() -- click it if it's there
else
    logWarning "someImage was not found" -- log if it's not there
end if
-- script will continue at this point in either case

Is that what you are looking for?