WebDriver

Take a Screenshot if a Test Fails using JUnit

By |2018-12-18T10:21:42+00: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

Selenium WebDriver C# and Jenkins Integration

By |2018-09-20T11:28:28+00:00September 20th, 2018|Categories: Selenium WebDriver|Tags: , , , , |

Many people ask us about integrating their WebDriver C# Test Automation with Jenkins. Allowing us to incorporate testing into the wider C.I. approach. This topic is included in all of our Selenium training courses, but here is a quick start with .NET In this blog we have slides on how to integrate Selenium WebDriver C#, GitHub [...]

Comments Off on Selenium WebDriver C# and Jenkins Integration

Selenium WebDriver and Jenkins Integration using Maven

By |2018-12-18T11:38:44+00:00June 1st, 2018|Categories: Selenium WebDriver|Tags: , , |

How to integrate Selenium WebDriver Java, GitHub, Jenkins and Maven 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 (Maven comes with Eclipse) Jenkins [...]

Comments Off on Selenium WebDriver and Jenkins Integration using Maven

IntelliJ with Cucumber and Selenium WebDriver Java

By |2018-05-31T11:06:31+00: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 using Ant

By |2018-05-31T13:59:48+00: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 using Ant

Setting up a Cucumber Project in Eclipse using Maven

By |2018-03-29T14:31:09+00: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 [...]

Highlighting Web Elements

By |2018-03-29T14:31:12+00: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, [...]

ChromeDriver Options for starting Chrome with WebDriver

By |2018-03-29T14:31:13+00: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 System.setProperty("webdriver.chrome.driver","C:\\Drivers\\chromedriver.exe") WebDriver driver = new ChromeDriver(); driver.get("http://www.google.com"); or you [...]

Headless Browser Testing

By |2022-11-22T16:20:09+00: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, [...]

How to set up a Linux Virtual Machine for Selenium Grid – Part 2

By |2018-03-29T14:31:14+00:00August 14th, 2017|Categories: Selenium Grid|Tags: , , , , , |

Linux Virtual Machine for Selenium Grid Part 2, link to part 1 Step 6 - Software installation and updates Xubuntus default Web Browser is Mozilla Firefox, and can be launched from the Application Launcher by clicking “Web Browser”. Checking the currently installed version from Help>About Firefox we see it’s the somewhat out-of-date version 45. There’s no [...]

Contact Info

Lasyard House, Underhill St. Bridgnorth WV16 4BB

Phone: +44 (0)333 939 8884

Go to Top