Category Archives: Selenium Java
• Automation • Selenium Java • Tutorial
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
136306 Views
20 Min Read
• Automation • Selenium Java • Tutorial
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
246608 Views
14 Min Read
• Selenium Java • Automation • Tutorial
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
457837 Views
26 Min Read
• Selenium Java • Selenium WebDriver • Tutorial
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
217404 Views
20 Min Read
• Selenium Java • Selenium WebDriver • Tutorial
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
171134 Views
9 Min Read
• Automation • Selenium Java • Selenium JavaScript • Tutorial
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
487290 Views
17 Min Read
• Automation • Selenium Java • Tutorial
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
83630 Views
19 Min Read
• Selenium Java • Automation • Tutorial
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
202249 Views
20 Min Read
• Automation • Selenium Java • Tutorial
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
133664 Views
19 Min Read
• Automation • Selenium Java • Selenium Tutorial
How To Take Screenshot In Selenium Java?
Selenium is an open-source automation tool widely used for testing web applications. It enables developers to create scripts that automate browser activities, evaluate expected results, and ensure application functionality.
April 5, 2024
304475 Views
11 Min Read