REST APIs and WebDriver: In Perfect Harmony - Created by Mark Winteringham / @2bittester © 2017

REST APIs and WebDriver:

In Perfect Harmony

'I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail'

- Abraham Maslow, 1966

https://en.wikipedia.org/wiki/Law_of_the_instrument

Source code

https://github.com/mwinteringham/api-webdriver-harmony

State management

Algorithm

Codified oracle

Reporting

Execution

Deterministic

STATE MANAGEMENT
STATE MANAGEMENT
ALGORITHM
CODIFIED
ORACLE

State Management

STATE MANAGEMENT

Dog fooding?

Algorithm

STATE MANAGEMENT
ALGORITHM

State Management (again)

STATE MANAGEMENT
STATE MANAGEMENT
ALGORITHM
STATE MANAGEMENT
ALGORITHM

Wrap up - Why is this worth doing?

  • Deterministic
  • Increased speed
  • Reduced maintenance costs
http://yahccs.freewebspace.com/Puzzles/puzzles.html

Recommended reading


www.mwtestconsultancy.co.uk

Questions?

@2bittester