Share via


Run page scripts in pipelines for automated testing

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 released the page scripting tool as a preview. One of the most common requests we heard from partners was support for replaying captured page scripts in CI/CD (continuous integration and continuous deployment) pipelines for automated testing. In 2024 release wave 2, we added this capability by providing a standalone page script replayer for use in CI/CD pipelines.

Feature details

To run page scripts in your own pipelines, use the standalone bc-replay script player. The script player is available as an npm (Node Package Manager) package. Install the latest version of the package from the npm feed. No setup is required. Just run the following command: npm install @microsoft/bc-replay --save.

For more information about requirements, setup, and parameters, see the bc-replay npm package page.

We plan to add support for AL-Go for GitHub later. With this support, you can set up a pipeline faster if you're using AL-Go for GitHub. If you're using a different CI/CD agent and environment, create your own pipeline setups.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

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)