How to detect one object in slightly different background color

Asked by HuyNguyen

Hi All,

I got an issue that my Sikuli sript can detect object of text in one Win7 laptop but cannot in other Win7 PC . I see that the background color of the object is slight different between these 2 machines. Actually, in Win7 laptop, the background color is more blue while in Win7 PC it is more gray. (Can it be because of display hardware difference between 2 machines?)
Normally I use the laptop to develop scripts and then run automation test on PC so that issue blocks my script from running successfully now.
I confirm that both machines use the same theme color in Win7 Color Setting (which is Sky color)

Can we have a method to have Sikuli able to detect text objects on slightly different background color (like unify background color or something like that)?

Working evinronment:
 - 64-bit Win7 Professional on both machines
 - Sikuli 1.1.1

Thanks,
HuyK

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Roman Podolyan (podolyan-roman) said :
#1

When our team had alike problems (images from our notebooks did not match images from virtual machine tests run on), one of the solutions was to establish VNC connection between two machines, and to use in tests images captured using VNC.

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.