New to Telerik Test Studio? Start a free 30-day trial
Configure Browser In Code
Apart from manually configuring each of the browsers for test execution this could be also accomplished in code.
C#
//declare string variable to write possible errors in
string error;
// to configure FireFox
Manager.ConfigureBrowser(BrowserType.FireFox, out error);
// to configure Chrome
Manager.ConfigureBrowser(BrowserType.Chrome, out error);
// to configure IE
Manager.ConfigureBrowser(BrowserType.InternetExplorer, out error);
// to configure Safari
Manager.ConfigureBrowser(BrowserType.Safari, out error);
// to configure Edge
Manager.ConfigureBrowser(BrowserType.MicrosoftEdge, out error);