In the world of web automation, it is quite common to automate the sign-up forms which contain checkbox and radio button elements. These fields are unique in a way that they enhance the functionality of a web page by allowing the user to choose from multiple options. Today, we'll tell you how you can use the Webdriver to perform operations on such elements. Though these … [Read more...] about Handle Checkbox & Radio Button in Webdriver
Selenium Tutorial
FindElement and FindElements Commands
Whenever you plan to automate any web application using Webdriver, you usually start by finding the HTML elements on the page. Then, you choose the right strategy to locate them. Webdriver defines two methods for identifying the elements; they are findElement and findElements. How to Use FindElement and FindElements We have given many examples of the above … [Read more...] about FindElement and FindElements Commands
Learn Basic Selenium Webdriver Commands
We've already posted many useful Selenium Webdriver tutorials covering various topics like the Selenium components, working with locators, Firefox add-ons for finding unique locators, setting up Webdriver projects in Eclipse, and much more. Apart from Selenium, we've exclusively talked about the TestNG framework and its usage with full-fledged examples. In … [Read more...] about Learn Basic Selenium Webdriver Commands
Selenium Components for Web Test Automation
Nowadays, Selenium is apparently the best choice for doing automated testing of Websites. Not only test engineers, but developers also use it for the unit testing of their projects. In this post, we'll exclusively talk about the various Selenium components. A Quick Introduction to Selenium Let's take a glimpse of Selenium's history. It was Jason Huggins in 2004 who … [Read more...] about Selenium Components for Web Test Automation
Use FireBug and FirePath to Find Locators
Let's start to learn how can we install and use Firebug and FirePath, the two most used Firefox browser plugins for test automation developers. In our last blog post, we explained various types of Selenium locators with useful examples. If you are just a beginner in test automation, then you must read about them. The next step for you is to learn about the tools that can … [Read more...] about Use FireBug and FirePath to Find Locators
How to Select the Selenium Locators
In the previous blog post, we walked you through the eight essential Selenium locators and explained some of the best examples for understanding the locators. Today, we are going to discuss the core ingredients of a successful Selenium automation project. We'll focus on certain ways to select the right Selenium locators for web elements. Now the question is why do we need to … [Read more...] about How to Select the Selenium Locators
8 Ways to Use Locators for Selenium Testing
Locators provide a way to access the HTML elements from a web page. In Selenium, we can use locators to perform actions on the text boxes, links, checkboxes, and other web elements. They are the basic building blocks of a web page. A web developer must use a proper and consistent locator scheme for a website. Also, a test engineer must choose the correct locator … [Read more...] about 8 Ways to Use Locators for Selenium Testing
TestNG Params and DataProvider Annotations
Unlike the old & reliable JUnit Test Framework, TestNG is the modern-day test automation tool. It has built-in support for data-driven testing and provides two ways to supply data to the test cases, i.e., via TestNG Parameters and DataProvider annotations. With the addition of these two annotations, the TestNG framework filled a significant gap that its predecessor … [Read more...] about TestNG Params and DataProvider Annotations