sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30824
[Question #263120]: Image found failed after moving Junit test case to another same PC
New question #263120 on Sikuli:
https://answers.launchpad.net/sikuli/+question/263120
I wrote a JUnit test case using sikulixapi.jar(get from sikulixsetup 1.1), however, when I let the case running on another same windows 7 client all the images cannot be found.
Below is the log:
[log] CLICK on L(109,252)@S(0)[0,0 1280x1024]
FindFailed: can not find delete2.PNG in S(0)[0,0 1280x1024]
Line 2106, in file Region.java
at org.sikuli.script.Region.handleFindFailedShowDialog(Region.java:2106)
at org.sikuli.script.Region.handleFindFailed(Region.java:2051)
at org.sikuli.script.Region.wait(Region.java:2249)
at org.sikuli.script.Region.find(Region.java:2122)
at org.sikuli.script.Region.getLocationFromTarget(Region.java:2718)
at org.sikuli.script.Region.click(Region.java:3188)
at org.sikuli.script.Region.click(Region.java:3173)
at Test.HiTest._AddDelIndex_iNorm_01(HiTest.java:36)
at Test.HiTest.test_AddDelIndex_iNorm_01(IndexTest.java:7)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
The two windows clients has the same monitor and the same resolution ratio.
Dose anyone else has encountered the issue?
Any help is appreciated.
Thx.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.