Forum Discussion
omatzura
18 years agoSuper Contributor
Hi Steve,
try changing the rows to get the actual TestSuite to
// get the TestSuite
def tsConfiguration = testRunner.testCase.testSuite.project.getTestSuiteByName( "NRM Test Cases Setup" );
// and the TestCase
def tcConfiguration = tsConfiguration.getTestCaseByName( configurationData )
and then run the TestCase with
tcConfiguration.run( context, false )
which will run the target TestCase and wait for it to finish..
Hope this helps!
regards,
/Ole
eviware.com
try changing the rows to get the actual TestSuite to
// get the TestSuite
def tsConfiguration = testRunner.testCase.testSuite.project.getTestSuiteByName( "NRM Test Cases Setup" );
// and the TestCase
def tcConfiguration = tsConfiguration.getTestCaseByName( configurationData )
and then run the TestCase with
tcConfiguration.run( context, false )
which will run the target TestCase and wait for it to finish..
Hope this helps!
regards,
/Ole
eviware.com