This is the code repository for Data-Driven Testing in Selenium [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
Selenium is one of the most popular engines for UI test automation. It is available for many different programming languages. At the same time, the data-driven approach is one of the most popular approaches for optimizing tests, making them compact, and easily extensible just by adding some new data. In this course, you’ll practice the data-driven approach using Selenium, Java, and TestNG/JUnit. We’ll start with basic samples and then go through the major steps to abstract application pages using a page object model. After that, we’ll exercise different ways to make our tests data-driven. We’ll start with basic out of the box abilities and then practice more complicated samples to operate with external data from Excel, databases, Spring injection, and more. We’ll go through various improvements to make tests run in parallel. In particular, we’ll explore different options to run data-driven tests in parallel.
At the end, you’ll discover the good practices when testing framework designs. You’ll also get a deep understanding of the data-driven approach and various ways to apply it to our tests.
- Understand the idea behind the data-driven approach
- See an approach to build a framework in Java for web and mobile applications
- Get major solutions to make data-driven tests for JUnit and TestNG
- Discover some advanced techniques to get test data from external sources
- Get to know additional solutions that can help you inject test data into tests
- See patterns and approaches to run tests in parallel
- Get a general understanding of test infrastructure setup
To fully benefit from the coverage included in this course, you will need:
This video course is for software quality assurance/testing professionals, software project managers, or software developers with prior experience using Selenium and Java to test web-based applications.
This course has the following software requirements:
Hardware Requirements :-
- 32 Bit, 64 Bit processor with 1 GHz
- 4 GB RAM
Software Requirements :-
- Firefox
- Internet Explorer 7, 8, 9, 10 and 11
- Chrome
- Windows OS, Mac OS X, Linux
- Java SDK