Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 663 Most Valuable Professional
André Arnaud de Cal... 540 Super User 2025 Season 2
Sohaib Cheema 348 User Group Leader