I have created a blank unit test project and I am facing an issue with record save code.
I have installed the below packages with the latest version and I have built code on dot net version 4.6
1)Dynamics365.UIAutomation.API
2)Selenium.WebDriver.ChromeDriver
Below is code snippet .
using (var xrmapp = new XrmApp(client))
{
xrmapp.OnlineLogin.Login(_xrmUri, _username, _password, _mfaSecretKey);
xrmapp.Navigation.OpenApp(UCIAppName.Sales);
xrmapp.Navigation.OpenSubArea("Sales", "Contacts");
xrmapp.ThinkTime(4000);
xrmapp.CommandBar.ClickCommand("New");
I have created a blank unit test project and I am facing an issue with record save code.
I have installed the below packages with the latest version and I have built code on dot net version 4.6 1)Dynamics365.UIAutomation.API 2)Selenium.WebDriver.ChromeDriver
Below is code snippet . using (var xrmapp = new XrmApp(client)) { xrmapp.OnlineLogin.Login(_xrmUri, _username, _password, _mfaSecretKey); xrmapp.Navigation.OpenApp(UCIAppName.Sales); xrmapp.Navigation.OpenSubArea("Sales", "Contacts"); xrmapp.ThinkTime(4000); xrmapp.CommandBar.ClickCommand("New");
Please correct me in case I have missed anything.