Here is an example for taking screenshots at runtime, and for comparing images/screenshots at runtime with the help of an external (Java-based) tool:
These files need to be placed into the test suite folder (not in any of the test case folders).
- CompareImages.bat (for Windows)
- CompareImages.sh (for Unix)
- CompareImages.class (compiled with JDK 1.8.0_112)
|For CompareImages.sh the execute flag must be set:|