← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #482407]: Writing a judgment script based on screenshots

 

Question #482407 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/482407

Description changed to:
Hi Sir RaiMan!

Good day!

I just want to know how to write script  that will determine if the
captured pictures is Passed or Failed and put it to text file in Mac OS
.I hope you can help me with this.

Example flow.

if exists(screenshot1.png):
     wait()
     screen code here...
elif not exists(screenshot1.png):
     wait()
     screenshot code here..

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.