For the Mazda project we introduced an extra layer of abstraction above the concept of Page Objects: a Scenario.

A scenario describes a small functional behavior and uses Page Objects to drive the scenario. A scenario can depend on other scenario's that need to be executed first. Every scenario corresponds to a JUnit test, so it can run in a test suite. Every scenario will only run once, either as a junit test or as a dependency from another scenario. Artifacts and state reproduced by a scenario can be used by other scenario's that depend on this scenario.

These scenario's are run in parallel. I would like to extract the core behaviour from scenario's from the Mazda project to a utitlity library published on Maven Central. The Mazda specific behaviour will be pulled into Strategy classes.

Built With

Share this project:

Updates