sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27074
Re: [Question #251644]: Java, JUnit
Question #251644 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251644
Status: Answered => Solved
necips confirmed that the question is solved:
public static void main(String[] args) {
// GUI-JUNIT : don't works with sikulix - not know why
// junit.swingui.TestRunner.run(JavaApplication_SikuliTest.class);
// but this way works fine :
junit.textui.TestRunner.run(JavaApplication_SikuliTest.class);
}
thank you again to keep me on track! ^^
log:
run:
.[debug] Screen: initScreens: basic initialization (2 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1920x1080]
[debug] Screen 1: S(1)[1920,0 1920x1080]
[debug] *** end monitor configuration ***
[debug] waiting for P(imgs/MenueKunden.png) S: 0.7 to appear
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1920,height=1080]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1920,height=1080]
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013135849
[debug] ResourceLoaderBasic: check: we are running on arch: amd64
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jdk1.8.0_05/jre/
[debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: C:/UsersNB/adecc/CamIS/Test/Sikuli.Tests/StarSell.Sikuli.NetBeans.JUnit.Tests/JavaApplication_SikuliTest/src/
[debug] ResourceLoaderBasic: checkLibsDir: C:/UsersNB/adecc/CamIS/Test/Sikuli.Tests/StarSell.Sikuli.NetBeans.JUnit.Tests/JavaApplication_SikuliTest/src/libs
[debug] ResourceLoaderBasic: loadLib: WinUtil
[debug] ResourceLoaderBasic: loadLib: Found: WinUtil
[debug] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: C:\UsersNB\adecc\CamIS\Test\Sikuli.Tests\StarSell.Sikuli.NetBeans.JUnit.Tests\JavaApplication_SikuliTest\src\libs
[debug] ResourceLoaderBasic: check: Using this as OCR directory (tessdata) too
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
[debug] ImageLocator: found imgs/MenueKunden.png in C:\UsersNB\adecc\CamIS\Test\Sikuli.Tests\StarSell.Sikuli.NetBeans.JUnit.Tests\JavaApplication_SikuliTest
[debug] ImageLocator: found imgs/MenueKunden.png in C:\UsersNB\adecc\CamIS\Test\Sikuli.Tests\StarSell.Sikuli.NetBeans.JUnit.Tests\JavaApplication_SikuliTest
[debug] P(imgs/MenueKunden.png) S: 0.7 has appeared.
[log] CLICK on L(86,651)@S(0)[0,0 1920x1080] <<<<<<<<<<<<<<<<<<<<<<<<< OK
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.