By default, the reports displayed within Rapise report back each test activity and assert statement as a line in the report with all of the activities and events being displayed in a single flat list regardless of whether they happen inside the main Test() function or a sub-function. This articles explains how you can extend the reporting.
example in our main script, we have these 3 test cases:
Now, what we want to do is have a hierarchical report:
The report we want should be high level details first i.e
- Scenario1 PASS
- Scenario2 PASS
- Scenario3 FAIL
Then upon click on the + sign, all the low level details (such as steps,
images) are present.
An example of how to extend the reporting is provided with Rapise called "Using Reporting", if you go to the Start Page in Rapise and click on the "Browse Samples" then you will see a fully created example with embedded comments that explains how to do this.
In this example, it generates a hierarchical multi-level report with custom columns using:
This sample also demonstrates how to use a:
block that forces Rapise to ignore failures within some sequence of actions.
Together these allow you to have much more control over the reporting, and have the report include/exclude certain elements as well as display the data in a hierarchical manner.
Selected files will be attached to any email sent on saving ticket.
There was an error.