sikuli / sikuli-slides

Sikuli-Slides is a visual automation tool that enables users to automate and test Graphical User Interfaces (GUIs) using presentation slides.
MIT License
65 stars 35 forks source link

Receiving stacktrace for AutomationExecutorExceptionTest #36

Open jguglielmi opened 10 years ago

jguglielmi commented 10 years ago

The test case is not executing properly in a Windows 7 environment. After digging for a little bit, it appears that OpenCV is a pre-requiste for running these tests.

Exception in thread "Thread-60" java.lang.UnsatisfiedLinkError: no jniopencv_cor e in java.library.path

jguglielmi commented 10 years ago

OpenCV version 2.4.9

doubleshow commented 10 years ago

We've upgraded to a newer version of JavaCV. It now requires a parameter to be defined during MVN test to load the right binary for a particular platform. For instance,

mvn -Dtest=org.sikuli.slides.api.AutomationExecutorTest -Dplatform.dependency=macosx-x86_64 test

or for Windows 64 bits

mvn -Dtest=org.sikuli.slides.api.AutomationExecutorTest -Dplatform.dependency=windows-x86_64 test

Please try this and see if it works for you.

jguglielmi commented 10 years ago

Would it be possible to list this in the readme file? I had to do a bit of scouring for the solution on how to setup JavaCV and OpenCV. I figured save someone else the heartburn.