Test Suite
2023.10
false
Banner background image
Test Suite User Guide
Last updated Feb 28, 2024

Working with Heatmap

Viewing test coverage for transactions

To see which transactions have automated tests, and the results:

  1. Under the heatmap, select Passed to see the transactions that passed their test results.
  2. Under the heatmap, select Failed to see the transactions that failed their test results.
  3. Under heatmap, select No test case assigned to see the transactions that don't have any test cases assigned to them.
  4. Under heatmap, select Show all (selected by default) to see all the above transactions.
docs image

Filtering heatmap transactions

  1. Open Heatmap and select what transactions you want to appear from the Top Transactions dropdown:
    1. All transactions (default)
    2. Top 10 transactions
    3. Top 20 transactions
  2. Select the start time for transactions from the Time period dropdown:
    1. Last Month (default)
    2. Last Week
    3. Last Day
      The start and end time of transactions is displayed next to the Time Period dropdown.

Changing the heatmap settings

Changing the heatmap settings involves changing the assignment ratios of the SAP attributes used to generate the heatmap.

Direct connection to SAP instance

  1. Select the gear icon docs image in the top-right.
  2. 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 to 60.


Connection with CSV file

After you run the Z_UIPATH_CUST_HEATMAP_DOWNLOAD program, go in the Parameters tab and configure the ratios.


Learn more about SAP attributes and assignment ratio here.

Checking the overview of a transaction

  1. Select a transaction from the heatmap.
  2. Under Details of selected transaction: Maintain Transaction Codes, select Overview
  3. Check out the Transaction Name and its SAP Code.
    The SAP Code of a transaction is used to generate a unique label
docs image

Creating test cases for a specific transaction

  1. Select a transaction from the heatmap.
  2. Under Details of selected transaction: Maintain Transaction Codes, select Test Cases.
  3. 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 is TRAN:SE16.


Learn more about linking test cases to transactions here.

Creating test sets for a specific transaction

  1. Create test cases for a specific transaction.
  2. Select the transaction for which you created the test cases.
  3. 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.


  4. After you create the test set, navigate to Test Sets in Test Manager.
  5. 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.
  6. Select Tasks > Assign Test Cases > Static Assignment.
  7. Search for the test cases that you created at Step 1 and assign them to this test set.


  8. 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

  1. Select a transaction, and under Details of selected transaction: Maintain Transaction Codes, select Test Sets.
  2. Select Link, choose the Orchestrator test sets that you want to link, and select Link.

Executing test sets for a transaction

  1. Link a test set to a transaction.
  2. Select More Options docs image inline with the test set that you want to execute.
  3. Select one of the following:
    • Execute Manually
    • Execute Automated
  4. Check out the test results in the heatmap.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.