The Result tab in a Unit allows you to define how the outcome of that Unit should be evaluated and what key information should be displayed after execution.
By configuring the Result settings, you can make it easier to understand whether the Unit succeeded, what important values were generated, and how the execution should proceed inside a Scenario.
⚙️ How it works
Inside the Result tab in the Unit, you can configure and review three main areas:
1) Result Status
Result Status defines how the Unit determines whether it has passed or failed once execution reaches the end.
You can specify whether the Unit should be marked as Pass or Fail.
You can also choose a Variable to display as part of the result message.
In addition to Variables, you may include plain text.
For example:
"The result is Pass with @OrderNumber"
The result value configured here will appear in the execution results when this Unit runs as part of a Scenario, allowing users to quickly identify the outcome of each test case.
2) Result Info List
The Result Info List provides a clear overview of all Result Info steps configured within the Unit.
A Result Info is any important value you want to show to the user after execution.
You can select any Variable and mark it as Result Info.
For example, in a VA01 Unit, common Result Info values might include:
Order Type
Sales Order Number
These Result Info values will be displayed in the Scenario execution results, helping users quickly understand key business data generated during each run.
3) End Unit List
The End Unit List shows all End Unit steps configured in the Unit.
An End Unit step allows you to determine Pass or Fail conditions during execution and branch the Scenario accordingly.
For example, in SAP processes such as VA01, you might encounter a situation where:
The system displays a warning message asking whether to continue saving the order
Or a validation message indicates that required data is missing
In such cases, an End Unit step can be used to:
Stop the Unit and mark it as Fail
Or allow the Scenario to continue based on the condition
This makes it possible to control execution flow dynamically depending on SAP messages or business logic.
Comments
0 comments
Please sign in to leave a comment.