XPath in Selenium
QA/Test AutomationTech Bites
June 20, 2022

XPath in Selenium

When we are unable to locate elements using standard locators like id, class, name, etc. then we can use an XPath to locate that element. In addition, the use of XPaths enables us to write reusable code. XPaths can be described as XML paths which help us navigate through the…
Using Data to Control Test Flow
BlogQA/Test Automation
June 17, 2022

Using Data to Control Test Flow

In day-to-day automation tasks, Test Engineers have to think of different ways to write their automation tests. At the same time, while creating test automation strategies they have to think about the best way to use the existing code, and also provide new lines of code for new coverage. DRY…
bean validation
QA/Test AutomationTech Bites
April 22, 2020

Bean Validation in Spring

Introduction Data validation is the basic requirement for any application, especially web applications that ask for data inputs. E-mail address, age and credit card numbers are examples of input fields that could be validated since they need to have a specific format or be within some expected boundaries. This Tech…
Chaining locators in Protractor
QA/Test AutomationTech Bites
April 15, 2020

Chaining locators in Protractor

Concept of Chain Locators    The essence of end-to-end website testing is finding DOM objects, dealing with them and getting details about the application's current state. Protractor is one of the most commonly used frameworks for AngularJS applications where locators are used as instructions to show Protractor how to locate…
Locating Elements in Watir
QA/Test AutomationTech Bites
April 15, 2020

Locating Elements in Watir

Locating Elements (Watir)  Watir (Web Application Testing in Ruby) is an open-source Ruby library for automating web browsers. It interacts with different browsers (Firefox, Chrome, Safari…) the same way people do: clicking buttons, links, populating forms and validating text. But what about locating Elements in Watir? Watir allows users to…
Cucumber-JVM
QA/Test AutomationTech Bites
April 9, 2020

BDD Test Automation with Cucumber-JVM

Writing the scenario Cucumber is a popular BDD test automation tool. Cucumber-JVM is the Java implementation of Cucumber. In Cucumber, you express acceptance criteria in a natural, human-readable form. In Cucumber, scenarios are stored in Feature Files, which contains an overall description of a feature as well as a number of scenarios. For…