Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • About Us
  • Toggle search form

Month: October 2019

December 2, 2018 – Make Selenium Easy

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 “December 2, 2018 – Make Selenium Easy” »

Uncategorized

September 23, 2018 – Make Selenium Easy

Hello Folks, You must have seen a web page which contains many divisions or multiple web elements and similar web elements in multiple divisions. Creating a web element repository for such pages is difficult in some cases which are given below: If you have many web elements in a page, Selecting desired web elements while…

Read More “September 23, 2018 – Make Selenium Easy” »

Uncategorized

January 10, 2018 – Make Selenium Easy

Hello Folks, In this post, we will learn about another annotation in Page Factory called FindBys. Suppose, you need to find count of web elements who satisfy all below criteria: whose id is “ABC” whose name is “DEF”. whose xpath is “XYZ”. It will be difficult to write normally but @FindBys annotation makes it very simple for…

Read More “January 10, 2018 – Make Selenium Easy” »

Uncategorized

January 9, 2018 – Make Selenium Easy

Hello Folks, In this post, we will learn about another annotation in Page Factory called FindAll. Suppose, you need to locate below web elements and find out counts: All web elements whose class name is “ABC”. All web elements whose id is “DEF”. All web elements whose linkText is “Sometext”. Generally you will write as…

Read More “January 9, 2018 – Make Selenium Easy” »

Uncategorized

January 7, 2018 – Make Selenium Easy

Hello Folks, Many automation tester wants to read locators from external sources like database, properties file or excel sheets. Reading locators from external sources and using it in your program is very easy if we don’t use Page Factory. It becomes difficult because of @FindBy annotation. What is annotation in Java? Annotations in Java are…

Read More “January 7, 2018 – Make Selenium Easy” »

Uncategorized

December 16, 2017 – Make Selenium Easy

Hello Folks, We are learning about Page Object Model in selenium in previous posts. This is another part of that. Selenium webdriver has inbuilt page object model which is called Page Factory where we write web elements(Page Objects) with it locators using annotation @FindBy. Does FindBy annotation mandatory for Page Factory? Answer is NO. We…

Read More “December 16, 2017 – Make Selenium Easy” »

Uncategorized

December 13, 2017 – Make Selenium Easy

Hello Folks, We have seen some posts on Page Object Model and Page Factory in Selenium in previous posts. We will see some interesting facts about Page Factory in this post. Do you know that Page Factor perform lazy initialization? We will see how. When we use “initElements” method of PageFactory, all page objects of…

Read More “December 13, 2017 – Make Selenium Easy” »

Uncategorized

November 24, 2017 – Make Selenium Easy

Hello folks, In this post, we will see below topics: Why we need Page Object Model? What is Page Object Model and its advantages? Why we need Page Object Model? When you write a code, it must have below properties: Easy to understand. Easy modifications. Proper categorization. Anybody should be able to locate desired lines…

Read More “November 24, 2017 – Make Selenium Easy” »

Uncategorized

November 2017 – Make Selenium Easy

Hello folks, In this post, we will see below topics: Why we need Page Object Model? What is Page Object Model and its advantages? Why we need Page Object Model? When you write a code, it must have below properties: Easy to understand. Easy modifications. Proper categorization. Anybody should be able to locate desired lines…

Read More “November 2017 – Make Selenium Easy” »

Uncategorized

December 13, 2018 – Make Selenium Easy

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 “December 13, 2018 – Make Selenium Easy” »

Uncategorized

Posts pagination

Previous 1 … 7 8 9 … 12 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark