Browsed by
Tag: WebDriver

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 1

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

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

Apologies if you got a link to the incomplete first attempt at this post. This one is the real deal. It has long been my intention to look at adding multi-platform testing to my set-up, and finally I got my hands on a Mac to see if I could get it working. I am sure that I could easily have got a linux VM up and running in no time, but both my stats for this site, and from gs.statcounter.com…

Read More Read More

C# and the disappearing PageFactory – My next steps in Selenium testing

C# and the disappearing PageFactory – My next steps in Selenium testing

This entry is part 1 of 5 in the series Building a .Net Core PageFactory Framework

Being an Open Source project maintainer is a thankless task Ask Jim Evans, the maintainer of the C# (aka dotnet) language bindings for Selenium Webdriver as well as as the Internet Explorer driver that I am sure just about everyone who has ever written a Selenium test has used. Until I started my new job at Altitude Angel 16 days ago I had spent very little time worrying about the C# language bindings as I have been working in Java. As…

Read More Read More

Implementing Page Blocks

Implementing Page Blocks

I’ve been looking forward to getting around to this for some time. A chance to have a  go at extending WebDriver’s default PageFactory implementation. So what do I mean by a PageBlock? On many websites there are reusable panels that appear on many pages. Many are repeatable blocks within a page and are used in lists such as the article summaries on the homepage. Others occur on many pages throughout a site but are unique within the page such as…

Read More Read More

Injecting the WebDriver not the manager.

Injecting the WebDriver not the manager.

Sorry! I forgot to mention last time that I was having a week off to spend some quality time with my long suffering wife and kids. I have added a fair deal of code, and I don’t plan on explaining all of it here, just the most relevant. Last time, I managed to get dependency injection working, but not in a way that I was at all happy with. My decision to create WebDriverManager classes led me to create a…

Read More Read More