Category Archives: Selenium Java

How To Setup JUnit Environment For Your First Test

AutomationSelenium JavaTutorial

How To Setup JUnit Environment For Your First Test

This article is a part of our Learning Hub. For more in-depth resources, check out our hub on JUnit Tutorial. JUnit is a widely used unit testing framework. When combined with Selenium, it enhances the web application testing process. JUnit utilizes annotations to identify test methods and supports various assertions, test suites, and test maintenance.

July 31, 2024

view count368350 Views

Read time18 Min Read

Test Cases in Java

AutomationSelenium JavaTutorial

How To Write Test Cases in Java

Writing test cases is a fundamental skill for ensuring the reliability and robustness of your code. Test cases can help identify bugs and validate that the code works as intended.

July 8, 2024

view count175215 Views

Read time20 Min Read

AutomationSelenium JavaTutorial

How to Create TestNG.xml File in Eclipse

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on TestNG. TestNG is a framework used for Java automation testing that makes creating and running automated tests much easier. One of its standout features is running tests in parallel using a TestNG.xml file, which expedites software … Continue reading How to Create TestNG.xml File in Eclipse

June 21, 2024

view count278478 Views

Read time15 Min Read

How to Generate Extent Reports in Selenium feature image

Selenium JavaAutomationTutorial

How To Generate Extent Reports In Selenium

Selenium provides built-in reporting capabilities through frameworks like TestNG, JUnit, and more. While these built-in reports offer basic information, custom reporting is often necessary to provide detailed insights into test execution.

June 14, 2024

view count498005 Views

Read time27 Min Read

How To Handle Authentication Popups in Selenium WebDriver

Selenium JavaSelenium WebDriverTutorial

How To Handle Authentication PopUps in Selenium WebDriver

Handling authentication popups in Selenium is a crucial aspect of automated testing. Authentication popups often appear when accessing secure areas of a web application, requiring valid credentials to proceed.

June 13, 2024

view count271089 Views

Read time20 Min Read

Selenium JavaSelenium WebDriverTutorial

How to Handle Hidden Elements in Selenium WebDriver

When running automated tests with Selenium WebDriver, testers might encounter ElementNotInteractableException or ElementNotVisibleException if the web page elements are hidden or can’t be interacted with.

June 12, 2024

view count212099 Views

Read time10 Min Read

Selenium sendKeys(): A Complete Guide

AutomationSelenium JavaSelenium JavaScriptTutorial

Selenium sendKeys(): A Complete Guide

While performing automation testing with Selenium, developers and testers need to automate different scenarios, like typing text into form fields, entering passwords in boxes, and more. This is where the Selenium sendKeys() method helps achieve this.

May 21, 2024

view count522296 Views

Read time17 Min Read

How to Use ThreadLocal in Java

AutomationSelenium JavaTutorial

How to Use ThreadLocal in Java With Selenium WebDriver

ThreadLocal in Java is a powerful tool for managing thread-specific data, and its application in Selenium testing can significantly enhance test stability and efficiency.

May 7, 2024

view count106333 Views

Read time19 Min Read

How to Use Thread.sleep() in Selenium

Selenium JavaAutomationTutorial

How to Use Thread.sleep() in Selenium

When performing Selenium automation testing, you might encounter a NoSuchElementException() when the element you’re trying to interact with isn’t found.

April 25, 2024

view count218837 Views

Read time20 Min Read

How to Handle Shadow Root in Selenium Java

AutomationSelenium JavaTutorial

How to Handle Shadow Root in Selenium Java

When automating tests using Selenium, there may be a scenario where you can’t find an element on a web page even though it seems to be in the Document Object Model (DOM).

April 22, 2024

view count153090 Views

Read time19 Min Read