Forum Discussion

LennSar's avatar
LennSar
Contributor
2 years ago

make sure runTestStepByName actually runs a TestStep

Hi there,

 

I had to realize that if I run a test step from groovy as follows:

testRunner.runTestStepByName('random test step')

The script returns pass even if there is no test step with the name 'random test step'. Any suggestions on how to make sure that the test step is actually executed?

 

thanks!

 

Lennart

No RepliesBe the first to reply