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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Automated Acceptance Testing?

(0) ShareShare
ReportReport
Posted on by

I'm new to AX development.  My experience is with C# desktop applications.  In that model we would use WPF+MVVM.  We would then write acceptance tests that eventually interacted with the ViewModel layer.  In my experience directly manipulating UI controls is a real hassle and tests are very brittle.  So what do people do in AX?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    236,182 Most Valuable Professional on at
    RE: Automated Acceptance Testing?

    Unfortunately it's impossible in AX to isolate view and controlling layers in the same way as with MVVM, but that doesn't mean that developers can't extract logic to be tested to classes separated from forms and write tests against these classes. The classes often have to refer to views, but they provide sufficient abstraction so you don't have to care about form controls in your tests.

  • Suggested answer
    Joris dG Profile Picture
    17,775 on at
    RE: Automated Acceptance Testing?

    There are some third party products released specific for testing in AX recently, but you'll have to search the web for it, I don't remember what the names were. Besides those, you can technically use any automated testing tool you like, such as Microsoft's Test Manager etc.

    You'll find there's not much adoption of these practices in the AX world, despite the size of the product and the size of the business using the product.

  • Suggested answer
    Mohammed Aurang Profile Picture
    320 on at
    RE: Automated Acceptance Testing?

    Manual testing.. although there is a testing tool using Visual Studio to create white box ... and other scripting test cases

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans