Oreilly - Data-Driven Testing in Selenium
by Mykola Kolisnyk | Released December 2017 | ISBN: 9781788476430
Build your own data driven automation testing framework for web and mobile with Selenium WebDriver, Java, and TestNgAbout This VideoGet to know about data-driven Cucumber-JVM testsUnderstand the benefits that the right design patterns can offer to your toolkitDesign a Selenium Grid to enable faster and parallel running of tests, increasing test coverage, and reducing test execution timeSelenium 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. Show and hide more
- Chapter 1 : Introduction and Setup
- The Course Overview 00:03:03
- Introduction to Approaches to Be Used 00:08:05
- Environment Setup 00:05:25
- Sample Test Creation 00:06:54
- Adding Configuration 00:07:57
- Chapter 2 : Adding Page Objects
- General Idea, Overview, and Main Design 00:06:27
- Wrapping Controls 00:05:48
- Wrapping Pages 00:05:15
- Adding PageFactory 00:06:24
- Generating Screenshots 00:03:15
- Chapter 3 : Data-Drive Tests
- General Ideas and Principles 00:04:11
- Basic Data Parameters 00:04:12
- Using Data Provider 00:05:01
- Configuring Data Parameters from XML 00:03:51
- Getting Data from External Resources 00:09:17
- Chapter 4 : Advanced Data-Driven Implementations
- Getting Data from Excel 00:04:16
- Getting Data Using Spring Dependency Injection 00:04:16
- Data-Drive Cucumber-JVM Tests 00:10:08
- Chapter 5 : Parallelize Tests
- Core Test Design Updates 00:03:41
- Setting up Selenium Grid 00:03:29
- Run Data-Driven Tests in Parallel 00:03:57
- Final Overview 00:03:50
Show and hide more