Advanced Concept of Selenium – Design Patterns in Selenium WebDriver – There is Not Only Page Object Model Design Pattern

Hello Folks, When we talk about design pattern in Selenium WebDriver, we generally discuss about Page Object Model (POM) and Behavioural Driven Development (BDD). But there are many more. Before we go and see other design patterns in Selenium, I would like to explain “What is actually mean by Design Pattern?”. Design Pattern: A design

Read More

TestNG Tutorials 64: Dependency in TestNG – ignoreMissingDependencies – Another Way of Achieving Soft Dependencies

Hello Folks, There are two types of dependencies in TestNG: 1. Hard Dependency : All the methods you depend on must have run and succeeded for you to run. If at least one failure occurred in your dependencies, you will not be invoked and marked as a SKIP in the report. 2. Soft Dependency : You will always be

Read More

TestNG Tutorials 63: Dependency in TestNG – Usage of Regular Expressions with DependsOnGroup

Hello Folks, We have learnt in previous posts regarding establishing relationship between test methods. You can go through them below: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnMethod Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnGroup In this post, we will learn how can we use regular expressions with

Read More

Ways of Handling StaleElementReferenceException Without PageFactory

Hello Folks, Previously, I had published on Handling StaleElementReferenceException using PageFactory. But many people asked how to handle it if they do not use Page Factory design pattern. Understand StaleElementReferenceException through an image: You would have seen so many explanations of StaleElementReferenceException. I would like to explain in very simple words here. You mostly encounter StaleElementReferenceException when you

Read More

TestNG Tutorials 62: Dependency in TestNG – Types of Dependencies in TestNG – Hard Dependency & Soft Dependency

We have learnt in previous posts regarding establishing relationship between test methods. You can go through them below: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnMethod Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnGroup Before we learn about types of dependencies in TestNG, lets see one scenario first: If

Read More

TestNG Tutorials 61: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnGroup

In previous post, We have learnt to Establish dependency among test methods. In this post, we will see another concept in Dependency called DependsOnGroup. Consider a scenario: You have created automation scripts for Integration testing. We know that in integration testing, data flows from one module to another. You divide your test methods as per group.

Read More

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.