Browsed by
Tag: Java

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

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

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