Mark Winteringham

Mark Winteringham

Twitter: @2bittester

LinkedIn: markwinteringham

Blog: softwaretestingclinic

Company: mwtestconsultancy

Session Preview

Mark is a tester, coach, teacher and international speaker, presenting workshops and talks on technical testing techniques. He has worked on award-winning projects across a wide variety of technology sectors working with various Web, mobile and desktop technologies and is an expert in technical testing, test automation and a passionate advocate of risk-based automation and automation in testing practices which he blogs about at Mark is also the co-founder of the Software Testing Clinic in London, a regular workshop for new and junior testers to receive free mentoring and lessons in software testing.

Session - REST APIs and WebDriver: In Perfect Harmony

Jan 10 11-11:55 PM

A common pattern that Automator's fall into is trying to execute every action of a test via the UI, from logging in, creating required data, navigating to that specific data and then running assertions on it before logging out. This can lead to tests that are slow to run and likely to break due to the reliance on many Web elements.

This talk will demonstrate to participants how they can use HTTP request libraries and WebDriver in harmony. We'll cover how HTTP request libraries can take care of state manipulation and data setup so that WebDriver can be used to focus on the areas WebDriver is strongest at.

We'll look at:

* How we design a test and what actions are involved in the execution of a test
* How we can break up the different actions of a test and assign different tasks to different libraries
* A practical demonstration of how to add an HTTP request library into a current WebDriver based framework to create data for WebDriver to use
* An approach participants can use to organise HTTP request code to make it DRY and reliable
* Tips and tricks for participants to use to help them determine what HTTP requests and WebDriver can help them with

Participants will leave with a deeper appreciation for the strengths of WebDriver and how to effectively improve their frameworks reliability and speed.