Find an image gives error
I am a newbie, and did not find an answer in forums. Using Windows 10 & 1.1.4 IDE, I double click my app icon, and another double click to launch it into the app where it displays some images.
- I took a screenshot of the app icon, added doubleClick()
- I took another screenshot of the area to double click to launch into the image display, added doubleClick() there too.
So far so good, launches as expected. Next,
- took a screenshot of the app and saved into the folder.
- next: match = "C:\SikuliX\
- returnMatch = find(match)
The screen capture png is roughly 2500 x 1400, and my screen is ultraHD (3480x2160). I read in one of the posts to have the screen capture smaller than the screen.
On the Run, it launches the app, but gives an error.
The error output is:
[log] DOUBLE CLICK on L[113,546]@S(0) (578 msec)
[log] DOUBLE CLICK on L[1276,616]@S(0) (575 msec)
[debug] Region: find: waiting 0 secs for C:/SikuliX/
[debug] Region: find: C:/SikuliX/
[debug] Region: handleFindFailed: C:\SikuliX\
[error] script [ pw1 ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\SikuliX\
at org.sikuli.
at java.base/
at java.base/
at java.base/
at java.base/
org.sikuli.
:/SikuliX/
Am I doing something wrong? I read the info on matching, and this seems like it should since the images are exactly the same except for resolution.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ed Chmiel
- Solved:
- Last query:
- Last reply: