Process E2E Results

Overview

The Process E2E Results Component processes test results from the AfterAll component and sends an email notification with details of the test execution. It also stores results in specified success or failure storage locations.

Usage

This component is used in test automation workflows to handle and report test outcomes via email and structured storage.

Input Ports

Port
Description

in

Receives test results from the AfterAll component.

Output Ports

Port
Description

None

The component does not produce output messages but stores and sends results.

Properties

Property
Type
Description

successStoreId

string

Storage ID where successful test results are saved.

failedStoreId

string

Storage ID where failed test results are saved.

Input Data Schema

Property
Type
Description

recipients

string

Comma-separated list of email recipients.

testCase

string

Name of the test case being processed.

result

string

Test results data from the AfterAll component.

Processing Logic

  1. Receives Test Results: Accepts and parses test result data.

  2. Determines Outcome: Identifies whether the test passed or failed based on the presence of errors.

  3. Stores Results:

    • If successful, stores in successStoreId.

    • If failed, stores in failedStoreId.

  4. Sends Email Notification:

    • If failed, sends an email with detailed test case errors.

    • If the test timed out, sends a timeout notification.

  5. Formats Report: Generates an HTML-formatted summary of the test execution with failure details.

Notes

  • Supports Failure Analysis: Captures failed assertions and logs details.

  • Email Notifications: Notifies test owners of failed tests and timeouts.

  • Structured Storage: Keeps test records organized in designated storage locations.

This component is crucial for automated test result processing, error reporting, and structured test case management.

Last updated