Solved
Forum Discussion
PrakashKannan
8 years agoContributor
Thanks but when I run it says 'can not get property 'testSuite' on null object.
groovyguy
8 years agoCommunity Hero
Where are you running the script from?
Try this:
testSuite.project.getTestSuiteList().each
{
def tcList=it.getTestCaseList()
tcList.each
{
log.info(it.getName());
if(it.getName().contains("B"))
{
it.disabled=true;
}
}
}Thanks but when I run it says 'can not get property 'testSuite' on null object.
Where are you running the script from?