Bearbeiten

Freigeben über


Regression suite automation tool (RSAT)

Note

Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.

The Regression suite automation tool (RSAT) significantly reduces the time and cost of user acceptance testing (UAT) for finance and operations apps. Typically, you need to complete UAT before you take a Microsoft application update or before you apply custom code and configurations to your production environment. RSAT enables functional power users to record business tasks by using Task recorder and then convert the recordings into a suite of automated tests, without needing to write source code. For more information about Task recorder, see Task recorder resources.

RSAT is fully integrated with Microsoft Azure DevOps for test execution, reporting, and investigation. Test parameters are decoupled from test steps and stored in Microsoft Excel files.

In addition to this article, RSAT usage is described in these articles:

Getting started videos

These videos help introduce RSAT and get you started.

Use task recorder to create a test case for RSAT

The How to use task recorder to create a test case for the Regression suite automation tool (RSAT) video is included in the finance and operations playlist available on YouTube.

Create a test plan in Azure DevOps to use with RSAT

The How to create a test plan in Azure DevOps to use with the Regression suite automation tool (RSAT) video is included in the finance and operations playlist available on YouTube.

How to use RSAT

The How to use the Regression suite automation tool (RSAT) video is included in the finance and operations playlist available on YouTube.

The improved Excel experience in RSAT 2.0

The Improved Excel experience in RSAT 2.0 video is included in the finance and operations playlist available on YouTube.

End-to-end flow

RSAT is part of the end-to-end flow described in the following section. RSAT, Microsoft Dynamics Lifecycle Services, and Azure DevOps provide a set of tools for test case authoring (using Task recorder), distribution, configuration, execution, investigation, and reporting.

Screenshot of the Author, configure, and execute flow.

For more information about this process, see Create and automate user acceptance tests.

Lifecycle Services, BPM, and Task Recordings

You don't need to use the Business process modeler (BPM) tool in Lifecycle Services. However, use BPM if you want to manage and distribute test libraries across projects and tenants. These capabilities are especially useful for Microsoft partners and independent software vendors (ISVs). BPM enables the distribution of test libraries as part of Lifecycle Services solutions.

If you don't use BPM, you can manually create test cases in Azure DevOps and attach developer recording files to your Azure DevOps test cases. You can create developer recording files directly from the Task recorder pane.

Screenshot of Save task recording as developer.

Before you attach the developer recording file to the Azure DevOps test case, name it Recording.xml. Alternatively, you can name the recording file -Test Case Title-.xml, where -Test Case Title- is the DevOps title of the test case.

Screenshot of Add attachment.

Intended usage and test classification

Business cycle (business process) testing

Use RSAT for business cycle tests and scenario tests (multiple component tests) that usually occur at the end of the development lifecycle. This testing is also referred to as user acceptance testing. As the following illustration shows, business cycle testing consists of fewer test cases than component testing or unit testing.

Screenshot of Unit tests, component tests, multiple component tests, business cycle tests.

Cloud POS

In addition to testing processes recorded by using the finance and operations Task recorder, RSAT also supports testing of Cloud POS processes in Dynamics 365 Commerce. For more information about RSAT with Cloud POS, see Test recorder and Regression suite automation tool for Cloud POS.

Warehouse mobile app

You can use RSAT in combination with the Warehouse App Task Validation Framework to automate the testing of warehouse processes. This Tech Talk is a good reference to get started.

Unit and component testing

For unit tests, don't use RSAT. Instead, use the SysTest framework and the build/test automation tools. For component tests, take advantage of the Acceptance test library resources (ATL). ATL is a library of X++ test helpers. When used with the SysTest framework, it offers the following benefits:

  • Lets you create consistent test data.
  • Increases the readability of test code.
  • Provides improved discoverability of the methods that are used to create test data.
  • Hides the complexity of setting up prerequisites.
  • Supports high performance of test cases.

For more information, see Continuous delivery home page.

Data integration testing

Don't use RSAT for integration tests. Instead, rely on the data management framework (also known as DIXF). The Data task automation framework enables you to configure and automate the testing of your data integration scenarios.

RSAT user interface overview

RSAT 2.6 introduced a modern user interface that simplifies navigation through the main components of the app. The interface includes a Quick links tab, and quick navigation to DevOps test suites and test runs.

Use the left navigation pane to navigate between the test plan, settings, Cloud POS settings, and the quick links page.

Test Plan

The Test plan tab is the main tab that you use to interact with and execute test cases.

Screenshot of the UI Test Plans Tab.

The Test Plan tab is where the main page is located. You manage and run tests, and inspect test results. You can navigate between elements on this page by tapping or clicking. For improved productivity, you can use the available keyboard shortcuts. Some shortcuts are active only when a test case is selected.

Action Shortcut
Load (Load test plan from Azure DevOps project) ALT+L
Generate (Create local automation files [execution files only]) – This action is the same as selecting New in earlier RSAT versions. ALT+G
Run ALT+R
New (Add new Test Case) ALT+N
Parameters ALT+P
Edit (Open test case details page) ALT+E
Delete (Delete test case) – A message box prompts you to confirm deletion. ALT+D

Settings

Select the Settings tab to configure RSAT settings. Use the top bar to navigate between general, optional, and process settings. You don't need to save your settings. The system automatically saves settings as soon as you navigate out of the settings page. You can also save your settings in an RSAT settings file or open an existing settings file.

Screenshot of the UI Settings Tab.

Cloud POS Settings

Select the Cloud POS Settings tab to configure RSAT to execute Cloud POS test cases. You don't need to save your settings. The system automatically saves settings as soon as you navigate out of the settings page.

Screenshot of the UI Cloud POS Tab.

The Links tab provides new functionality. Select the Links tab to quickly navigate to your finance and operations environment, Cloud POS, or useful Azure DevOps pages that show recent test runs, the last test run, and the current test plan. There's also a link to the RSAT docs page.

Screenshot of the UI Links Tab.

Quick navigation to Azure DevOps

When you work with your test plan, the Open button now provides three options.

  • Open the selected test case in Azure DevOps.
  • Open the selected test suite.
  • Open the recent test runs.

This tab provides quick access to the most relevant pages in Azure DevOps.

Screenshot of the UI DevOps Navigate.