Automation Archives ⋆ james-willett.com

How to Effectively use Groovy GPath in REST Assured – Part 2: GPath JSON

By | Rest Assured | 10 Comments

In part 1 of this series on how to effectively use Groovy GPath in REST Assured, we gave an overview of Groovy. We also covered installation options, the Groovy playground, and some of the basic concepts that will be useful to us for GPath in REST Assured. For part 2, we are going to focus purely on working with GPath JSON in REST Assured. Although XML continues to be widely used amongst APIs…

Read More

How to Effectively use Groovy GPath in REST Assured – Part 1: Overview of Groovy

By | Rest Assured | 6 Comments

Currently I am working on a video tutorial series for REST Assured. One of the topics that I will cover in-depth is how to use GPath in REST Assured properly. I figured I would publish a series of posts on my blog as a warm up to the topic. When working with REST Assured you will almost certainly at some stage want to extract values from elements and perform assertions…

Read More

8 Key Insights from Running a Technical Workshop

By | Articles | No Comments

Last week I was in Prague, running my first ever technical workshop. It was on the stress testing tool Gatling. You can read about my thoughts just before delivering the workshop in this blog post. In this post I am going to highlight 8 insights that I gained from creating and delivering this workshop. Let me start by saying that as a little as a year ago, this is not…

Read More

Running My First Ever Technical Workshop – The Night Before

By | Articles | 2 Comments

Overview of the Workshop This post might not contain any particularly useful content. It’s midnight in Prague, tomorrow I am running my first ever technical workshop. I want to write a post about the workshop, particularly outlying the things that are concerning me. If I don’t write this post tonight, it will be too late. The workshop is a half-day (4 hour) workshop on Gatling, the Scala based stress testing tool. I…

Read More

Unexpected Consequences of becoming a “Technical Tester”

By | Articles | 25 Comments

I want to talk about an experience that has got me thinking in alot more depth about my profession. In my last sprint, I had a story to develop a solution to performance test our system’s midtier. It was late in the day. It was late in the sprint. I had just finished a complex part of my Gatling script. I needed to write a few lambda equations. These would facilitate…

Read More

Software Testing – “It’s just so DULL”

By | Articles | 3 Comments

I recently wrote this blog post on Why Testing is Harder Than Development. The response that I got to it wasn’t quite what I expected. I had anticipated the points in the post being contested, particularly by developers. The general consensus I got though was one of agreement, which is nice I suppose! One comment that I got, from a talented developer friend, struck a cord with me though. Software Testing…

Read More

The Evolution of the Testing Pyramid

By | Articles, Automation | 14 Comments

At work I was recently tasked with leading a case study that would explore the differences between Unit testing and Functional Testing, with the overall aim being to determine if we should be focusing on one over the other, perhaps even exclusively. I figured that since I was going to be doing this work, it would be a good opportunity to write a blog post or two on the subject….

Read More

Appium From Scratch – Preparing for Automation – Part 3: Writing Your First Test

By | Appium, Automation, Mobile | 2 Comments

In this post we are going to build on everything that we have learnt so far about Appium to write out first automated test in our IDE. Before continuing with this post, you should have followed everything in Part 1 and Part 2 first. For this example we will be using the Intellij IDE, if you need some help getting that setup and prepared for automation then do check out…

Read More

Appium – Preparing for Automation – Part 2: Writing XPath to target Elements

By | Appium, Automation, Mobile | One Comment

In the previous blog post in this series we saw how to use the Appium Inspector and the UiAutomatorViewer to interrogate our app and find details of the various elements. In this post, we are going to explore how we can write XPATHs to target those elements. If you have done any previous Selenium automation, then it is likely you will have at least some knowledge of how Xpath works. If…

Read More