Category Archives: Selenium Java

Selenium JavaAutomationTutorial

How To Handle Stale Element Reference Exceptions In Selenium Java

While using Selenium with Java, we experience several exceptions while developing our automation code. An exception is an event that interrupts a program’s execution flow.

October 3, 2022

view count235557 Views

Read time19 Min Read

How To Get Response Status Code Using Apache HTTP Client

Selenium JavaAutomationTutorial

How To Get Response Status Code Using Apache HTTP Client?

As an automation tester, many times we reminisce about what is going on behind the scenes after the URL is passed to the web browser. What happens once the browser requests to load a website, or how does it know whether its request has been accepted and is ready to be fulfilled or not.

July 11, 2022

view count503867 Views

Read time17 Min Read

How To Select Multiple Checkboxes In Selenium WebDriver Using Java?

Selenium JavaAutomationTutorial

How To Select Multiple Checkboxes In Selenium WebDriver Using Java?

Have you ever wondered how frustrating it would be if you had to log in each time you wanted to view your Facebook profile? Or in a multiple-choice question where you’d like to mark many options but can’t?

June 20, 2022

view count167332 Views

Read time15 Min Read

How To Generate Extent Reports In Selenium

Selenium JavaAutomationTutorial

How To Generate Extent Reports In Selenium

Selenium is a great tool when it comes to reporting, as it provides inbuilt reports using various frameworks like TestNG and JUnit. Though a few built-in reports are available, they do not provide information on the steps executed as part of the test suite.

May 19, 2022

view count257792 Views

Read time24 Min Read

How To Use isDisplayed() In Selenium WebDriver

Selenium JavaAutomationTutorial

How To Use isDisplayed() In Selenium WebDriver

If you use Selenium WebDriver, you are probably aware that there are a number of common ways to loop through and interact with elements on a web page. Among them isDisplayed(), isEnabled(), and isSelected() methods. When a tester needs to ascertain the visibility scope of a web element, they can use these methods.

April 22, 2022

view count139719 Views

Read time14 Min Read

Handle Multiple Windows in Selenium

Selenium JavaAutomationTutorial

How To Handle Multiple Windows In Selenium WebDriver Using Java?

When automating any website or a web application in Selenium, you might have come across a scenario where multiple windows open within an application when a button is clicked, and appropriate action needs to be performed on the opened windows.

March 24, 2022

view count96833 Views

Read time12 Min Read

How To Run JUnit Tests In Jupiter?

Selenium JavaAutomationTutorial

How To Run JUnit Tests In Jupiter? [JUnit Jupiter Tutorial]

JUnit Jupiter is a perfect blend of the JUnit 5 programming model and extension model for writing tests and extensions.

March 16, 2022

view count348903 Views

Read time12 Min Read

java event listener

AutomationSelenium JavaTutorial

How To Use Java Event Listeners in Selenium WebDriver

While working on any UI functionality, I tend to aspire for more and more logs and reporting. This happens especially when performing test automation on web pages. Testing such websites means interacting with several web elements, which would require a lot of movement from one page to another, from one function to another.

February 4, 2022

view count297527 Views

Read time13 Min Read

findelement-and-findelements-in-selenium

AutomationSelenium JavaTutorial

FindElement And FindElements In Selenium [Differences]

Finding an element in Selenium can be both interesting and complicated at the same time. If you are not using the correct method for locating an element, it could sometimes be a nightmare.

January 18, 2022

view count298701 Views

Read time21 Min Read

AutomationSelenium JavaTutorial

How To Handle Captcha In Selenium

With the rapidly evolving technology due to its ever-increasing demand in today’s world, Digital Security has become a major concern for the Software Industry. There are various ways through which Digital Security can be achieved, Captcha being one of them.

January 6, 2022

view count250101 Views

Read time16 Min Read