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 :
Microsoft Dynamics CRM (Archived)

Test Automation in Dynamics CRM - Where to start?

(0) ShareShare
ReportReport
Posted on by

Can anyone point me in the direction to get good info or access to resources about how to get started with Test automation in Dynamics CRM? Our team is very new to test automation (or any automation for that matter!) and I'm finding it difficult to get information/resources on test automation in Dynamics CRM solutions. Thanks in advance! 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    PhuocLV Profile Picture
    347 on at

    For Unit Testing I recommend you use FakeXmlEasy

  • Verified answer
    PS Profile Picture
    23,577 on at
  • Verified answer
    Kishor Kumar Profile Picture
    3,710 on at

    Hi Umi,

    You can use the

    xRM Test Framework and QTP

    xrmtestframework.codeplex.com

  • Community Member Profile Picture
    on at

    The xrmtestframework.codeplex.com looks interesting, many thanks for sharing Prashant.

  • Community Member Profile Picture
    on at

    I've heard of FakeXmlEasy and XrmUnitTest, thankyou for the URL Phuoc

  • Verified answer
    Daryl LaBar Profile Picture
    500 Most Valuable Professional on at

    Here are a couple videos I've done:

    This one is just a comparison between FakeXrmEasy, and XrmUnitTest

    And here is one on how to fake a particular call to CRM, while letting the others just flow through...

  • JordiMontana Profile Picture
    326 on at

    Hi Umi!

    I'm Jordi the creator of #FakeXrmEasy.  Apologies, just seeing your question now and I'm glad Phuoc actually recommended it already!  Many thanks.

    If it is useful, please have a look at this blog post which compares FakeXrmEasy against other .NET mocking frameworks

    dynamicsvalue.com/.../fake-xrm-easy-versus-other-frameworks

    That post explains the main 3 pilars which are:

    1) Access to a IOrganizationService interface with already implemented mocks, in 1 single line of code.

    2) Built-in, lightweight, blazing fast query engine which supports QueryByAttribute, QueryExpressions, LINQ, and FetchXml

    3) Built-in CRM messages

    Plus, and thanks to the many feedback from the community, with FakeXrmEasy you can also do Integration testing of backend code (plugins, codeactivities, web portals) via a new XrmRealContext class.

    There are more details in the documentation page, with also get started videos:

    dynamicsvalue.com/.../overview

    The framework is also unit tested itself by more than 1800+ unit tests with a 90%ish code coverage. We are also working on a similar repository for client side unit testing.

    If you have any questions please let me know via the contact page (dynamicsvalue.com/contact), we'd love some feedback! :)

    PS: Many thanks to the community also involved in adding new features: Florian, Arjen, Phuoc, Rajyraman and many others!

  • JordiMontana Profile Picture
    326 on at

    Nice video! Although that one is from April and that was version 1.11 and we are on 1.18 right now. Loads of features changes in between! :)

  • Suggested answer
    Community Member Profile Picture
    on at

    Microsoft releases this open source Github repo to test 365 in April 2017.

    https://github.com/Microsoft/EasyRepro

    It seems to be useful and with some tweaking I was able to use. it.

    Cheers,

    Aran

  • Community Member Profile Picture
    on at

    hi - I need to automate dynamics 365 application (online). I am planning to start it using selenium webdriver with Java. Pls share your thoughts.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans