678
6 years agoRegular Contributor
How to Get Total Test Cases count and Execution Time taken on Project from Project Teardown
How can i get from Project Teardown
1) Total Test Cases Count which is Enabled only not disabled
2) Total Time taken for execution
- 6 years ago
Hi 678
1) I think this topic will be useful for you: https://community.smartbear.com/t5/SoapUI-Open-Source/How-to-find-a-test-step-is-enabled-or-disabled/td-p/34866
Integer counter = 0 project.testSuiteList.each { it.testCaseList.each { if (it.disabled == false) { counter = counter + 1 } } } log.info counter.toString()
2) You can use this command: runner.getTimeTaken()