Press "Enter" to skip to content

Posts tagged as “Frameworks”

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…

How to write automated tests using MsTest framework? Test attributes, data-driven tests, and assertions!

Vladimir Simonovski

What is MsTest framework? MsTest framework is a unit testing framework for the ASP .NET framework that allows us to write automated tests without the help of any third-party tools or libraries. It’s one of the most useful test frameworks out there and it comes along with Visual Studio IDE by default. MsTest framework has various options like different test attributes, data-driven tests, assertion library ability to execute the tests in parallel, etc. It can be used for client-side or…

Going In-Depth into what is Chai Assertion Library and why it’s so popular

Vladimir Simonovski

What is assertion? An assertion is a form of validation statement in the programming language which verifies if the given result or outcome is correct and valid. The purpose of using assertions in test automation is to identify if the given outcome of a particular scenario is equal to the actual outcome. In other words, checking the expected vs actual result for a test. If they are not the same then the test would fail with the failure message shown…