question

VadyalaShilpa-3968 avatar image
0 Votes"
VadyalaShilpa-3968 asked TianyuSun-MSFT answered

How to run Coded UI existing test cases in Chrome

Hi,

I installed Selenium Cross Browser into my Visual Studio 2019. I would like to run all my existing test cases which are recorded for IE should now run in Chrome. ( All the test cases are Coded UI)

I ran the test case for Chrome browser, the page is successfully opening the Chrome forthe link I provided, whereas, after that I got the error, Below is the screenshot.

Please let me know if I am missing some installation.

CreateRequestOrder
Source: RequestOrder.cs line 29
Duration: 14.5 sec

Message:
Initialization method .Materials.RequestOrder.RequestOrder.MyTestInitialize threw exception. Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://localhost:6268/session/32a9df8bc2243dd02b90905ebf503321/title. The status of the exception was ConnectFailure, and the message was: Unable to connect to the remote server.

Thank you
Shilpa Vadyala

vs-testing
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered

Hello @VadyalaShilpa-3968 ,

Welcome to Microsoft Q&A forum.

Are you using the latest version of Server(Chromedriver server maybe), Webdriver and local executable(Chromedriver server executable maybe)? If not, please try to use the latest version.

Best Regards,
Tianyu


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.