Blog

/Blog/

Writing back to the Data Table in Ranorex

By |2018-12-18T11:15:11-06:00December 18th, 2018|Categories: Ranorex|

Writing to Excel in Ranorex This blog looks at a commonly asked question in Ranorex - how do we write back to an Excel data source when using a data-driven test? There are many approaches to this, but in this example we are going to use Microsoft's Excel Interop Object Model. The example is a standard [...]

Comments Off on Writing back to the Data Table in Ranorex

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

Using Git & GitHub with Ranorex

By |2018-11-16T13:42:50-06:00November 16th, 2018|Categories: Ranorex|

Using Git & GitHub with Ranorex In this tutorial, we will be walking through the process of setting up Git/GitHub with Ranorex. This demo will be using Ranorex 8.3 but this will work on most recent versions of Ranorex too. Step 1 (All Testers) -  Set up Git/GitHub Install Git – https://git-scm.com/downloads Install TortoiseGit for Windows [...]

Comments Off on Using Git & GitHub with Ranorex

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

BDD using Ranorex, NUnit, POM in Visual Studio 2017 part 3

By |2018-03-19T16:06:06-06:00March 19th, 2018|Categories: BDD, Ranorex, SpecFlow|Tags: , , , , , , |

This is the final part of our 3 part blog on integrating Ranorex with SpecFlow in Visual Studio and creating a Page Object style framework In this last part we look at bringing in BDD using SpecFlow. BDD with SpecFlow OK, now we have our own Ranorex POM framework sorted, lets extend this into BDD using [...]

BDD using Ranorex, NUnit, POM in Visual Studio 2017 part 2

By |2018-03-19T15:58:25-06:00March 19th, 2018|Categories: BDD, Ranorex, SpecFlow|Tags: , , , , , , |

This follows on from part 1 of our BDD with Ranorex 8 blog So far, we have done all the required set up in Visual Studio, now let's create our test framework! Base Test Class As all of our tests need to start and stop browsers and deal with the web page (DOM), lets just do [...]

BDD using Ranorex, NUnit, POM in Visual Studio 2017 part 1

By |2018-03-19T15:51:40-06:00March 19th, 2018|Categories: BDD, Ranorex, SpecFlow|Tags: , , , , , , |

BDD using Ranorex, NUnit, POM in Visual Studio 2017 In this example, we are going to work through creating a BDD project in Visual Studio using SpecFlow and Ranorex. This is to show that we can do BDD using Ranorex, but as a draw back we don’t have access to Object Repositories. This could create a [...]

Contact Info

Phone: +1 231 234 3507