Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dev Environment - Visual Studio ?

Posted on by 340

Hello, 

I am on the job form. 
I want to test my code or create new code from scratch, to test against the fields in the form.

What is the easier way to go about doing it. Do I just test it on the production environment or do I use visual studio to do it, and if so visual studio doesn’t have forms, how can I test it as if I am testing on the job form ? 

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Dev Environment - Visual Studio ?

    Hi,

    Testing:

    You can use EasyRepro for automated UI testing: "this library is to provide Dynamics customers the ability to facilitate automated UI testing for their projects. These API's provide an easy to use set of commands that make setting up UI testing quick and easy. The functionality provided covers the core CRM commands that end users would perform on a typical workday and working to extend that coverage to more functionality."

    github.com/.../EasyRepro

     Development environment:

    I use Microsoft Dynamics 365 Developer Toolkit: 

    https://alphabold.com/guide-to-install-microsoft-dynamics-365-developer-toolkit-extension-into-visual-studio-2017/

    https://community.dynamics.com/365/b/crmfortressdynamics365/posts/setting-up-developer-toolkit-for-vs2019-with-core-assemblies-9-0

  • Suggested answer
    sdfasdf Profile Picture
    sdfasdf 840 on at
    RE: Dev Environment - Visual Studio ?

    The best way for you to test you custom code is by having a sandbox (test) organization. Then you might want to deploy your custom plug-ins/workflow assemblies to this sandbox organization and test them out. The same applies for custom JavaScript code or any custom components.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans