How to count total number of validations passed

Best practices, code snippets for common functionality, examples, and guidelines.
Peter546
Posts: 20
Joined: Sun Jun 19, 2016 12:23 pm

How to count total number of validations passed

Post by Peter546 » Tue Jun 21, 2016 3:27 pm

Is there any way to report back the total number of validations passed and failed?

By default the reports return the total number of test cases passed and failed but I would like to break this down further to reflect the number of validations passed and failed.

Thanks

Martin
Posts: 152
Joined: Fri Aug 15, 2014 12:24 pm

Re: How to count total number of validations passed

Post by Martin » Wed Jun 22, 2016 10:26 am

Not sure if there exists any functionality to return this value.

But there are many solutions to achive this.

1) Adding counters to validation steps and saving them into global variables to be displayed later
2) Going through the report data file post build

etc