Forum Discussion
pflaumengeist
13 years agoContributor
if you have a setup like the one in the image.
script in testcase.1
script in testcase.2
script in testcase.1
runner = testRunner.testCase.testSuite.getTestCaseByName('testcase.2').run(null, false)
log.info(runner.getTimeTaken() + 'ms')
script in testcase.2
import java.util.Random
rand = new Random()
sleep(rand.nextInt(10000))