Press "Enter" to skip to content

Posts tagged as “Frameworks”

How to run a Cucumber scenario multiple times?

Vladimir Simonovski

Little intro about BDD and Cucumber Increasing test coverage has been the goal for all organizations that are developing solutions for their customers. Putting a focus on test automation is key for a successful software product and a happy end-user. One of the approaches in software development and testing is BDD(Behavior Driver Development) where the software is created and tested following its behavior. One example of a BDD testing framework is the Cucumber automation framework. Used primary for writing BDD…

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…