Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-14 Thread Justin Veerman
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Status: Answered => Solved Justin Veerman confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Dr

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-14 Thread RaiMan
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 RaiMan proposed the following answer: @Justin Ok, understood. So if you are more the type "programming-by-example", then the docs of Sikuli currently do not have much for Java. Here I fully agree with Eugene

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Justin Veerman
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: I understand. I just meant that having a start to finish example(a simple use-case) showing how Java/Selenium/Sikuli integrate with each other would be helpful. I tried to

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Eugene Maslov
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Eugene Maslov posted a new comment: Justin, the magic help tool is Google. If a problem is solvable, Sikuli examples are usually present in the web, e.g. "sikuli java exists image not found", or a similar phr

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Justin Veerman
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: I did look at the docs but I couldn't figure out(before) how to write the commands in Java. I don't know where to find the format for Match within the docs, I am sure ther

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread RaiMan
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 RaiMan proposed the following answer: @Justin already had a look into the docs? http://sikulix-2014.readthedocs.org/en/latest/index.html or the javadocs: http://nightly.sikuli.de/docs/index.html -- You rec

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Justin Veerman
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: This did solve my issue, but I am curious why the 1 was needed. I don't really know what the 1 is referring to. -- You received this question notification because you ar

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-11 Thread RaiMan
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 RaiMan proposed the following answer: not knowing, what type image6 has, this is needed to add a wanted similarity score (as seen in Eugene's comment): Match found = screen.exists(new Pattern(image6).similar

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-10 Thread Justin Veerman
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: Hi Eugene, Thanks for the response, however I am still a bit confused. What is this code doing? Why is 95 wrong if you included it in your response? Is it right that foun

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-10 Thread Eugene Maslov
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Status: Open => Answered Eugene Maslov proposed the following answer: 95 is wrong. found=reg.exists(Pattern("myimage.png").similar(0.95),1) if found: print "match" else: print "no match" -- Yo

[Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-09 Thread Justin Veerman
New question #269065 on Sikuli: https://answers.launchpad.net/sikuli/+question/269065 I am simply trying to compare my Expected output screenshot to the Actual output screenshot after running a test. The following is what I am trying to use: if (screen.exists(image6.similar(95), timeout) != nul

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-09 Thread Justin Veerman
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: Also, I just want to make note of how difficult it was to find some example code. Comparing a screenshot to expected output, I would think, is a common problem for testing