Solved
Forum Discussion
groovyguy
Champion Level 1
I am glad you got it working! I assumed it was at the test suite level which was bad on my part.
PrakashKannan
7 years agoContributor
I too missed to provide that information. Thanks!
Try this:
testSuite.project.getTestSuiteList().each { def tcList=it.getTestCaseList() tcList.each { log.info(it.getName()); if(it.getName().contains("B")) { it.disabled=true; } } }
I am glad you got it working! I assumed it was at the test suite level which was bad on my part.
I too missed to provide that information. Thanks!