Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • About Us
  • Toggle search form

Month: December 2018

TestNG Tutorials 54: DataProvider in TestNG – Implementing Object Oriented Concept “Encapsulation” with DataProvider Method | Make Selenium Easy

Hello Folks, As part of ongoing series on DataProvider, we will learn “How does Encapsulation ( in OOPS concept) help in a DataProvider method? ” in this post. Encapsulation is an Object Oriented Programming concept which describes binding of related stuffs together under one roof. It makes easier to add , remove and modify members. For…

Read More “TestNG Tutorials 54: DataProvider in TestNG – Implementing Object Oriented Concept “Encapsulation” with DataProvider Method | Make Selenium Easy” »

Uncategorized

TestNG Tutorials 55: DataProvider in TestNG – Lazy Initialisation of DataProvider Method – Use of Iterator Return Type | Make Selenium Easy

Hello, DataProvider is an important functionality provided by TestNG to achieve Data driven testing or providing a set of different dataset to a method to execute on. We have seen DataProvider concept in details in previous posts. DataProvider may become nightmare if number of data (arguments) is more or it keeps changing or you do not…

Read More “TestNG Tutorials 55: DataProvider in TestNG – Lazy Initialisation of DataProvider Method – Use of Iterator Return Type | Make Selenium Easy” »

Uncategorized

Make Selenium Easy | Make Selenium Easy – Selenium Tutorials : End To End

Selenium Topics TestNG Tutorials Hello Folks, In last post, we have learnt about new annotation of TestNG , named @Ignore which is used to ignore @Test annotated methods at different levels i.e. Method, Class and Package. We have another attribute of Test annotation named “enabled” which is also used to serve the same purpose.… Selenium…

Read More “Make Selenium Easy | Make Selenium Easy – Selenium Tutorials : End To End” »

Uncategorized

TestNG Tutorials 53: DataProvider in TestNG – Is It Mandatory To Have Return Type as Object in DataProvider Method | Make Selenium Easy

Hello Guys, DataProvider method in TestNG is a way to provide test data to Test annotated methods in a TestNG class. A typical DataProvider method looks like as below: // A data provider method with return type as 2D array @DataProvider(name = “DataContainer”) public Object[] myDataProvider() { return new Object[][] { { “Mukesh”, “Otwani”, “[email protected]”…

Read More “TestNG Tutorials 53: DataProvider in TestNG – Is It Mandatory To Have Return Type as Object in DataProvider Method | Make Selenium Easy” »

Uncategorized

TestNG Tutorials 24: Annotations In TestNG – A Quick Guide | Make Selenium Easy

Hello Folks, As part of learning TestNG step by step, I will list all available annotations of TestNG in this post and will see each and every annotations in details in later posts. As per TestNG documentation, TestNG provides you below annotations: @BeforeSuite @AfterSuite @BeforeTest @AfterTest @BeforeGroups @AfterGroups @BeforeClass @AfterClass @BeforeMethod @AfterMethod @DataProvider @Factory @Listeners…

Read More “TestNG Tutorials 24: Annotations In TestNG – A Quick Guide | Make Selenium Easy” »

Uncategorized

Frequently Asked Java Program 24: Java Program to Capitalize First Character of Each Word in a String Sentence | Make Selenium Easy

My name is Amod Mahajan and I am an IT employee with 4+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went throw so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance….

Read More “Frequently Asked Java Program 24: Java Program to Capitalize First Character of Each Word in a String Sentence | Make Selenium Easy” »

Uncategorized

How To Handle A Web Table In Selenium Webdriver | Make Selenium Easy

Hello Folks, In this post we will learn: 1. What is a web table? 2. Types of web tables. 2. Creating a demo web table using html. 3. Print all headers of a web table. 4. Retrieve and print number of rows in a web table. 5. Retrieve number of columns for each row. 6….

Read More “How To Handle A Web Table In Selenium Webdriver | Make Selenium Easy” »

Uncategorized

Advanced Selenium Concepts – Custom Select Class – Select Value Containing Specific Text in Drop down | Make Selenium Easy

Hello Folks, Most of us we know that to handle a dropdown developed using Select tag, we can use inbuilt class of Selenium named “Select” class. This class provides you three methods to select options in dropdown which are below: selectByValue – You need to provide exact value to get it selected. selectByVisibleText – You…

Read More “Advanced Selenium Concepts – Custom Select Class – Select Value Containing Specific Text in Drop down | Make Selenium Easy” »

Uncategorized

All About getText() method: What, Why And How. | Make Selenium Easy

Hello Folks, In this post we will learn below topics: What is getText() method? Why we use getText() method? How we use getText() method? [Interview Question] Print all languages supported by Google. What are differences between getText() and getAttribute() methods? Let’s start: What is getText() method? getText() is a method which gets you the visible…

Read More “All About getText() method: What, Why And How. | Make Selenium Easy” »

Uncategorized

Java Program 08: Program to find occurrence of individual characters in a given string. | Make Selenium Easy

My name is Amod Mahajan and I am an IT employee with 4+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went throw so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance….

Read More “Java Program 08: Program to find occurrence of individual characters in a given string. | Make Selenium Easy” »

Uncategorized

Posts pagination

1 2 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark