Rafalu
5 years agoNew Contributor
Teardown report getting wrong TC status
Hi All, I am using ReadyAPI 3.0.0 writing automated tests that will be executed on free SoapUI 5.5. I used teardown script found online to make kind of report from test execution however it seems...
- 5 years ago
Actually I found the reason. Script was made on old version of ReadAPI/Soap where cases has status FAILED, now it should be FAIL so following line should be modified
def getCaseResult(caseRunner, caseName) {
log.info "Checking test case status ${caseName}"
if ( caseRunner.status.toString() == 'FAIL' ){
log.error "Test case $caseName has failed"