Summary

In this chapter, we learned about an important technique to create parameterized and data-driven tests using TestNG features. This will help you to create highly-maintainable and robust tests with minimum coding effort and increased test coverage. We also looked at ways to read data from the CSV and Excel formats.

Get Selenium WebDriver 3 Practical Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.