您的位置:首页 > 大数据 > 人工智能

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

2013-09-13 17:45 316 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐