Integer Value For a Success/Fail of a Test Case

Best practices, code snippets for common functionality, examples, and guidelines.
tclaxton
Posts: 2
Joined: Fri Jan 27, 2017 3:51 pm

Integer Value For a Success/Fail of a Test Case

Post by tclaxton » Wed Feb 15, 2017 9:34 pm

How do I get the interger value of the number of success, failure, blocks of a test case? Cant find much from other examples. Thanks.

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: Integer Value For a Success/Fail of a Test Case

Post by asdf » Mon Feb 20, 2017 4:16 pm

Hi tclaxton,

In order to get the status of all test cases in the test suite, you could use the following code snippet.
CodeSnippet.png
Afterwards, put these code module into the teardown section of the test suite.
Teardown.png
I hope this helps.

Kind regards,
asdf
You do not have the required permissions to view the files attached to this post.