sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12839
Re: [Question #207285]: image comparison fails
Question #207285 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207285
Status: Open => Answered
dinev proposed the following answer:
I just done simple test on https://launchpad.net/sikuli with to see how
recorded image is recognized. it works fine with exception that it is
relatively slow on my 21" widescreen.
But in general i think the approach of validating if web site is loaded
is not correct. I would suggest following
-- On the site homepage take 2 - 3 major elements that should be
present. They may be ones that you will use afterwards anyway. Search
for them
-- Copy the whole content of the page by clicking in the middle and
doing ctrl-a-c. The using the power of python check that some expected
texts are there and some unexpected are not there(like "exception" and
"error")
I believe that above approach is more reliable since it will tolerate
significant changes in website layout.
Hope this helps
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.