Certain screenshots not recognized when passed between testers

Asked by Peter O'Keefe

We have a team of four QA testers authoring our Sikuli scripts.

In general, we have no problem passing the scripts from one tester to another- the scripts authored by one user work on another's computer, the screenshots taken by one person work for everyone else.

We ARE running into challenges with screenshots of our dropdown menus, though. The patterns are very basic- one line of copy in a dropdown- or more complex- screenshot of the entire dropdown, with the desired item targeted with Target Offset.

With both the simple and complex versions of the patterns, the click(dropdown_screenshot) commands work fine on our local computers, BUT the patterns are unrecognized on each other's (matching tolerances need to be dropped to 30-50% to get a match).

Additional info:
- Some testers snapped their dropdown selection screenshots directly from the webpage
- Some testers first captured the dropdown content with Snaggit, and then Sikuli-screenshot the Snaggit image
- All dropdown selection screenshots retained their default image name
- All monitor resolutions and sizes are the same
- If one tester pastes their dropdown selection screenshot into another user's script, the script passes as expected
- All other screenshots are working fine across users

Thanks for any insight or advice! Not sure if this is a defect, or user error, or what- though user error on our behalf is the most likely culprit :)

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Peter O'Keefe
Solved:
Last query:
Last reply:
Revision history for this message
Karl (k-d) said :
#1

Rendering can be different across machines, but also copies or originals change/lose originality/similarity. Keep your process one layer of capturing -- put your Snaggit captures into the .sikuli folders. Using "Insert image" is the way to get externally captured images into the IDE (Enhancement Request: Drag/drop would be nice to facilitate this).

Revision history for this message
Peter O'Keefe (peter-c-okeefe) said :
#2

Thanks, Karl! That was the issue, and reducing the number of captures made the difference.