← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204913]: What happens when the X & Y co ordinates changes in the application

 

Question #204913 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204913

    Status: Open => Answered

Roman Podolyan proposed the following answer:
> 1) Is there a solution to recognize the objects, when X Y co ordintes
gets changed?

Sikuli is visual search/recognition tool. It finds visual objects even
if their coordinates get changed. Try experiment with "hover" or "click"
a bit, moving some visual button.

Look here, for example -
http://3.bp.blogspot.com/-javapqYyQ14/TeuXSdZsBcI/AAAAAAAAAkA/9GI0GwbDp7I/s1600/Sikuli.png

See that? Image-based clicking, not coordinates-based.


> Is there a way to get the properties of the objects using Sikuli?, so that even X Y values gets changed, selenium can still recognize the object.

You can click objects, but AFAIR you can't get their properties, Sikuli
doesn't have interfaces to objects like WebDriver does.

But Sikuli and Selenium can be used together -
http://www.8bitavenue.com/2012/04/sikuli-selenium-robot-framework-
integration/#

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.