How to manually set report states
This document will explain how it’s possible to configure how states are captured for a web document in a report.
Normally reports are created by stepping through each state of the document and capture a screenshot. However, sometimes it can be desirable to either link states together or skip states. Here are some cases where it can be useful/necessary to manually configure how states should be captured in reports:
If states are inherited from fragments and those fragments are repeated in each document
If states have dependencies on each other, e.g. states inside a popup
The order of states is important in the report
Requirements
The document must have a link to the external JavaScript file. Example:
Adding script
The configuration is done per slide in the script.js file. Here is an example for a slide with three states, where two are dependent of each other.