Selenium WebDriver

Home/Selenium WebDriver

WebDriver Manager with Maven

By |2018-12-18T10:58:12-06:00December 18th, 2018|Categories: Selenium WebDriver|

When using Selenium WebDriver, you may be aware that you're scripts must always know about the driver server (chromedriver, geckodriver etc.). This can be done in various different ways; setting the path in each script or adding the folder to the system path. We now have another, easier method; WebDriver Manager. WebDriver Manager will handle the [...]

Comments Off on WebDriver Manager with Maven

Take a Screenshot if a Test Fails using JUnit

By |2018-12-18T10:14:16-06:00December 18th, 2018|Categories: Selenium WebDriver|Tags: , , , , |

How to check if a Test has failed using JUnit? This blog introduces the JUnit TestWatcher Class. We can use this to detect the Status of a Test Case, and if it has failed, we can then invoke a Method to do something - in this case, report the error and take a screenshot. There are [...]

Comments Off on Take a Screenshot if a Test Fails using JUnit

IntelliJ with Cucumber and Selenium WebDriver Java

By |2018-05-31T10:56:31-06:00May 31st, 2018|Categories: BDD, Cucumber, Selenium WebDriver|Tags: , , , , |

In this blog we will explore how to set up IntelliJ to create a Maven project for using Cucumber with Selenium WebDriver Java Pre-requisites JDK Install Install Java Development Kit from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Add a Windows environment variable (system properties, WinKey + Pause -> Advanced System Settings -> Environment Variables) JAVA_HOME to point at the JDK directory. [...]

Comments Off on IntelliJ with Cucumber and Selenium WebDriver Java

Selenium WebDriver and Jenkins Integration

By |2018-05-30T10:44:29-06:00May 30th, 2018|Categories: Automated Testing, Selenium WebDriver|Tags: , , , , |

How to integrate Selenium WebDriver Java, GitHub, Jenkins and Ant In this tutorial, we are going to be walking through the process of setting up Selenium WebDriver Java with source control and continuous integration. To do this, firstly we are going to need a few things. Prerequisites: Eclipse downloaded and installed WebDriver libraries downloaded Jenkins installed [...]

Comments Off on Selenium WebDriver and Jenkins Integration

Setting up a Cucumber Project in Eclipse using Maven

By |2018-03-20T15:30:06-06:00March 20th, 2018|Categories: BDD, Cucumber, Selenium WebDriver|Tags: , , , , |

Maven Cucumber and WebDriver Projects in Eclipse In our Selenium courses we tend to use Ant for building, executing from command line, and creating reports. However, you may wish to use Maven, which makes projects much easier to manage. So in this blog we show you how to set up your Cucumber project in Eclipse using [...]

Comments Off on Setting up a Cucumber Project in Eclipse using Maven

Highlighting Web Elements

By |2018-02-23T12:16:44-06:00February 23rd, 2018|Categories: Automated Testing, Selenium Grid, Selenium WebDriver|Tags: , , , |

Highlighting Web Elements with Selenium WebDriver C# Selenium WebDriver is a test automation tool used to drive web applications (hence the name) :D. It works at the user interface level, so it will click on buttons, enter text into text fields, perform validations for us etc. as well as a multitude of other functions. One issue, [...]

Comments Off on Highlighting Web Elements

ChromeDriver Options for starting Chrome with WebDriver

By |2017-10-13T09:34:25-06:00October 13th, 2017|Categories: Selenium WebDriver|Tags: , , , , |

In this Blog we take a look at some of the options provided with the ChromeDriver Server for starting Chrome with various options when using Selenium WebDriver. The examples are in C# so you may need to tailor for Java. Set Path to the ChromeDriver Server [crayon-647f5bd95fc43747403729/] or you could add the path to chromedriver.exe in [...]

Headless Browser Testing

By |2017-10-13T09:37:38-06:00October 11th, 2017|Categories: Selenium WebDriver|Tags: , , , , , |

Headless Browser Testing - Selenium WebDriver Headless browser testing is simply testing a web pages functionality, without a GUI present. There are various different browsers we could use for this, including: Chrome Firefox PhantomJS HtmlUnit PhantomJS is the only driver that must be downloaded separately, the other three, come bundled in with their corresponding driver servers, [...]

Comments Off on Headless Browser Testing

How to add Microsoft Edge Browser to your Selenium Grid

By |2017-07-07T09:15:59-06:00July 7th, 2017|Categories: Selenium Grid, Selenium WebDriver|Tags: , , , |

This blog follows on from the previous blog about how to set up Selenium Grid for WebDriver or for Ranorex Web Testing. These instructions show you how to also include the Microsoft Edge Browser in your established Grid running on a Windows local host machine. Step 1 - Download MicrosoftWebDriver The first step is to download [...]

Comments Off on How to add Microsoft Edge Browser to your Selenium Grid

How to install Appium Server Command Line on Windows

By |2017-07-05T10:08:27-06:00July 5th, 2017|Categories: Appium, Selenium WebDriver|Tags: , , , , , |

Installing Appium Server on Windows In our Appium courses we use Appium Desktop as it provides a nice GUI wrapper around Appium Server and includes the Inspector for element identification and a step recorder. However, we may wish to integrate our Appium testing into Continuous Integration (CI) such as Jenkins. So we will want to start [...]

Comments Off on How to install Appium Server Command Line on Windows

Contact Info

Go to Top