Is it possible to click on non rectangle shaped images?

Asked by DenisD

Hi guys!

I'm doing testing of one difficult system that contains too many objects on the screen and sometimes it is very difficult to take a rectangle-shaped pic that will differs from the others. Could you kindly advise me if it's possible to prepare a non-standard shaped pictures and say sikuli where exactly it should click?

For example,

|-----------------|
|------------......|
...............|......|
...............|......|
...............|--X-|

I tried to show a L-shaped picture, where dots are empty space and X is the dot where sikuli should click.
Thanks!

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
Eugene S (shragovich) said :
#1

Hi,

Currently it is impossible.

You can try to combine multiple patterns however to fit your case.
For example if you could check whether a specific rectangular pattern exists on the right from other specific pattern. This way you might be able to cover a more complex cases.

Can you help with this problem?

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

To post a message you must log in.