Ask a Question

to get status of testcase at project level,testcases level in tearscript

niravk17
Occasional Contributor

to get status of testcase at project level,testcases level in tearscript

how to get status of testcase at project level,testcases level in tearscript to know teststep fail or pass status  ? do i need to import any library?

1 REPLY 1
GillerM
Staff

You can get the status in the teardown as:

 

for ( testCaseResult in runner.results ){
log.info testCaseResult.getStatus().toString()
}

You can see an example here - https://www.soapui.org/scripting-properties/tips-tricks.html#8-2-Logging-the-result-messages-of-all-...

cancel
Showing results for 
Search instead for 
Did you mean: