What happens when I change the theme / display settings for OS.

Asked by lamirap

If a sikuli script is recorded and played back immediately it works fine. Also if the icons are relocated on the desktop, still it works fine, however if I change the theme or colors or resolution, how will it work? Is is information also stored so that any change can be accounted for in the tolerance.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tsung-Hsiang Chang (vgod) said :
#1

Changing theme would likely fail a sikuli script.
Color and resolution changes do not matter.

Revision history for this message
Anshu (anshu-ca) said :
#2

resolution changes does matter too...
(as well the theme changes)

Revision history for this message
Suket Somani (suketsomani) said :
#3

I am integrating Sikuli with selenium. When I run the script on my machine it works like a charm. But when I am trying to run the same script on other machine WITH OTHER DISPLAY THEME, the script fails (ofcourse, because the color of the screenshot that I captured do not match with the theme on the other machine).

So, I was wondering if there is any other way to ignore the theme/color changes in the OS?

Revision history for this message
RaiMan (raimund-hocke) said :
#4

@ Suket
currently only if it is possible for you, to restrict the captured visuals to the region, that is identical in both themes.

There is a request bug, that wants a feature, to ignore a background color (make it "transparent"). This would help in some situations like that ( bug 673995 )

Revision history for this message
Suket Somani (suketsomani) said :
#5

Raimund,

Thanks for the update. Also, as u mentioned I was wondering when will this be available in the sikuli as a feature, I mean which relase?

Revision history for this message
RaiMan (raimund-hocke) said :
#6

@Suket

I have no idea what the plans of the developers are according this feature, sorry. we have to wait.

Can you help with this problem?

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

To post a message you must log in.