Find a UI element with Sikulix

Asked by Kamil

Can I somehow find a button in user interface by Sikulix? Not by picture of button. I want to find a path to this button because if someone change a graphics of this button I want my test can find this button.

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
RaiMan (raimund-hocke) said :
#1

No, Sikuli(X) is only about pixels.

In such cases you have to restrict the shots to the part that is fixed.

Revision history for this message
Kamil (k-dobrogost) said :
#2

Maybe in JAVA or Python is some libary which allow me to get a position of button by his path?

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

--- allow me to get a position of button by his path?
... if you are talking about something comparable to Selenium/XPATH foe WebApps: nothing available as far as I know for desktop UI's as a library.

Can you help with this problem?

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

To post a message you must log in.