Why is it necessary to provide a configutaion in sikuli scripts like 1920x1080? And is it mandatory to provide 1920x1080 configutaion only ? Can we provide some other configuration for new scripts in our existing code where some scripts are designed using 1920x1080 ?
Asked
Active
Viewed 330 times
0
-
1Please provide more details. What configuration are you referring to? You do not need to provide any mandatory resolution configuration. – Eugene S Feb 04 '21 at 12:01
-
When we write a sikuli script along with Selenium in a tool like Eclipse where image-recognition and comparison is required we save the screenshots of the images from which we want to compare (expected image) to the current image (actual image). And we provide the configuration of the system like 1920 x 1080 of the expected image and when before we run the script, system with configuration 1920 x 1080 has to be set. else image comparison will fail. – aish kapoor Apr 12 '21 at 12:48
1 Answers
1
Hope you are talking about SikuliX version 2.0.4 (latest stable).
There is never any need to specify screen dimensions, since they are evaluated automatically behind the scenes.
Might be, that I do not really understand, what you are talking about.
RaiMan from SikuliX

RaiMan
- 1,088
- 8
- 13
-
When we write a sikuli script along with Selenium in a tool like Eclipse where image-recognition and comparison is required we save the screenshots of the images from which we want to compare (expected image) to the current image (actual image). And we provide the configuration of the system like 1920 x 1080 of the expected image and when before we run the script, system with configuration 1920 x 1080 has to be set. else image comparison will fail. – aish kapoor Apr 12 '21 at 12:48
-
Yes you are right @aish kapoor. We always need to provide system display resolution to 1920x1080 and size of text as 100% along with the browser zoom level as 100%. Otherwise scripts got failed. – Jitendra Dec 27 '21 at 11:30