Test Automation

Introduction to JavaScript

What is JavaScript? JavaScript is a programming language. JavaScript was initially created to make web pages interactive by adding dynamic behavior to the web page, animated graphics, reading cookies from a browser and interactive user actions. Earlier only browsers contained a JS engine to execute JavaScript code, for example Chrome JavaScript engine called V8. This …

Introduction to JavaScript Read More »

Rest Assured Request and Response Specifications

These are used to avoid duplication of code for reusable configurations that need to be done for multiple RESTful request and response validations. Request Specification ‘RequestSpecification’ interface provided by Rest Assured is used to club and extract repetitive actions like setting up base URL, headers, HTTP verbs etc which may be common for multiple Rest …

Rest Assured Request and Response Specifications Read More »

Central Vs Distributed Version Control System

Centralized Version Control System (CVCS): Arrangement for version control where there is single central repository (server) which hold different versions of code of a project. Developers directly commit their code to this central repository and pull the changes made by others from this server. Flow of work in this type of version control : Checkout …

Central Vs Distributed Version Control System Read More »

Implementing ‘Masterthought’ Reports in Cucumber

In the previous Technical Article, we learned about capturing screenshots in BDD test automation framework. In this article, we are going to learn how to generate test execution reports in BDD test automation. Execution reports is one of the major components of test automation framework. It is always important to understand the output of test …

Implementing ‘Masterthought’ Reports in Cucumber Read More »

Capture Screenshots for Failed Steps in Cucumber BDD Automation Report

If you are using Cucumber to automate web application, it can be very useful to include a screenshot of failed step in Cucumber execution report whenever a scenario fails. Cucumber report doesn’t provide screen shot directly embedded into report but it is possible to embed few lines of code to capture screens. Why Screenshots? Screenshot …

Capture Screenshots for Failed Steps in Cucumber BDD Automation Report Read More »

What’s new in Selenium 4?

Selenium 4 Features In this article, we will look at the new exciting features and improvements introduced in the latest version of Selenium WebDriver i.e. Selenium 4. Selenium WebDriver has now adopted W3C standard web driver protocol. So, instead of JSON Wire Protocol, native support of W3C standard is provided. Let’s have a look at …

What’s new in Selenium 4? Read More »

Traditional Virtual Machines vs Docker

Traditionally, each individual task (Ex – mailing, Web hosting, database etc) of an enterprise, used to run on individual dedicated servers. It used to be like – 1 server, 1 operating system, 1 task – even if these components were not using the full capacity of the given server/machine on which they were running. With …

Traditional Virtual Machines vs Docker Read More »