Press "Enter" to skip to content

Posts tagged as “Automation Testing”

Compare the 4 main methods from the Cucumber DataTable class and when to use them

Vladimir Simonovski

A drief info Before I dive into the 4 main DataTable class methods for handling multiple input values per one step provided from the Cucumber framework, I’ll explain what is the purpose of the Cucumber DataTable class. DataTable class DataTable class from Cucumber is the class where all the table-related methods are included. The data table itself is beneficial if we want to pass a list of data into one single step instead of having a separate stepper separate value.…

How to write a simple but elegant Selenium and Cucumber framework for UI automation from scratch?

Vladimir Simonovski

Intro Choosing the right test framework for automating your web application is never an easy job. Many questions need to be answered like: What is the most beneficial we are going to get from that framework comparing to others? What are the disadvantages by using that framework? How complicated it is to implement? How hard it is to learn it and improve it as the development goes on? Nevertheless, whatever you choose, make sure you have a proper strategy behind…

Get to know the benefits and differences between Data-Driven and Keyword-Driven testing as test automation techniques

Vladimir Simonovski

Data-Driven Testing Definition A test automation technique, that is used for creating test cases that have the same steps but different input variations. This technique helps in developing and maintaining test case efforts and it is one of the main focuses when it comes to testing automation strategy especially in Agile-oriented projects. When we follow the data-driven approach, we actually test scripts that accept different inputs to run with different sets of data. With that, we increase the test coverage…

All you need to know about Selenium waits and their purpose

Vladimir Simonovski

What are Selenium waits? When executing a Selenium-based automated test, there is a high possibility that some of your tests would fail occasionally, even though you are certain that the elements are correctly located and the tests are correctly written, i.e. they become flaky. Everyone hates flaky tests especially when you need to run them a couple of times during the day due to the high development workload. The first step that every automation engineer would do is inspect the…

What are the 3 important element visibility methods that are used in most Selenium-based frameworks?

Vladimir Simonovski

When executing UI automated tests using some of the test automation frameworks like Selenium or Protractor, often we will find in a situation where we need to check if the element that we identified is available or not i.e determinate the element visibility. Locating a web element and not checking the current state it’s just not enough. We need to make sure that we wait for the element to become visible and of course, do some checks if that element…