Category Archives: Selenium Java

AutomationSelenium JavaTutorial

Selenium Pagination Tutorial: How to Handle Page Navigation

As websites are becoming an integral part of the business, they must have a good UI that provides the best user experience and loads the content quickly. Websites can be categorized into two types based on the categorization of their content: paginated and infinite-scrolling websites.

September 13, 2024

view count131499 Views

Read time16 Min Read

Keep Notes Related Recent

Selenium JavaAutomationTutorial

How to Handle StaleElementReferenceException in Selenium

When performing Selenium automation testing, if you try to interact with a WebElement that’s no longer in the Document Object Model (DOM), Selenium will throw a StaleElementReferenceException.

July 31, 2024

view count507226 Views

Read time12 Min Read

How To Setup JUnit Environment For Your First Test

AutomationSelenium JavaTutorial

How To Setup JUnit Environment For Your First Test

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 count336822 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 count142639 Views

Read time20 Min Read

AutomationSelenium JavaTutorial

How to Create TestNG.xml File in Eclipse

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 release cycles.

June 21, 2024

view count252654 Views

Read time14 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 count465885 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 count229314 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 count182336 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 count495726 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 count87404 Views

Read time19 Min Read