Home » Enterprise Java » Selenium


Selenium Javascriptexecutor Tutorial

1. Introduction Java Script executor is an interface of Selenium WebDriver that has the functionality similar to that of Java Script and can interact with HTML DOM elements. Instead of using driver.findElement method of the Selenium WebDriver we can use JavaScriptExecutor Interface to perform similar action on the Page. It provides advantages over FindElement method while handling tricky XPath as ...

Read More »

Selenium Tutorial for Beginners

In this tutorial, we will be overviewing Selenium automation tool in detail; we will be exploring Selenium WebDriver and discussing about identifying elements on the different Browsers using methods such as XPath, ID, CSS Selector and others. Selenium has three components, Selenium IDE, Selenium WebDriver formally known as Selenium Remote Control (RC) and Selenium Grid. Lastly, we will be also ...

Read More »

Selenium Keyboard Events Example

1. Introduction In this tutorial we will be discussing about the Advance User Interactions API. Using these APIs, we can perform actions on a web page similar to a user would interact on the user using keyboard and mouse. The Actions interface and Action classes are two modules of the API that needs to be implemented to make use of ...

Read More »

Selenium Headless Browser Testing

Headless browser refers to running tests in browser like simulation without having to invoke a browser or without a GUI. In this example set, we will be using Headless browser to run test cases. We will be also discussing about the Headless browser in detail, about its importance as well as the caveat to keep in mind while using it. ...

Read More »

Selenium Expected Condition Example

In this example set, I will be covering how the Selenium Excepted Conditions works. Before diving into use of ExpectedConditions in Selenium we must understand why do we need it. By default, Selenium doesn’t wait for elements once the page gets loaded. Thus, if the element is not present, then Selenium will throw NoSuchElement Exception. To overcome this, we need ...

Read More »

Using Selenium with Maven and Apache POI

In this example, we are going to see how can we fetch the data from Excel sheet using Apache POI and use those data to search on google.com using Selenium WebDriver. We will be also using Maven to configure dependencies for Selenium and Apache POI. 1. Introduction Selenium is a browser automation tool. It consists of Selenium-IDE, Selenium Web Driver and ...

Read More »

Selenium Grid Example

1. Introduction In this tutorial, we are going to explain what Selenium Grid is and how you can use it in your project. We are going to install and configure the Selenium Grid, write and execute the tests on it. Selenium Grid is one of tool from Selenium framework. It is the distributed system for execution tests. It has few ...

Read More »

Selenium JUnit Example

1. Introduction In this article, we are going to show how you can write automation tests by Selenium and JUnit. Selenium is tools for building automation tests. Selenium can be used only for testing web applications. When Selenium executes the test, it injects the JavaScript codes to browser or it uses the native browser API. It does not mean that ...

Read More »

Selenium Installation Example

1. Introduction In this tutorial, we are going to show how you can install the Selenium IDE, Selenium Server and Selenium WebDriver. Selenium is the tool for automation testing web apps. Selenium consists from IDE, WebDrivers and Server. The general scenery of testing in Selenium is to record the user activities by Selenium IDE and after that to run this ...

Read More »

Selenium IDE Tutorial

1.Introduction In this tutorial, we are going to show how you can test your web app by Selenium IDE. Selenium IDE is the Firefox plugin, which can record the user browser action and run it automatically further. We are going to install the Selenium IDE, explain most useful controlls and panels, record the simple use cases and run it automatically ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns