Selenium Framework Design in Data-Driven Testing starts off by introducing users to the Selenium Page Object Design Patterns and D.R.Y Approaches to Software Development. In doing so, it covers designing and building a Selenium WebDriver framework that supports both Browser and Mobile Devices. It will lead the user through a journey of architecting their own framework with a scalable driver class, Java utility classes, JSON Data Provider, Data-Driven Test Classes, and support for third party tools and plugins.
Other topics covered include designing abstract base and sub-classes, inheritance, dual-driver support, parallel testing, testing multi-branded applications, best practices for using locators, and data encapsulation.
Finally, user will be presented with a sample fully-functional framework to get them up and running with the Selenium WebDriver for browser testing.
- Design the Selenium Driver Class for local, remote, and third party grid support.
- Build Page Object Classes using the Selenium Page Object Model.
- Develop Data-Driven Test Classes using the TestNG framework.
- Build a Selenium Grid for RemoteWebDriver Testing.
- Construct Utility Classes for use in Synchronization, File I/O, Reporting and Test Listener Classes.