Forum Discussion

paulie's avatar
paulie
Occasional Contributor
12 years ago

gotoStepByName in Script assertion

Hi,
Is there a way of calling gotoStepByName within a script assertion? The problem is that testRunner is not available but can some format of MessageExchange be used?
Thanks,
Paul

2 Replies

  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    Well, the issue your going to have with this is that gotoStep requires the runner not just the step. MessageExchange will get you the step easily but capturing the runner and not having threading issues will be a bit trickier. My suggestion, have a secondary groovy script that does it.