|
请问大神们。Jenkins + ant +selenium构建后会启动浏览器吗?
这是构建完的信息。不知道是不是成功了。为什么没有启动浏览器。急急急求大神帮忙
[copy] Copying 3 files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build\conf
[copy] Copying 4 files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build\res
[copy] Copying 2 files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build\testdata
[javac] C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build.xml:66: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 29 source files to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\build
[javac] C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\src\com\business\Pc_LoginBusiness_New.java:25: 警告: JavaSecurityAccess是内部专用 API, 可能会在未来发行版中删除
[javac] import sun.misc.JavaSecurityAccess;
[javac] ^
[javac] 1 个警告
uiTestOnIE:
[testng] [TestNG] Running:
[testng] C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\testng.xml
[testng]
[testng] [SeleniumAutoConsole] INFO [main] com.util.DatabaseService.connectDBDriver(52) | Database connection established
[testng] [SeleniumAutoConsole] INFO [main] com.cases.TestBase.beforeClass(83) | Start to run test class com.cases.Pc_Test_New on driverType1
[testng]
[testng] ===============================================
[testng] Suite
[testng] Total tests run: 1, Failures: 0, Skips: 1
[testng] Configuration Failures: 1, Skips: 2
[testng] ===============================================
[testng]
[testng] The tests failed.
transform:
[xslt] Processing C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report\testng-results.xml to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report\index2.html
[xslt] Loading stylesheet C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\res\testng-results.xsl
detect.file:
uiTestOnIE2:
[testng] [TestNG] Running:
[testng] C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report\testng-failed.xml
[testng]
[testng] [SeleniumAutoConsole] INFO [main] com.util.DatabaseService.connectDBDriver(52) | Database connection established
[testng] [SeleniumAutoConsole] INFO [main] com.cases.TestBase.beforeClass(83) | Start to run test class com.cases.Pc_Test_New on driverType1
[testng]
[testng] ===============================================
[testng] Failed suite [Suite]
[testng] Total tests run: 1, Failures: 0, Skips: 1
[testng] Configuration Failures: 1, Skips: 2
[testng] ===============================================
[testng]
[testng] The tests failed.
transform2:
[xslt] Processing C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report2\testng-results.xml to C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\report2\index2.html
[xslt] Loading stylesheet C:\Program Files (x86)\Jenkins\workspace\PC_test\svn\repository\res\testng-results.xsl
BUILD SUCCESSFUL
Total time: 7 seconds
Sending e-mails to: lvsong@91sph.com
Extended Email Publisher is currently disabled in project settings
Finished: SUCCESS |
|