

You may need to launch the process directly.ģ) You do not have sufficient privileges for this application.” File. This could be due to one of the following reasons:ġ) Another instance of the application is already running and only one instance can be running at a time.Ģ) The application started another process and has now stopped. Extension.FailedToLaunchApplicationException: “The application cannot be started. Its working fine while working with IE but not sure what issues with Chrome. I am facing issue at very starting of the test run i.e the browser is being launched with URL but its taking more than usual time to be redirected to login page and hence test fails as the control not found due to the page never being reached out. Please leave your comments and let me know if there is anything need to be improved in the post. Thanks for reading the post and watching the video!!! Here is the complete Video for the above discussion. The default Value for BrowserWindow is IE, hence no need to mention in property


The extension will be installed in the common file directory of your local machine C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT What’s the coding change?Ĭode change for Cross-browser testing is as simple as changing the CurrentBrowser property of BrowserWindow class
#CODED UI BROWSER CONTROL LOCATIONS OFF CODE#
In this post we will discuss working with different browser in Coded UI Testing such as Chrome, firefox and IE using the same code which we worked in previous post.Ĭross-browser testing libraries does NOT ships with Visual Studio 2013 out of the box, rather, it should be downloaded as an extension from Visual Studio Extensions and Updates as shown below
