Forum Discussion
- SmartBear_SuppoSmartBear Alumni (Retired)You could just run this Groovy code:
log.info testRunner.testCase.getTestStepByName("Test Step Name").disabled
Thanks,
Michael Giller
SmartBear Software - SiKingCommunity Expert
project.testSuiteList.each {
it.testCaseList.each {
if (it.disabled) log.info "Disabled testCase: ${it.name}"
it.testStepList.each {
if (it.disabled) log.info "Disabled testStep: ${it.name}"
}
}
} - SiKingCommunity ExpertThe way I solved this problem is to use Composite Project http://www.soapui.org/Working-with-Proj ... pport.html and then grep through the entire thing for the word "disabled".
I also filed an enhancement request with SmartBear to be able to search for exactly this kind of information, but I am pretty sure it gets a pretty low priority. - ManimaranOccasional ContributorThank you. I am able to use the above code and get what i need.
Related Content
- 7 years ago
- 8 years ago