Forum Discussion
Buschfunk
13 years agoFrequent Contributor
I've found the following code line which gives me the status of the test case.
However the following does not work:
Nothing is written to the script log.
def result = testRunner.getStatus()
However the following does not work:
def result = testRunner.getStatus()
if (result == "FINISHED") {
log.info("Test passed")
} else {
log.info("Test not passed")
}
Nothing is written to the script log.
Related Content
- 7 years ago
- 6 years ago