Skip to content

Tutorial 12

PhuocLe edited this page Aug 27, 2018 · 9 revisions

Task

  • Create UI Automation Test

Prerequisites

Coding

  1. Add New Project 08. C# Ui Test Project to your solution
    • A popup form Add new Test Project opened
    • Click button >< to create/select a Dynamics 365 connection
    • After connected PL.DynamicsCrm.DevKit loaded all entities and bind to dropdown Project Name
    • Keep the text box Project Name empty
    • Select 9.0.2.4 in the Crm Version PL.DynamicsCrm.DevKit get all Microsoft.CrmSdk.CoreAssemblies version from NuGet
    • Select 4.5.2 in the .Net version
    • Click OK
    • PL.DynamicsCrm.DevKit created test project name: Paz.LuckeyMonkey.UiTest
  2. Rebuild solution to restore NuGet packages
  3. Add New Item 06. C# Test Ui Class to Paz.LuckeyMonkey.UiTest project
    • A popup form Add new Ui Test CLass opened
    • Enter QualifyLead in the Class Name
    • Click OK
    • PL.DynamicsCrm.DevKit created test class: QualifyLeadTest
  4. Open file App.config and update key OnlineCrmUrl to your current crm
Clone this wiki locally