web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Use Case for importing a Task Recording into Visual Studio

(0) ShareShare
ReportReport
Posted on by 96

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

I have the same question (0)
  • nmaenpaa Profile Picture
    101,160 Moderator on at

    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.

  • Chicinho54 Profile Picture
    96 on at

    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?

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    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

  • WillWU Profile Picture
    22,361 on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans