Forum Discussion
groovyguy
9 years agoCommunity Hero
Are those tests in the same test case as your object trying to run them?
nmowbray
9 years agoOccasional Contributor
Yes its in the same test case, I create a groovy step and use the following in the step to try to run it
// Create Account in CDI
if (context.expand('${#TestSuite#Mode}') == 'CDI'){
testRunner.runTestStepByName("CDI - Create Customer")
testRunner.runTestStepByName("PropertyTransfer Customer Id")
testRunner.runTestStepByName("CDI - Create Account")
testRunner.runTestStepByName("PropertyTransfer Account Id")
testRunner.runTestStepByName("CDI - Add to Billing")
}