Eclipse on Mac unable to find images
I've been able to successfully setup Sikuli to run in my Eclipse in Windows. Now I am trying it on a Mac and can't seem to get it to work. Any help would be appreciated.
The problem I am having is getting Eclipse on my Mac to find the image files. I can get it to launch applications using the App.open() function so I know it is working in general. To get the images I do the same as I do in windows. I just use the Sikuli-IDE to take snapshots of the images and then drill into the saved file to copy the image.png file to the folder that I want. However, Eclipse can't seem to find the image files on my Mac.
To give you an example I got a screenshot of the finder button and saved it in the Documents folder. This is my code:
@Test
public void testButton() throws FindFailed {
s.click(
}
This works perfectly in Windows (with the right path and image) but in Mac I get the following error:
FindFailed: can not find /Documents/
Line ?, in File ?
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at Test_General_
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Vince
- Solved:
- Last query:
- Last reply: