jkrier
8 years agoRegular Contributor
How to use testSuite.removeTestCase
Does anyone know the syntax for testSuite.removeTestCase? I've tried several things and none work. I just want to be able to remove a test suite from inside a testsuite startup script and the code completion shows this method as available.
I have a startup script in a testsuite that imports a testcase. After it runs I would like to add to a teardown script testSuite.removeTestCase("mytestcase") or however it works.
from an old thread
testSuite.removeTestCase( testSuite.getTestCaseByName( "TestCase 1" ))