Writing a judgment script based on screenshots

Asked by Sandy Mendoza on 2017-02-24

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):
     screen code here...
elif not exists(screenshot1.png):
     screenshot code here..

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

what is your question?

You need to learn some basic Python: tutorials in the net.

Be sure to use the version SikuliX 1.1.1 and carefully read the docs.

Can you help with this problem?

Provide an answer of your own, or ask Sandy Mendoza for more information if necessary.

To post a message you must log in.