alibaba82Super Contributor16 years agodisable / enable test suite via groovyHello,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.ThanksAli
1 ReplyReplies sorted by Most LikedSort ByMost LikedOldestNewestomatzuraSuper Contributor16 years agoHi Ali,Please try the following:for( testSuite in project.testSuiteList ){ testSuite.disabled = testSuite.name != "the name not to disable"}regards!/Oleeviware.com
omatzuraSuper Contributor16 years agoHi Ali,Please try the following:for( testSuite in project.testSuiteList ){ testSuite.disabled = testSuite.name != "the name not to disable"}regards!/Oleeviware.com
Related ContentHow to enable/disable multiple assertions in a test Suite via groovy scriptEnable & Disable test stepshow to find teststep disabled or enabledEnabling and disabling test cases from test suiteEnabling/Disabling Text Recognition at run time
Recent DiscussionsParameterising JDBC Connection Settings..Can you do it?Test Runner - Report All in One FileGroovyScript Help - Repeating JSON Attributes Have Specific Value.....some of the time?SolvedJDBC results are stored in the ReadyAPI projectSolvedMyFirstPlugin - button Project menu in Ready Api