Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Test Automation in Dynamics CRM - Where to start?

Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Test Automation in Dynamics CRM - Where to start?

    If you are trying to test a customized Microsoft Dynamics CRM, then there are some pre-requisites to it that you must keep in mind. These include: 

    • creating and keeping a unified customer base to track the history of customer interactions. 
    • sales automation, including updates of customer purchase records. 
    • marketing and customer service data. 
    • data analysis and reporting. 

    Then you simply try to apply a codeless selenium application to automate the test process. In case, you are not aware of no code testing, consider following this link. 

  • RE: Test Automation in Dynamics CRM - Where to start?

    Hi Umi, considering age of this question, this will probably not help you, but as this thread seems like quite popular in the google search results, maybe this will help others being on the same topic.

    There is no need to code anymore when testing Dynamics 365 CRM and creating test cases is as simple as clicking on the application interface. Check ExecutiveAutomats.com

    To be fully transparent here, I'm reposnsible for this project but as long as we have lots of interest from D365CRM people this should be helpful for those looking for codeless testing tool and methods.

  • Testhouse Profile Picture
    Testhouse 20 on at
    RE: Test Automation in Dynamics CRM - Where to start?

    Dynamics CRM is extensively being used as a platform where business applications are being developed on top of existing xRM platform. By developing automation testing solutions, we can speed up the process where applications developed with Dynamics CRM are easily tested. The recommended tool that can be used for implementing and integrating the automation process with CRM is “Selenium”. Selenium is an open source automation testing tool that can interact with Dynamics CRM in multiple programming languages during its implementation phase. If you wan to know how to implement Automated testing of Dynamics 365 using Selenium,

    Visit the mentioned above link, its showing webinar as well as a live demonstration.

    You may also outsource this testing to a certified Microsoft Gold partner Dynamics crm Quality assuring company in order to ensure its risk-free and smooth functioning of your application.

    Hope this helped.

  • PhuocLV Profile Picture
    PhuocLV 347 on at
    RE: Test Automation in Dynamics CRM - Where to start?

    [View:https://github.com/Microsoft/EasyRepro]

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Test Automation in Dynamics CRM - Where to start?

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

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Test Automation in Dynamics CRM - Where to start?

    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

  • JordiMontana Profile Picture
    JordiMontana 326 on at
    RE: Test Automation in Dynamics CRM - Where to start?

    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! :)

  • JordiMontana Profile Picture
    JordiMontana 326 on at
    RE: Test Automation in Dynamics CRM - Where to start?

    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!

  • Verified answer
    Daryl LaBar Profile Picture
    Daryl LaBar 500 Most Valuable Professional on at
    RE: Test Automation in Dynamics CRM - Where to start?

    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...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Test Automation in Dynamics CRM - Where to start?

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

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans