
This video provides an overview of the entire course.
In this video, we will make all necessary installations for our course.
Add an ability to configure tests to run under different environments with different settings.
Linear recorded tests are too sensitive to changes. We need to add unified structure to keep proper references to objects we interact with. Before going to the implementation, we need to define general approach, design and steps.
Simple recorded test has a lot of duplications especially when we interact with the same control multiple times. The solution is to create classes containing functionality interacting with specific control.
Screenshots are useful to give actual application under test view especially in case of error.
Describe major ideas and principles while data-driving tests.
Initial tests were prepared next step is to update tests to fit major construction for data-driven testing.
After basic parameterization we need deeper look at capabilities of using data providers.
Parameters can also be provided by means of XML configuration.
Data input can be taken not just from specific code constructions but also from external resources and systems. In this video we will play the file, service and database as external resource.
Excel is one of the most popular formats for the test data. So, it is important to mention the way to interact with it.
Data can be provided using more complicated mechanisms like Spring injection where we can provide the data based on configuration.
When we talk about parallel execution with the Selenium the grid is one of the major items to appear.
Data can be provided using more complicated mechanisms like Spring injection where we can provide the data based on configuration.
At the end of the video course it’s high time to summarize all the learning received during all previous videos. Additionally, it is useful to point out what is useful to learn next.
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.
About The Author :
Mykola Kolisnyk has been working in test automation since 2004. He has been involved with various activities including creating test automation solutions from scratch, leading test automation teams, and working as a consultant with test automation processes.
During his working career, he has had experience with different test automation tools such as Mercury WinRunner, MicroFocus SilkTest, SmartBear TestComplete, Selenium-RC, WebDriver, Appium, SoapUI, BDD frameworks, and many other different engines and solutions. He has also had experience with multiple programming technologies based on Java, C#, Ruby, and so on, and with different domain areas such as healthcare, mobile, telecoms, social networking, business process modeling, performance and talent management, multimedia, e-commerce, and investment banking.