Ask a Question

disable / enable test suite via groovy

alibaba82
Super Contributor

disable / enable test suite via groovy

Hello,
I have a load script in my project. I want to do the following with my load script.

1. disable all the testsuites in project.
2. enable the test suite named 'xxxxxx'

how can I accomplish this via groovy.

Thanks

Ali
1 REPLY 1
omatzura
Super Contributor

Hi Ali,

Please try the following:

for( testSuite in project.testSuiteList )
{
    testSuite.disabled = testSuite.name != "the name not to disable"
}


regards!

/Ole
eviware.com
cancel
Showing results for 
Search instead for 
Did you mean: