51Testing软件测试论坛

标题: Jenkins+ant+selenium持续集成的一些问题 [打印本页]

作者: lvsong741    时间: 2018-1-9 16:42
标题: Jenkins+ant+selenium持续集成的一些问题
请问大神们。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.xsldetect.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.xslBUILD SUCCESSFULTotal time: 7 secondsExtended Email Publisher is currently disabled in project settingsFinished: SUCCESS

作者: lvsong741    时间: 2018-1-9 16:47
有大神在线吗
作者: 梦想家    时间: 2018-5-14 17:28

作者: 二十一笔画2    时间: 2018-5-21 22:49
不会
作者: 码农Damon    时间: 2018-5-24 10:24
build.xml文件没配置好吧




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2