Forum Discussion

vikranthsanka15's avatar
vikranthsanka15
Occasional Contributor
10 years ago

How to capture Test Case Result(Whether Passed/Failed) ?

I have a Test suite with 5 Test Cases , On starting the execution based on the color (Red/Green) highlighted we come to know the Test case is failed or passed.

How can we capture the particular Test Case result(Whether Passed of Failed) through groovy or any other method.

Purpose of this is to prepare a report of the failed and passed Test cases count in a Test suite.

2 Replies