- Getting started
- Project management
- Project operations and utilities
- Test Manager settings
- ALM tool integration
- API integration

Test Manager user guide
Working with Heatmap
link- Application components: Visual containers that group related SAP transactions under a specific component or module.
- Transactions: Boxes inside components representing individual SAP
transactions or programs. Eachbox displays transaction data, such as:
- Transaction name
- SAP code
- Testing status and coverage
Create test cases in Studio
linkTo get started with the Heatmap, you need to create test cases for your SAP transactions with UiPath Studio. To ensure the Heatmap accurately shows which transactions are covered by tests and their status, you need to set the Studio project Enable SAP monitoring setting to True.
Linkage and connection between heatmap, test cases and transactions
TRAN:SAP_CODE
or
PROG:SAPPROGRAM
.
Create Purchase Order
,
with ME21N
as its SAP code, has the TRAN:ME21N
label.
If you want to create a test case for this transaction, the same label appears in the
Labels field of the Create Test Case dialog box.
Configure Heatmap ratios and settings
linkAfter you create test cases in UiPath Studio for your SAP transactions, you can configure the ratios and settings based on which the Heatmap will display the test relevance and coverage.
Changing the heatmap settings
The Heatmap is generated based on the values of five SAP attributes. You can configure the assignment ratios to prioritize the attributes most relevant to your testing strategy.
SAP attribute | Description | Default value |
---|---|---|
Users | The number of users using the transaction. | 40 |
Execution | The number of executions per transaction. | 10 |
Time | The overall processing time it takes for a transaction to execute. | 10 |
Object | The number of development objects used in a transaction, such as screens, functional modules, tables. | 10 |
Intensity | The type of transaction:
| 30 |
100
.
SAP FIORI landing pages
Additionally, you can enable or disable the Visibility of SAP Fiori landing pages in the heatmap.
Direct connection to SAP instance
- Select the gear icon
in the top-right to open the Heatmap settings.
- Change the assignment ratios according to your use case.
For example, to highlight the most intense transactions (of type Create), rather than the most used ones, change the User ratio to
10
, and then the Intensity ratio to60
. - Under Visibility, select the Display SAP FIORI landing pages toggle, to display SAP FIORI landing pages in the heatmap.
Connection with CSV file
Z_UIPATH_CUST_HEATMAP_DOWNLOAD
program, go in the
Parameters tab and configure the ratios.
Understanding the Heatmap results
linkThe analysis of Heatmap results involves viewing the test coverage of your transactions, filtering test coverage types, and reviewing transaction overviews. Explore the following topics to gain a comprehensive understanding of how to examine Heatmap results.
Viewing test coverage for transactions
To see which transactions have automated tests, and the results:
- Under the heatmap, select Passed to see the transactions that passed their test results.
- Under the heatmap, select Failed to see the transactions that failed their test results.
- Under the heatmap, select No test case executed to see the transactions for which no test case was executed.
- Under heatmap, select No test case assigned to see the transactions that don't have any test cases assigned to them.
- Under heatmap, select Show all (selected by default) to see all the above transactions.
Filtering heatmap transactions
-
Open Heatmap and select the number of transactions you want to appear
from the All Transactions dropdown:
- All transactions (default)
- Top 10 transactions
- Top 20 transactions
-
Select the start time for transactions from the Last week
dropdown:
- Last Month (default)
- Last Week
-
Last Day
The start and end time of transactions is displayed next to the Time Period dropdown.
-
Select the types of transactions that you want to appear from the All
transaction types dropdown:
- Standard transactions
- Custom transactions
-
Select the types of interfaces where you want to see transactions from the
All interface types dropdown:
- [T] - Transaction in SAP WinGui
- [R] - Report/Program in SAP WinGui
- [W] - Transaction in SAP WebGui
- [F] - Application in SAP Fiori
Checking the overview of a transaction
- Select a transaction from the heatmap.
- Under Details of selected transaction: Maintain Transaction Codes, select Overview
- Check out the Transaction Name and its SAP Code.The SAP Code of a transaction is used to generate a unique label
Creating test cases and test sets
linkAfter you analyze the results displayed in the Heatmap, you can start improving your testing portfolio, by creating test cases and test sets for uncovered or failed transactions. Check the following pages for steps on creating test cases and test sets for a specific transaction.
Creating test cases for a specific transaction
TRAN:SAP_CODE
or PROG:SAPPROGRAM
.
Create Purchase
Order
, with ME21N
as its SAP code, has the
TRAN:ME21N
label. If you want to create a test case for this
transaction, the same label appears in the Labels field of the Create Test
Case dialog box.
- Select a transaction from the heatmap.
- Under Details of selected transaction: Maintain Transaction Codes, select Test Cases.
- Select Create Test Case and configure the test case that you want to create.You can add other labels next to the one already assigned to the test case.Important:
When you create a test case for a specific transaction, make sure you leave the label already assigned to the transaction untouched. Otherwise, the test case that you create won't be linked to the transaction.
For this example, the label that is already assigned isTRAN:SE16
.
Learn more about linking test cases to transactions here.
Creating test sets for a specific transaction
- Create test cases for a specific transaction.
- Select the transaction for which you created the test cases.
- Under Details of selected transaction: Maintain Transaction Codes, select Test Sets, and configure the test set that you want to create.Tip:
To ease the process of linking a test set to a transaction, add the label of the transaction to the test set that you want to link. This way you can search for the test set you just created, using that specific label.
For this example, the same label we used to create the test cases (TRAN:SE16
) we added to the test set. - After you create the test set, navigate to Test Sets in Test Manager.
- Search for the test set you created and open it.You can search for the test set using the label that you added at Step 3.
- Select Tasks > Assign Test Cases > Static Assignment.
- Search for the test cases that you created at Step 1 and assign them to this test set.
- Navigate back to the Heatmap page, select the transaction, and check out the test set assigned to it.
Linking Orchestrator test set to a transaction
link- Select a transaction, and under Details of selected transaction: Maintain Transaction Codes, select Test Sets.
- Select Link, choose the Orchestrator test sets that you want to link, and select Link.
Execute test sets for a transaction
link- Link a test set to a transaction.
- Select More Options
inline with the test set that you want to execute.
- Select one of the following:
- Execute Manually
- Execute Automated
- Check out the test results in the heatmap.
Heatmap attachments
linkThe SAP data that generates the heatmap can be found in Test Manager's Dashboard, under Attachments:
- For ConnectSapInstance as Data Source: three JSON files are attached (for Day, Week and Month)
- For UploadFromCSV as Data Source: the uploaded CSV file is attached.
- Create test cases in Studio
- Linkage and connection between heatmap, test cases and transactions
- Configure Heatmap ratios and settings
- Changing the heatmap settings
- Understanding the Heatmap results
- Viewing test coverage for transactions
- Filtering heatmap transactions
- Checking the overview of a transaction
- Creating test cases and test sets
- Creating test cases for a specific transaction
- Creating test sets for a specific transaction
- Linking Orchestrator test set to a transaction
- Execute test sets for a transaction
- Heatmap attachments