Forum Discussion
nmrao
Champion Level 3
Before doing so, it would be worth to check the line 16 of groovy script.
Radford
8 years agoSuper Contributor
Yep, nmrao is correct, I misread your original post and didn't realise (I assume) you are calling another test step within the same test case. Appologies, my code is to run another test case, and please ignore my post about above about the null pointer.
I tried running another step in the same case (your way) and it ran to completion regardless of the result status.
- fawad8 years agoNew Contributor
RadfordThanks for the feedback.
I've added a null check for now, but that does not discount the fact that runTestStepByName should not return a null, but one of the values from TestStepResult
as per their APPI doc:
runTestStepByName
TestStepResult runTestStepByName(String name)
Runs the specified TestStep and returns the resultI'll see about a bug report.Fawad
Related Content
- 3 years agoEgg