Chapter 5. Selenium WebDriver Frameworks
A test automation framework helps reduce the repetition of the same task again and again. In general, the automation framework increases productivity by raising code reusability and reducing coding efforts and test maintenance. Selenium WebDriver is exceptionally robust in building test automation frameworks. Every framework starts with a prototype version followed by stabilized standard versions. The Selenium WebDriver framework consists of three significant flavors, namely, Data-Driven, Keyword-Driven, and Hybrid-Driven frameworks.
Once the framework has been developed, its structure can be accessed by different projects and is reusable. Thus, it avoids building a new Selenium test automation framework from scratch. The key role of this chapter is to explain how to create a test automation framework for use in Selenium projects.
In this chapter, we will learn the following topics:
- Behavior-Driven Development
- Cucumber BDD framework
- JBehave...