Forum Discussion
anusha21
Occasional Contributor
hi
i am using groovy test step, but i am using class so when assertion fails then my main groovy test step is failing, but i want to mark child script too
as i explained in my above message i am using class script
thanks
Anusha
groovyguy
8 years agoCommunity Hero
The only way I know to make a groovy script test step fail is to put a fail condition in it. IE, "assert 1 == 2", or even simpler: "assert false;"
That would, when triggered, make the groovy script show as a failed step. Is that what you are looking for?
Related Content
- 10 months ago
- 4 years ago
Recent Discussions
- 4 days ago