Share via


Run page scripts in pipelines for automated testing

Important

This content is archived and is not being updated. For the latest documentation, go to What's new or changed in Business Central. For the latest release plans, go to Dynamics 365, Power Platform, and Cloud for Industry release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Oct 1, 2024 Oct 1, 2024

Business value

In 2024 release wave 1 we launched the page scripting tool as a preview. One of the most common feedback requests from partners since then has been to enable support for replaying captured page scripts in CI/CD (continuous integration and continuous deployment) pipelines for automated testing. In 2024 release wave 2, we are enabling exactly this capability by providing a stand-alone page script replayer for use in CI/CD pipelines.

Feature details

To run page scripts in your own pipelines, you can now use the stand-alone bc-replay script player. This script player is distributed as an npm (Node Package Manager) package. You can install the latest version of the package from the npm feed. No setup is required. Just run this command: npm install @microsoft/bc-replay --save

You can find more details on requirements, setup, and parameters at bc-replay npm package page.

We plan to provide support as part of AL-Go for GitHub at a later point, so that if you are using AL-Go for GitHub, you can get started faster setting up a pipeline. However, if you are using a different CI/CD agent and environment, you can create your own pipeline setups.

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.

Additional resources

Use page scripting tool for acceptance testing (docs)