← Back to team overview

sikuli-driver team mailing list archive

[Question #251932]: How to stop my script when ever a target appears

 

New question #251932 on Sikuli:
https://answers.launchpad.net/sikuli/+question/251932

I am trying to test an installation process. Basically my code runs through the whole installation process. What i want is that when ever an error message pops out , i want to stop the whole process and take a screen shot of that error page. But since i will need to do that for every single step, i don't know how i can do that. Seems like i will have to put an if statement after every page shift, which is a bit too much. Is there any simple way?
 

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.