title: How to automatically login using EasyRepro in Dynamics 365 on-premise
body: <p>I'm trying to do Automated UI Testing using EasyRepro in Dynamics 365 On-Premise. I managed to the testing with one issue, I can't automatically login to my Dynamics 365 Organization. Below are the code that I used:</p>
  
  <pre><code>var client = new WebClient(TestSettings.Options);
              using (var xrmApp = new XrmApp(client))
              {
                xrmApp.OnlineLogin.Login(_xrmUri, _username, _password);
                xrmApp.Navigation.OpenSubArea("My Work", "Companies");
                xrmApp.CommandBar.ClickCommand("New");
                xrmApp.Entity.SetValue("name", TestSettings.GetRandomString(5,15));
                xrmApp.Entity.Save();
               }
  </code></pre>
  
  <p>When I run it, the newly open chrome page will still ask me to put my credential, after I enter my credential (the CRM username/password), the script will run smoothly.</p>
  
  <p>Since, I plan to use this as part of our automated testing. Is there any way for the EasyRepro to automatically login?</p>