MSBA-343 · Lesson 7 of 12 · 19 min

Regression suite automation

▶ Video coming soon A video version of this lesson is on the way.

Unit tests prove that Cobalt Ridge's code does what Desmond intended. They do not prove that a receiving clerk at the Akron plant can still receive a casting order from end to end after Microsoft's next service update, with every standard step and every Cobalt Ridge extension working together. That is the job of business process regression tests, and at Cobalt Ridge those belonged to Annelise Vorster-Kim. Desmond invited her to this clinic, because the tool she would use, the Regression suite automation tool, sat on the boundary between functional and technical work, and because its future had just become a planning question for Kiri.

What RSAT is

The Regression suite automation tool, RSAT, is a Windows application from Microsoft that turns Task recorder recordings into automated tests, runs them against a finance and operations environment through the browser, and reports results to Azure DevOps. Microsoft describes its purpose as reducing the time and cost of user acceptance testing, typically before a Microsoft application update or before custom code and configuration reach production. Functional power users can create tests without writing code: they record a business task, and RSAT replays it.

Before anything else, Desmond put the status on the whiteboard. Microsoft's RSAT documentation states that the tool is marked for deprecation and will not be supported after May 15, 2027. The page does not name a replacement. That gave Cobalt Ridge a clear window: RSAT could serve the go-live on January 1, 2027 and the service updates in the first months after it, but the regression approach for the rest of 2027 needed a decision well before May.

How RSAT works

An RSAT test starts life as a task recording. In the client, the user opens Task recorder, starts a recording, performs the business process, such as creating a purchase order for a casting and posting a product receipt, and stops the recording. Task recorder saves each step: which form was opened, which field was set to which value, which button was selected. The recording can be saved as a developer recording file, an XML file.

The recording is then attached to a test case in Azure DevOps. RSAT connects to an Azure DevOps project and a test plan, loads the test cases from a chosen test suite, and downloads their recordings. Optionally, Lifecycle Services Business process modeler, BPM, can manage test libraries and distribute them to Azure DevOps; Microsoft describes BPM as optional and especially useful for partners and ISVs who share libraries across projects. Without BPM, test cases are created directly in Azure DevOps and the developer recording file is attached to each. Microsoft's documentation asks that the attached file be named Recording.xml or named after the test case title.

When RSAT loads a test case, it generates an Excel parameter file from the recording. Every value the user typed or chose becomes a row in the file. A tester can change the values in Excel without recording again, so one recording of creating a purchase order can be run for different vendors, items or quantities. Separating the steps from the data is RSAT's main design idea.

RSAT then runs the test. It opens a browser, signs in as the configured test user, performs each step with the values from the parameter file, and records the outcome. Results go back to Azure DevOps as a test run, where failures can be investigated with screenshots and step details.

A flow. Task recorder recording in the client. Recording.xml attached to a test case in an Azure DevOps test plan, optionally from BPM. RSAT loads the suite and generates an Excel parameter file. RSAT runs the steps in a browser against UAT. Results return to Azure DevOps as a test run.
From a task recording to an automated test run reported in Azure DevOps.

Validation, chaining and derived tests

A recording that only performs actions proves little; it might complete without error while producing the wrong result. RSAT supports validation of expected values. During recording, the user can use Task recorder's validation option to capture the value of a field, such as the receipt status on the purchase line. The parameter file then has a column for the expected value, and RSAT fails the test if the actual value differs. Annelise added validations to each test for the field a business user would check to know the process worked.

Business processes span several tests. A product receipt needs a purchase order, and the purchase order number is not known until it is created. RSAT supports chaining: a value from one test case, such as the purchase order number, can be saved as a variable and passed to the next test case in the suite. Annelise's casting receipt chain had three test cases: create and confirm a purchase order with a casting line, record an inspection certificate for the line, and post the product receipt.

Derived test cases reuse a recording with a different parameter file. Instead of recording the receipt process once per company, Annelise recorded it once in CRCA and created derived test cases for CRUS and CRMX, each with its own parameter file listing that company's vendor, item and warehouse.

RSAT features and how Annelise used them.
RSAT featureWhat it doesCobalt Ridge use
Excel parameter fileHolds the data for each step separately from the stepsDifferent vendors and quantities without recording again
ValidationCompares a field with an expected valueReceipt status on the casting line is Received
ChainingPasses a value from one test case to the nextPurchase order number from creation to receipt
Derived test caseReuses a recording with another parameter fileSame receipt test in CRCA, CRUS and CRMX

Designing the regression suite

Annelise did not try to automate everything. She chose processes by three criteria: they were critical to the business, they ran through Cobalt Ridge extensions, or they had broken in a previous rehearsal. The first suite had twenty-two test cases in six chains: procure-to-pay for castings with the inspection check; the waiver workflow up to approval; sales order to shipment for a pump with warranty registration; warranty lookup and certificate printing; the vendor invoice approval path above 25,000 in local currency; and a month-end subset of journal posting that Thandeka wanted protected.

Recording discipline mattered. Desmond and Annelise agreed on rules: record in UAT with a dedicated test user holding only the roles a real user would hold, so the tests also exercised security; avoid personal workspaces and saved views, which differ between users; use stable reference data such as the RSAT vendor and items created for testing, never live customers; and keep each recording short, one business task per test case, with chaining for longer processes.

Prudence asked why the developer was involved at all, if RSAT needed no code. Desmond gave three reasons. First, a change in a form's design, even one as small as renaming a control, can break recordings; developers must know which recordings their changes touch. Second, RSAT failures often turn out to be data or environment problems, and developers help tell those apart from code defects. Third, the suite is part of the release pipeline's evidence: the test run results were attached to every release in Azure DevOps, next to the build and the unit test results.

Running RSAT around updates

RSAT's main job at Cobalt Ridge would be the service update cycle described in lesson 10. When Microsoft's update reached the UAT environment, Annelise would run the full suite, review failures with Desmond, and give Kiri a pass or fail decision before the update reached production. Microsoft's One Version documentation names RSAT as the no-code tool for exactly this basic business process test after an update reaches UAT. The suite would also run before each Cobalt Ridge release, against UAT with the new package deployed.

RSAT needs some care to run. It runs on a Windows machine with a supported browser, connects to the environment with a certificate-based configuration, and signs in as the test user. Annelise set it up on a dedicated test workstation, and documented the configuration so another consultant could take over. Desmond asked that the certificate and test user credentials be stored in the project's secret store rather than on a shared drive, and that the test user hold no administrator roles.

Planning beyond RSAT

The deprecation date turned the last part of the clinic into a planning discussion with Kiri. Microsoft's page directs readers to other tools for test types RSAT was not designed for: SysTest with the Acceptance test library for unit and component tests, and the data management framework and Data task automation for integration and data tests. For end-to-end business process tests through the browser after May 2027, Cobalt Ridge would need a different tool. Several vendors offered test automation for finance and operations apps, and general-purpose browser automation frameworks could also drive the client, at the cost of more scripting.

Kiri did not want a tool decision made in a developer clinic. She asked Desmond and Annelise for criteria instead, and they agreed on five: the tool must reuse or easily rebuild the twenty-two test cases; functional consultants must be able to maintain tests without writing much code; it must run unattended against UAT; it must report results to Azure DevOps or somewhere the release process could use; and it must keep up with Microsoft's monthly client changes without constant repair. The decision was scheduled for the first quarter of 2027, with a pilot of the receipt chain in the chosen tool before May.

Desmond made one more point. Whatever replaced RSAT, the assets worth protecting were not the recordings but the test design: which processes to cover, which data to use, which values to validate and how tests chain. Annelise's suite documentation listed all of that in plain language, so it would survive a change of tool.

Keeping recordings working

Recordings refer to forms and controls by name. When a developer renames a control, moves a field into a different tab or replaces a form with a new pattern, a recording that used the old control can no longer find it, and the test fails although the business process still works. Microsoft's own monthly client changes can have the same effect on standard forms. Desmond and Annelise agreed on a routine to keep this under control. Every pull request that changed a form named in the RSAT suite's list of forms had to say so, and Annelise reran the affected test cases in CONFIG after the change was deployed there. If a recording broke, she re-recorded the affected step before the release reached UAT, so that a broken test never blocked a release at the last minute.

She also kept the recordings short for this reason. A failure in a test case of fifteen steps is quick to diagnose and quick to re-record. A failure in a recording of eighty steps costs an afternoon.

Reading an RSAT failure

When a test failed, Annelise and Desmond read the result in Azure DevOps together. The test run showed which step failed, the message the client displayed and, where configured, a screenshot. Failures fell into four groups. A data failure meant the parameter file referred to something that no longer existed, such as an item that had been blocked in UAT. An environment failure meant the test could not sign in or the environment was slow to respond. A recording failure meant a control had moved or been renamed. A real defect meant the process itself no longer worked. Only the last group was a reason to stop a release, and sorting failures into these groups quickly was what made the suite useful rather than noisy.

Worked problem

Automating the casting receipt chain

Annelise needs an automated test that creates a casting purchase order, records a certificate and posts a product receipt, in all three companies. How should she build it in RSAT?

Show solution
  1. Record three short task recordings in UAT with a test user holding only purchasing and receiving roles: create and confirm the order, record the certificate, post the receipt.
  2. Add a validation step to each recording, such as the receipt status on the line.
  3. Create three test cases in the Azure DevOps test suite and attach each recording as Recording.xml.
  4. Load the suite in RSAT, generate the Excel parameter files and chain the purchase order number from the first test case to the others.
  5. Create derived test cases for CRUS and CRMX with their own parameter files, run the suite and review results in Azure DevOps.

Answer: Three chained, validated test cases with derived copies per company cover the process in every legal entity, and the design is documented so it can move to another tool after RSAT support ends.

Common mistakes

  • MistakeRecording tests with an administrator account.

    InsteadRecord and run with a test user who holds only the roles a real user would hold.

  • MistakeRecording one long test for a whole business process.

    InsteadRecord short test cases and chain them.

  • MistakeTests that perform steps without checking results.

    InsteadAdd validations for the values a business user would check.

  • MistakeAssuming RSAT will be available indefinitely.

    InsteadPlan for Microsoft's statement that RSAT will not be supported after May 15, 2027.

Summary and key terms

  • RSAT turns Task recorder recordings into automated tests that run in a browser and report to Azure DevOps.
  • Excel parameter files separate test data from steps; validation, chaining and derived test cases make tests useful and reusable.
  • BPM in Lifecycle Services is optional; test cases can be created directly in Azure DevOps with attached recordings.
  • RSAT is typically run in UAT after service updates and before releases, with a non-administrator test user.
  • Microsoft has marked RSAT for deprecation, with no support after May 15, 2027, so organizations need a plan for business process regression beyond that date.
Regression suite automation tool (RSAT)
A Microsoft tool that runs Task recorder recordings as automated tests and reports to Azure DevOps.
Task recorder
A client tool that records the steps of a business task.
Parameter file
The Excel file RSAT generates to hold the values used by each test step.
Chaining
Passing a value created by one test case to a later test case.
Derived test case
A test case that reuses another test case's recording with its own parameter file.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. What did Microsoft's RSAT page state about support in 2026?

    Show answer

    RSAT is marked for deprecation and will not be supported after May 15, 2027.

  2. Where are RSAT test results reported?

    Show answer

    To Azure DevOps as test runs.

  3. How can one recording be run for three companies?

    Show answer

    With derived test cases that each have their own parameter file.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz