sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13179
[Bug 1051314] Re: Can't use test created on mac on a windooze machine
The images that are used to search (like your button image) must be the
same pixel by pixel, when used to find them on the screen at runtime
(roughly spoken - slight differences of some pixels in the same position
regarding brightness/colors lead to lower similarity).
In your case, the button, looking at the pixel level , looks very
different on actual OS X's and Windows.
So usually you need different image sets for different systems as long
as these systems differ in the rendering of visual objects to the
screen.
The same goes for differences in the rendering of different browsers.
But the case "from Mac to Mac with same look and feel" should not happen
(different screen resolution/aspect ratio with effect on rendering?).
Usually in these cases, when I help people to find out the problem, I
ask them to make the same captures on the different systems/browsers and
just look at these pictures on the pixel level (magnified accordingly)
using a picture preview tool . Usually there will be differences, that
are not obvious for the human, but vital for Sikuli.
Conclusion:
This is not a bug, but an inconvenience by design (I do not think, that this will be solved in the near future).
** Changed in: sikuli
Status: New => Confirmed
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1051314
Title:
Can't use test created on mac on a windooze machine
Status in Sikuli:
Confirmed
Bug description:
We have a java gui application that we are trying to make sure works
on both Windows and Macs. I create a simple test in Sikuli on the
mac. I give it to my co-worker who is testing on a Windooze machine.
The test immediately fails as Sikuli on widooze cannot locate the
first button.
It would then appear that If I created a test on one mac and tried to
run it on another that has their look and feel different, it would
fail also.
Does this mean that tests can only be run on the same machine that
created them?
JOhn
X-1.0r3
Mac OS X Lion 10.7.4, 64 bit
Create test on Mac, save sikuli file, send sikuli file to Windooze user along with java app we are tesing.
Run test.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1051314/+subscriptions
References