Category Archives: Selenium Java
• Automation • Selenium Java • Tutorial
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
131499 Views
16 Min Read
• Selenium Java • Automation • Tutorial
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
507226 Views
12 Min Read
• Automation • Selenium Java • Tutorial
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
336822 Views
18 Min Read
• 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
142639 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
252654 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
465885 Views
27 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
229314 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
182336 Views
10 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
495726 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
87404 Views
19 Min Read