Announcements
No record found.
Hi Community,
I am currently trying to build up a Testing Strategy for our D365 Finance & SCM project. In my research I have read that it is also possible to import a Task Recording into Visual Studio and generate Test Code. Does some have an idea in which uses cases this makes sense? We used this recordings so far only in RSAT.
Cheers,
Chico
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/user-interface/task-recorder#generating-tests-from-a-recording
After a business process recording has been completed by using Task recorder, a developer can import the raw developer recording file (.xml file) into Visual Studio to create an X++ test.
This is exactly what is described in the documentation. My question is: What is the use case to import a recording into Visual Studio instead of using RSAT to run the recording?
The use case is to develop x++ tests.
Normally in software development developers develop unit tests that are used for automatic testing. This is possible also in x++.
RSAT is another way of defining and running automated tests. I would say that RSAT has largely replaced the use case for recoding tests in the UI and creating automatic x++ tests from it. But generally speaking x++ tests and RSAT tests have different, although overlapping use cases.
docs.microsoft.com/.../recommendation-data-agnostic-testing-rsat
Hi Cihan Ucar,
You can import the XML for Task Recorder recordings to generate test code that can be used to validate various business process scenarios.
docs.microsoft.com/.../testing-support
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/testing-validation
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 659
André Arnaud de Cal... 465 Super User 2026 Season 1
Syed Haris Shah 304 Super User 2026 Season 1