Solved
Forum Discussion
groovyguy
8 years agoCommunity Hero
I am glad you got it working! I assumed it was at the test suite level which was bad on my part.
PrakashKannan
8 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!