Monthly Archives: December 2018

//December

Writing back to the Data Table in Ranorex

By |2018-12-18T11:15:11+00: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+00: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+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

Contact Info

Phone: +1 231 234 3507