Category Archives: Selenium Java
How To Handle NoSuchWindowException In Selenium
In today’s digital landscape, websites are brimming with dynamic content, captivating users with interactive experiences. A notable feature is the frequent emergence of new windows and tabs triggered by specific actions taken by users.
June 6, 2023
105971 Views
21 Min Read
AutomationSelenium JavaTutorial
How To Use JUnit Ignore Test Annotation [With Examples]
This article is a part of our Learning Hub. For more in-depth resources, check out our hub on JUnit Tutorial. JUnit 5 is a widely adopted open-source unit testing framework for Java-based projects undergoing constant evolution to meet developers’ changing needs.
May 12, 2023
197899 Views
30 Min Read
How To Handle SSL Certificates In Selenium WebDriver?
We often access a website on our browser, which works fine. But when you try to access the same while automating it using Selenium WebDriver, the website is not loaded, and the browser shows a security error like “The connection is not secure” or “This connection is Untrusted.”
April 26, 2023
60225 Views
19 Min Read
A Complete Guide To Exception Tests In TestNG [With Examples]
This article is a part of our Content Hub. For more in-depth resources, check out our content hub on TestNG. While automating critical applications like banking apps, it’s important to implement error handling and validation checks to ensure that the application is secure and reliable for the bank’s customers.
April 14, 2023
52383 Views
20 Min Read
AutomationSelenium JavaTutorial
How To Perform Local Website Testing Using Selenium And Java
Users expect new features and websites to be seamless and user-friendly when they go live. End-to-end website testing in local infrastructure becomes an unspoken critical requirement for this.
February 8, 2023
151819 Views
15 Min Read
Selenium JavaAutomationTutorial
How To Automate Toggle Buttons In Selenium Java
If you pay close attention, you’ll notice that toggle switches are all around us because lots of things have two simple states: either ON or OFF (in binary 1 or 0).
November 24, 2022
207712 Views
13 Min Read
Selenium JavaAutomationTutorial
Fluent Interface Design Pattern in Automation Testing
Recently, I was going through some of the design patterns in Java by reading the book Head First Design Patterns by Eric Freeman, Elisabeth Robson, Bert Bates, and Kathy Sierra.
October 27, 2022
295465 Views
26 Min Read
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
518353 Views
17 Min Read
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
184802 Views
15 Min Read
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
153388 Views
15 Min Read