Created a test method in CodedUiTest project. Getting error on launching the browser with CRM Url.
Test method Code:
BrowserWindow bw = BrowserWindow.Launch("<CRM URL>");
Error:
An error has occurred .Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support.
CRM Version: 2016 OnPremise
Test Project: VS 2013, CodedUITestProject