← Back to team overview

sikuli-driver team mailing list archive

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

 

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) != null) {
			System.out.println("Screenshot matches baseline.");
		}
			else {
				System.out.println("Screenshot does not match baseline.");
		}

I thought it would see if screen exists, if so, then check to see if image6(which is my Expected output) is on the screen(with 95% similarity, being 95% same pixels).

I am unable to get the results I require , such as comparing a screenshot to a screenshot when I know both are exactly the same(I even put 95% similar).

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