Category Selenium

Write First Script in Selenium WebDriver

FirefoxDriver object

In this tutorial, we will learn how to write first automation test script in Selenium WebDriver in a very simple way and step by step. Let’s take a simple scenario to automate using Selenium WebDriver and see explanations of each…

Select Class in Selenium

List of methods under Select class in Selenium

Select is a class provided by Selenium that is used to work with a dropdown element. The select class allows us to select an element from the drop-down and lists that are created with the HTML <select> element. The select…

TestNG Listeners

There are mainly two kinds of listeners. First is WebDriver Listeners, and the second is TestNG Listeners. In this tutorial, we will learn TestNG listeners in detail, covering their types, implementation, and practical use cases with examples. What are TestNG…

TestNG Assertion in Selenium

Why do we use Assertion in Selenium

TestNG assertion in Selenium is basically blocks of code that are placed in the test cases to check/verify the success of certain conditions in the test script and decide whether the test has failed or passed. A test will be…