Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

NAV 2016 Test Automation Suite Failures

Posted on by Microsoft Employee

Hi,


I'm trying to use the new Test Automation Suite that is included in NAV 2016.
I used a fresh installation of NAV 2016 CU1 (DE) and run all the default tests. But I ended up with 21 failures. I used the CRONUS company for running the tests (although this should not matter, right?).

I was too lazy to analyse all the failures in detail. For my understanding there should not be any failures in a fresh database.

Today I gave it another try. I reinstalled NAV 2016 (now I used CU2 (DE)). I also created a new (empty) company and did run the tests there. Right now it is stuck somewhere with 23 succesfull tests and 590 failures. This clearly should not happen. Again this is a fresh database.

Are there any prerequisites that I do not fullfill?
Did someone already manage to run all the tests successfully on a fresh database?

Thanks in advance.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV 2016 Test Automation Suite Failures

    Language was English. There is an hint if you try it with another language. So this is not the problem.


    On Friday evening I did another run. Since there were some errors involving .NET objects, i even reinstalled .NET on my computer and recompiled all the objects. Still 10 errors after the test suite was finished. Just run those 10 codeunits again. 2 errors left?!?! Why? Nothing happened in between? First time they fail and then they succeed?

    Just wondering if this is only for me or if anyone else has problems running those tests successfully.

    EDIT: I run  the remaining 2 test codunits one by one. That way they run successullfy. Again in my opionon this should not happen. I want this to be automated. Doing a final run over all tests again now. Let's see if I still have 0 failures after that.

    EDIT2: This time I ended up with 6 failed tests.This time they don't run successfully if i run them again or separately. I give up. Probably need to test again on another machine.

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: NAV 2016 Test Automation Suite Failures

    change the used language to english and then try again.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans