sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28446
[Question #254984]: Facing issue while using SIKULI with Eclipse in mAC
New question #254984 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254984
HI ...
I am trying to click on a button using Sikuli for the first time .I am using Selenium + WebDriver +TestNG+Eclipse(Java ). Till now I have done the below setUP for SIKULI:
1.Placed the Sikuli IDE in the applications folder .
2.Put the sikuli jar file in the Built path . I have placed my .jar file n the desktop. (This jar file is the same what i am using for Windows .I am able to use Sikuli successfully on Windows machine.)
I am doing these for MAC OSX 10.9.
I am getting the below error message:
java.io.IOException: Unable to find library META-INF/lib/libVisionProxy.dylib on classpath
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:127)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
at org.sikuli.script.Finder.<clinit>(Finder.java:33)
at org.sikuli.script.Region.doFind(Region.java:1034)
at org.sikuli.script.Region$RepeatableFind.run(Region.java:1237)
at org.sikuli.script.Region$Repeatable.repeat(Region.java:1208)
at org.sikuli.script.Region.wait(Region.java:498)
at com.emn.automation.test_mobileiOS.Friends.displayFriendsTest(Friends.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Failed to load VisionProxy.
java.io.IOException: Unable to find library META-INF/lib/libVisionProxy.dylib on classpath
Sep 25, 2014 10:23:47 AM com.emn.automation.commonlib.CoreActions checkElement
INFO: TimeOut waiting for xpath=//UIAApplication[1]/UIAWindow[1]/UIATableView[2]/UIASearchBar[1] 1 Seconds
Sep 25, 2014 10:23:47 AM com.emn.automation.test_mobileiOS.Friends searchFriendTest
INFO: FAILED : Search Friend Text Box is NOT displayed successfully.
Sep 25, 2014 10:23:49 AM com.emn.automation.commonlib.CoreActions checkElement
INFO: name=createnote add icon is successfully displayed on the screen
Sep 25, 2014 10:23:49 AM com.emn.automation.test_mobileiOS.Friends addFriendTest
INFO: PASSED : Add Friend Button is displayed successfully
Sep 25, 2014 10:23:50 AM com.emn.automation.commonlib.CoreActions setValue
INFO: Click operation is performed successfully on the locator : name=createnote add icon
Sep 25, 2014 10:23:52 AM com.emn.automation.commonlib.CoreActions checkElement
INFO: xpath=//UIAApplication[1]/UIAWindow[1]/UIATextField[1] is successfully displayed on the screen
Sep 25, 2014 10:23:52 AM com.emn.automation.test_mobileiOS.Friends addFriendTest
INFO: PASSED : Invite Friend Pop Up is displayed successfully
Sep 25, 2014 10:23:53 AM com.emn.automation.commonlib.CoreActions setValue
INFO: Click operation is performed successfully on the locator : xpath=//UIAApplication[1]/UIAWindow[1]/UIATextField[1]
Sep 25, 2014 10:23:55 AM com.emn.automation.commonlib.CoreActions setValue
INFO: ABC@xxxxxxx : Value is set successfully for the locator : xpath=//UIAApplication[1]/UIAWindow[1]/UIATextField[1]
Sep 25, 2014 10:23:58 AM com.emn.automation.commonlib.CoreActions setValue
INFO: Click operation is performed successfully on the locator : name=Done
Sep 25, 2014 10:23:59 AM com.emn.automation.commonlib.CoreActions setValue
INFO: Click operation is performed successfully on the locator : name=Send Invite
Sep 25, 2014 10:24:02 AM com.emn.automation.commonlib.CoreActions checkElement
INFO: xpath=//UIAApplication[1]/UIAWindow[1]/UIANavigationBar[1]/UIAStaticText[1] is successfully displayed on the screen
Sep 25, 2014 10:24:02 AM com.emn.automation.test_mobileiOS.Friends addFriendTest
INFO: Passed : Friend is added successfully
Passed :Friend is added successfully
PASSED: login
PASSED: addFriendTest
FAILED: displayFriendsTest
java.lang.UnsatisfiedLinkError: org.sikuli.script.natives.VisionProxyJNI.new_FindInput__SWIG_0()J
at org.sikuli.script.natives.VisionProxyJNI.new_FindInput__SWIG_0(Native Method)
at org.sikuli.script.natives.FindInput.<init>(FindInput.java:39)
at org.sikuli.script.Finder.<init>(Finder.java:26)
at org.sikuli.script.Region.doFind(Region.java:1034)
at org.sikuli.script.Region$RepeatableFind.run(Region.java:1237)
at org.sikuli.script.Region$Repeatable.repeat(Region.java:1208)
at org.sikuli.script.Region.wait(Region.java:498)
at com.emn.automation.test_mobileiOS.Friends.displayFriendsTest(Friends.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Please help on this.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.