Error! 'if ($testNgXslt.testDetailsFilter) then $testNgXslt.testDetailsFilter else 'FAIL,PASS,SKIP''

Buildfile: D:\develop\0822TestAuto\TestAutomation\build.xml
setClassPath:
init:
runTestNG:
     [echo] Running testng......
   [testng] [TestNG] Running:
   [testng]   D:\develop\0822TestAuto\TestAutomation\src\TestNG.xml
   [testng] yes,it's test1!!!
   [testng] yes,it's test2!!
   [testng] ===============================================
   [testng] Suite
   [testng] Total tests run: 1, Failures: 0, Skips: 0
   [testng] ===============================================
mail:
     [xslt] Processing D:\develop\0822TestAuto\TestAutomation\test-output\testng-results.xml to D:\develop\0822TestAuto\TestAutomation\test-output\index.html
     [xslt] Loading stylesheet D:\develop\0822TestAuto\TestAutomation\test-output\testng-results.xsl
     [xslt] : Error! 'if ($testNgXslt.testDetailsFilter) then $testNgXslt.testDetailsFilter else 'FAIL,PASS,SKIP'' 中的语法错误。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 22: 对 XPath 表达式 'if ($testNgXslt.testDetailsFilter) then $testNgXslt.testDetailsFilter else 'FAIL,PASS,SKIP'' 进行语法分析时出错。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 22: 缺少所需属性 'select'。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 13: <xsl:output> 元素的 method 属性具有值 'xhtml'。该值必须是 'xml', 'html', 'text' 或 qname-but-not-ncname 之一
     [xslt] : Error! 'if (suite/@url) then document(suite/@url)/suite else suite' 中的语法错误。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 227: 对 XPath 表达式 'if (suite/@url) then document(suite/@url)/suite else suite' 进行语法分析时出错。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 227: 缺少所需属性 'select'。
     [xslt] : Error! 'if (test/@url) then document(test/@url)/test else test' 中的语法错误。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 516: 对 XPath 表达式 'if (test/@url) then document(test/@url)/test else test' 进行语法分析时出错。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 516: 缺少所需属性 'select'。
     [xslt] : Error! 'if (compare($sortByStartTime, 'true') = 0) then @started-at else ''' 中的语法错误。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 725: 对 XPath 表达式 'if (compare($sortByStartTime, 'true') = 0) then @started-at else ''' 进行语法分析时出错。
     [xslt] : Error! 'if (compare($testNgXslt.sortTestCaseLinks, 'true') = 0) then @name else ''' 中的语法错误。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 842: 对 XPath 表达式 'if (compare($testNgXslt.sortTestCaseLinks, 'true') = 0) then @name else ''' 进行语法分析时出错。
     [xslt] : Error! 'null' 中的语法错误。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 846: 对 XPath 表达式 'null' 进行语法分析时出错。
     [xslt] : Error! 'if ($totalCount > 0) then format-number($passedCount div $totalCount, '###%') else '100%'' 中的语法错误。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 932: 对 XPath 表达式 'if ($totalCount > 0) then format-number($passedCount div $totalCount, '###%') else '100%'' 进行语法分析时出错。
     [xslt] : Error! file:/D:/develop/0822TestAuto/TestAutomation/test-output/testng-results.xsl: line 932: 缺少所需属性 'select'。
     [xslt] : Fatal Error! 无法编译样式表
     [xslt] Failed to process D:\develop\0822TestAuto\TestAutomation\test-output\testng-results.xml


BUILD FAILED
D:\develop\0822TestAuto\TestAutomation\build.xml:12: The following error occurred while executing this line:
D:\develop\0822TestAuto\TestAutomation\build.xml:27: The following error occurred while executing this line:
D:\develop\0822TestAuto\TestAutomation\build.xml:33: Fatal error during transformation


Total time: 2 seconds
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值