Search code examples
c#asp.net-mvcselenium-webdriverintegration-testinggui-testing

How to do ASP.NET MVC Integration testing using selenium


I need to know is it possible to perform integration testing using selenium for ASP.NET MVC applications. If yes then What are the requirements and how to do it. Will it be an external application to test from UI or should I be using views. Really confused. Please guide


Solution

  • If you are planning to write the Selenium tests using C#, which I'd recommend over using any kind of test recorder, then this will be a separate project.

    You will run this and it will test a deployed version of your application, ideally in a dedicated test environment. There is extensive documentation available.

    Personally I and others prefer WatiN for testing web applications using C# written tests.