Knowledge Base Article

Home Page > Knowledge Base > Rapise

Home Page > Knowledge Base > Rapise > Rapise Desktop

Home Page > Knowledge Base > Rapise > Rapise Mobile

Home Page > Knowledge Base > Rapise > Rapise Web

Article Customizing the Rapise Reports

by Adam S on Saturday, August 22, 2015

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.
For example in our main script, we have these 3 test cases:

function Test()

Now, what we want to do is have a hierarchical report:
  • The report we want should be high level details first i.e
    • TestName Results
      • 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:

        Tester.BeginTest("Nested Test");

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.

Article Info
Last Updated: 8/22/2015
Article ID: KB168
# Views: 563
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2017 | Licensed to Inflectra Corporation.