在使用下面的TestLink APIConst值時,xml-rpc調用產生了一個異常。沒有報告打印的相應的測試用例帶有狀態碼問題的TestLink APIException
testlinkResult = TestLinkAPIResults.TEST_DEPARTED;
testlinkResult = TestLinkAPIResults.TEST_WRONG;
調用reportTCResult()與任一的那些狀態碼產生以下例外
The xml-rpc call to TestLink API method tl.reportTCResult failed.
Result[0] = {message=The status code (d) provided is not valid!, code=6000}
The xml-rpc call to TestLink API method tl.reportTCResult failed.
Result[0] = {message=The status code (w) provided is not valid!, code=6000}
當我用TEST_PASSED
,TEST_FAILED
,結果成功地打印。我的問題是爲什麼TEST_DEPARTED
和TEST_WRONG
失敗?
測試框架:TestNG和Selenum webdriver的&的Java
讓我知道如果需要有關config文件等任何更改或信息。
@Richard:謝謝,讓我們知道一旦得到了正面的結果 – Prabu 2015-02-09 13:30:50
沒問題 - 希望它有效(我目前還沒有一個Testlink服務器可以試用它,曾經使用它... ) – 2015-02-09 13:39:11