-
Notifications
You must be signed in to change notification settings - Fork 289
Getting Started
This page is designed to help setup EasyRepro using Visual Studio 2017. Once setup is complete within Visual Studio, the remaining steps will provide guidance to execute a sample test. For more detailed scenarios, see the Walkthrough Examples page
- Visual Studio 2015 or 2017
- Supported Operating System (Windows 7 / 8 / 8.1 / 10 or Windows Server 2008 / 2008 R2 / 2012 / 2012 R2)
- Supported Dynamics Organization (8.1.X / 8.2.X / 9.0.X)
- Chrome Browser
-
Navigate to the GitHub Microsoft/EasyRepro library
-
Click on the Clone or Download button
-
Choose the Clone with HTTPS option
- Copy the Git web URL (https://github.com/Microsoft/EasyRepro.git)
Note: Alternative options available are Open in Desktop (GitHub Desktop), Download ZIP, or Open in Visual Studio
-
Open Visual Studio
- From the menu bar, click on Team
- Click Manage Connections
- In Team Explorer, under Local Git Repositories, select Clone
- Enter the URL of the Git repo from Step 3.1
- Choose a local folder to store the Repo and click Clone
- Wait for the clone process to finish
-
In Solution Explorer, click on the Solutions and Folders button, then select the UIAutomation.sln solution
- Wait for the solution to finish loading
-
From Solution Explorer, expand the Microsoft.Dynamics365.UIAutomation.Sample project
-
Open the app.config file and input the following details for accessing the desired Dynamics 365 org
- OnlineUsername
- OnlinePassword
- OnlineCrmUrl
-
In Solution Explorer, right-click on Solution 'UIAutomation' and select Build Solution
-
From the menu bar, click Test, click Windows, then click Test Explorer
-
From Test Explorer, select the test WEBTestCreateNewAccount
- Right-click and choose Run Selected Tests
-
Congratulations! You've successfully created an Account record in Dynamics 365 using the Automation APIs