Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Do we need EasyRepro if we have JavaScript Unit Tests?

(0) ShareShare
ReportReport
Posted on by 5

Hello Everyone

I am Test Architect at FM Global. I evaluating JavaScript based unit testing vs EasyRepro based end to end automation to validate our customized UI business rule and behavior. My question is do we need EasyRepro based tests if we already do our unit testing thoroughly in JavaScript. What are the risk if we do not do Easy Repro automation.      

(Update)

I really appreciate the response i have so far. My above question is open ended question. I am really seeking all the experts here to chime in and bring in there reasons on why might need EasyRepro based tests even if we have thorough JavaScript based tests.

  • Verified answer
    mobeenmohsin Profile Picture
    mobeenmohsin on at
    RE: Do we need EasyRepro if we have JavaScript Unit Tests?

    Hi Girish,

    Please help to find the official documentation related to EasyRepro https://powerapps.microsoft.com/en-us/blog/easyrepro-automated-testing-framework-june-update-is-now-available/#:~:text=EasyRepro%20provides%20an%20easy%2Dto,to%20author%20your%20test%20cases.

    We recommend to use it as EasyRepro helps you in following way: 

    How can EasyRepro help?

    If you have previous experience writing automated UI test scripts, you would have completed a lot of HTML parsing, identifying various elements and identifiers in order to tell the web driver to run certain browser commands, such as clicking a menu item, or selecting a drop down option. This can be time-consuming, difficult to maintain and your test scripts can be brittle as UI updates are applied.

    This is where EasyRepro can help! EasyRepro provides an easy-to-use set of APIs that make setting up UI testing quick and easy for your Dynamics implementations. With these APIs, EasyRepro abstracts and reduces the need for you to work directly with the Document Object Model (DOM) to author your test cases.

    With over 200+ samples test cases for Unified Interface and Web Client available in the repository, you can get up-and-running quickly to start creating customized tests. The samples include create, retrieve, update, and delete scenarios for multiple entities including contacts, opportunities, accounts, leads, and cases. 

    Thank you for understanding.

    Best Regards,

    Mobeen Mohsin

  • Suggested answer
    MehranBre Profile Picture
    MehranBre 730 on at
    RE: Do we need EasyRepro if we have JavaScript Unit Tests?

    Hi Girish,

    Your assumption is absolutely correct and I agree.

    Good Luck.

  • Girish Sarda Profile Picture
    Girish Sarda 5 on at
    RE: Do we need EasyRepro if we have JavaScript Unit Tests?

    Thank you Mehran. That is encouraging to know.  I am assuming that any customization that we do in CRM in UI or in the backend are all unit testable and that there is no specific area that might need automation after the deployment. Let me know i need correction into my assumption.

    The reason I asked the question is Microsoft created EasyRepro based test automation framework. I understand one reason could be to help teams who would rather prefer to do end to end test but was wondering if Microsoft is recommending this to avoid certain risk that I need to be aware of.    

  • Suggested answer
    MehranBre Profile Picture
    MehranBre 730 on at
    RE: Do we need EasyRepro if we have JavaScript Unit Tests?

    hi,

    I don't think you need to do this test if your test unit is comprehensive enough.

    There is no specific risk in this case

    Do it;)

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans