While using the TestLink APIConst values below, the xml-rpc call produced an Exception. No report was printed for the corresponding Test case
testlinkResult = TestLinkAPIResults.TEST_DEPARTED;
testlinkResult = TestLinkAPIResults.TEST_WRONG;
calling reportTCResult() with either of those status codes produced the following Exceptions
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}
when i used TEST_PASSED
,TEST_FAILED
, results were printed successfully. My question is why do the TEST_DEPARTED
and TEST_WRONG
fail?
Testing Framework : TestNG with Selenum Webdriver & Java
let me know if any changes or information about config files etc are required.
with help of Richard, need to update the following files in Testlink
cfg/const.inc.php
in the above file will update the following
$tlCfg->results['status_label']
$tlCfg->results['status_label_for_exec_ui']
$tlCfg->results['charts']['status_colour']
add all the newly introduced status should be added
locale/en_gb /string.txt
Status (used wide)