Use Selenium in Visual Studio xUnit to test a web page

Published: 26 February 2022
on channel: Cottrell Coding
2,019
33

In this video, I demonstrate how to set up Selenium and the Chrome driver in Visual Studio xUnit. I am testing an ASP.NET MVC 6 website that connects to an Azure database. The test will gather information from the first page, click a link and ensure that the information is correct on the second page. All objects will be found using the full xPath.