Twist generates HTML Reports in the following ways:
- Reports are generated under <your project>/reports after each execution of one or more scenarios in Twist.
The actual path of the generated report is displayed in the Console view.
Note that generate_local_report property in twist.properties file must be set to true in order to generate Html Reports locally. You can read about editing the properties file here.
- Reports are also generated when the scenarios are executed using Ant. The folder where reports must be stored is specified as an argument to the Ant target.
Sample Execution Report
First section of the report is a Summary where it gives details such as the total number of tests executed with number of failures, errors, success rate and total time taken to execute.
This section is followed by the Scenarios summary where it lists out all the executed scenarios with results and time taken to execute.
This is followed by individual test execution reports.
In case of error/failure, report shows more details such as a screenshot of the application at the point of failure and execution stack traces (if any). The failed workflow step will be highlighted in red.
You could copy the stack trace and paste it in the Console View in Twist. The stack trace elements are now click-able and can be used to quickly navigate to the point of failure.