Browsed by
Category: PageFactory Tutorial

Launching WebDrivers in .net Core

Launching WebDrivers in .net Core

This entry is part 3 of 9 in the series Launching WebDrivers in .NET Core the easy way

As discussed last time, the goal is to be able to run my tests on any .net Core platform. So right from the get go, lets work out how to get a WebDriver fired up. As ever I develop on Windows and I still have Ubuntu 18.4 installed on the Windows Subsystem for Linux (WSL) with an Xming Xserver so in theory I can also test in Linux. Unfortunately, whatever happened to my network whilst I was on holiday finally…

Read More Read More

Starting to build a (new) .net Core PageFactory

Starting to build a (new) .net Core PageFactory

This entry is part 2 of 9 in the series Launching WebDrivers in .NET Core the easy way

I am ridiculously excited to finally be getting back to writing code for this project. In fact I have spent far too long coding, and have left the blogging for a while so I have plenty to catch up on. Episode IV – A new beginning If you followed through my previous posts around building a Selenium WebDriver test framework in Java, you may remember that the last thing that I completed was to get it running cross platform. Anyone…

Read More Read More

Opinion: Writing automated system tests is a great way to test a website / webapp.

Opinion: Writing automated system tests is a great way to test a website / webapp.

A few weeks ago I wrote a post explaining how running automated tests does not perform the same function as (good) manual testing. In a recent project, I was reminded that although running the tests is not deep testing, writing them is. I am very fortunate that I work with developers who are hot on quality and focused on writing appropriate unit tests for all their code, but what is the most cost effective way to have confidence that the…

Read More Read More

Going multi-platform: Running the tests from MacOs and Linux

Going multi-platform: Running the tests from MacOs and Linux

Just a quickie tonight. Part of the reason for writing anything in Java is its ability to run on many devices. Before I move on from Java to dotnet and C# there are a couple of things to complete. In principle it should be no problem to call gradle to run my tests on both Linux and Macos. I’m going to cheat a little with Linux by running on Ubuntu on the Windows Subsystem for Linux. While we are at…

Read More Read More

Going Multi-Platform – Adding a Mac to the Grid: Part 2

Going Multi-Platform – Adding a Mac to the Grid: Part 2

This entry is part 5 of 5 in the series Building a WebDriver Grid

Last time I discussed the differences in setting up a Mac as a node on a Selenium grid. That is not even half the battle however as I also need to get the supporting code in the framework and find out if I have to work around any differences in the WebDriver implementations. Back in January I wrote some tests checking that the framework was launching the correct browser and getting this working properly. I enjoy the challenge of writing…

Read More Read More