Forum Discussion

RobinOng's avatar
RobinOng
Occasional Contributor
10 years ago
Solved

TestRunListener.Afterstep not fired after calling step from Groovy Script

Hello,   I have created a testcase where I want to control my teststeps from a Groovy script. The layout of the case is something like this: Testcase     GroovyScript1     GroovyScript2     G...
  • nmrao's avatar
    10 years ago

    There are two ways to do the same

     

    testRunner.runTestStepByName("nameofteststep")

     And

    testRunner.gotoStepByName( "name of the step")

     You may also look into this link for more details