Selenium Automation testing in crm 2015
I wonder why isn't it answered yet, basically you can install the nuget package and choose a webdriver for the browser you want to automate. Then write a console application like
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
string crmUrl = "http://mycrm.url";
//create a ieAutomation
IWebDriver ieAutomation = new InternetExplorerDriver();//BrowserDriver
// open url
ieAutomation.Navigate().GoToUrl(crmUrl);
// find element by id and set text
ieAutomation.FindElement(By.Id("name")).SendKeys("set the text");
// find element by id and make a click
ieAutomation.FindElement(By.Id("id")).Click();
// close the driver & exit
ieAutomation.Close();
ieAutomation.Quit();
This is one quick startup tutorial to start with, you can found more in the documentation. Although being a SPA it's too expensive to set it up and not worth the effort but LEAPTEST claims it be easy with a price.
Note: make sure IEDriverServer.exe is available in the Bin\Debug folder