Desired Capabilities in Selenium WebDriver
Desired Capabilities is one of the most commonly used concept yet one of the most complex due to many underlying factors which work together with…
Desired Capabilities is one of the most commonly used concept yet one of the most complex due to many underlying factors which work together with…
In order to run JavaScript commands with Selenium WebDriver, we can either use JavaScriptExecutor or ExecuteScript in Selenium. ExecuteScript is a part of Selenium WebDriver but its…
Introduction: Today, we’re diving into one of the most essential tasks in web automation: handling data. Specifically, we’ll explore how to automate excel with java…
Introduction: In the world of Selenium testing, creating informative and visually appealing test reports is crucial for effective communication and debugging. One powerful way to…
Java is a beautiful language if you know how to build your logic. This is the most important thing of all. Invert a number using…
In order to validate prime number using Java, first of all, let’s see what is a prime number. Example code: Validate prime number using java
In order to read write excel file in Java and APACHE POI, we can use this method which uses FileInputStream, and XSSFWorkbook to get into…
Test Automation frameworks based on the Page object model design pattern and Page Factory in Selenium WebDriver help to keep the locators separate from the…
To read an XML file using Java, you can use the javax.xml.parsers.DocumentBuilder class and its parse method. Here is an example of how you might…
To read a JSON file using Java, you can use the org.json library. Here’s an example of how you can use this library to read…
Similar to reading data from an excel file, you would require to write data in excel file using java in your test automation. Read further…
Any type of testing requires test data in Test automation Let’s see how we can read Excel file in Java and use that in Selenium…
WebTables are a very important part of any web-based application and Often we come across a scenario where we have to validate data in a…
In any web-based application, drop-downs are used to help the end user to select a value from a set of predefined values. e.g. Selecting a…
In order to get all options from a dropdown in Selenium WebDriver, we can utilize the same Select class, which we use to select a…
Broken links or dead links are those links that are displayed as a link on the webpage but when we click on them nothing happens….
There might be some cases when you want to perform Mouse Hover in Selenium WebDriver, which means moving your mouse over an element before doing…
If you want to see the exact element being interacted with by Selenium, you can write code to highlight element using Selenium WebDriver. Also sometimes…
In interviews, you may be asked to write a program for how to validate if a given number is a prime number using Java. Validating…
APACHE POI is the most used library for working with Excel workbooks in Selenium Automation projects. There are two ways you can add these jars to your automation project. One way is through the POM.xml in your maven project and the other way is by downloading the jars directly from Apache website and adding them in build path of your automation project.