v3t3a
11 years agoOccasional Contributor
GotoTestStep to another test case
Hello! I'm searching since Yesterday but i found nothing for my problem: - I have : -> One test suite : "testSuite" -> Two test case : "testCase_1" and "testCase_2" -> Multiple ...
- 11 years agoHello,
you can use following in "else" block:
def tCase = testRunner.testCase.testSuite.testCases["Name of test cases"]
def tStep = tCase .testSteps["test step you want to run"]
tStep.run(testRunner, context)
Also,
if (myStatus == TestStepStatus.OK) to be replaced with following:
if (myStatus == "OK")
Hope it helps,
Reshma S