Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • About Us
  • Toggle search form

Category: Uncategorized

Handling Window Authentication in Chrome Using Selenium WebDriver

Authentication is a process for verifying the identity of an object. Let’s consider that object as a website here. When we load URL of a website then that website may ask you to authorize yourself before getting access to its content. One of the authentication method is Window Authentication. It is also called as basic…

Read More “Handling Window Authentication in Chrome Using Selenium WebDriver” »

Uncategorized

TestNG Tutorials 9: Internal Logic Of Generation Of TestNG.xml

Hello Folks, In this post, we will learn logic behind generation of testng.xml. When we select a class or package or project and chose to generate a testng.xml, it includes only those class names which has at least one @Test annotated method. It will not consider a class which has no @Test annotated method. Suppose…

Read More “TestNG Tutorials 9: Internal Logic Of Generation Of TestNG.xml” »

Uncategorized

REST Assured Tutorial 59 – How To Create JsonPath For Simple And Nested JSON Array?

As a part of the End to End REST Assured Tutorial, in this post, we will learn to write JsonPath for simple and nested JSON arrays. If you are familiar with Xpath then you can understand JsonPath easily. The only difference is that XPath represents a path to reach a node in an XML document while JsonPath…

Read More “REST Assured Tutorial 59 – How To Create JsonPath For Simple And Nested JSON Array?” »

Uncategorized

Log4j2 Tutorial 4 – Print Logs In External File Using XML Configuration File of Log4J2

In the previous post, we have learned to configure an XML file to print logs in a console i.e. console appender. But when the execution is over your console log will be gone until you divert it into an external file. Your desired logs will be mixed with other execution logs which you don’t want. So…

Read More “Log4j2 Tutorial 4 – Print Logs In External File Using XML Configuration File of Log4J2” »

Uncategorized

REST Assured Tutorial 72 – How To Compare Part of JSON Objects and Arrays using JSONassert library

As a part of the End to End REST Assured Tutorial, in this post, we will learn to compare the portion of JSON arrays and Objects using the JSONassert library. We have already learned to Compare two JSON Objects and Compare two JSON Arrays using JSONassert library as a whole. Many times we need to compare specific…

Read More “REST Assured Tutorial 72 – How To Compare Part of JSON Objects and Arrays using JSONassert library” »

Uncategorized

Selenium Framework 5: Understand Keyword Driven Framework in Selenium

A “Keyword” is a wrapper of an atomic action or a chain of actions to achieve a task. These keywords are reusable and building blocks of writing a flow. It shows abstraction concept of OOPS. It is callable. Mostly “Keyword” will be a method. Let’s understand it considering a real time scenario:- You need to…

Read More “Selenium Framework 5: Understand Keyword Driven Framework in Selenium” »

Uncategorized

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

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” »

Uncategorized

Does getWindowHandles() method return handles in the same order as windows launch?

As part of the Selenium WebDriver – Java series, let’s learn how does getWindowHandles() work. If multiple child windows are launched in an application due to some actions then Selenium WebDriver provides the capability to handle multiple windows. We can switch to any open window and perform actions. Selenium provides a method getWindowHandles() to get…

Read More “Does getWindowHandles() method return handles in the same order as windows launch?” »

Uncategorized

REST Assured Tutorial 70 – Compare JSON Objects using JSONassert Library

As a part of the End to End REST Assured Tutorial, in this post, we will learn to compare JSON objects using JSONassert library. We may need to compare two JSONs during API testing. For example – If we are going to get the same JSON response for an API every time or some parts of the…

Read More “REST Assured Tutorial 70 – Compare JSON Objects using JSONassert Library” »

Uncategorized

How To Change Default Download Directory For Chrome Browser in Selenium WebDriver

Hello Folks, Every browse has its default download directory. Whenever you download a file, it gets downloaded in default download directory. Generally default download directory is as below: C:\Users\\Downloads You can always change it through browser setting. When selenium script downloads any file, it will also be downloaded in same default download directory. Note: If…

Read More “How To Change Default Download Directory For Chrome Browser in Selenium WebDriver” »

Uncategorized

Posts pagination

Previous 1 … 4 5 6 … 155 Next

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark