Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a headless browser for .NET (for automated Web-UI-Tests)?

Is there a headless browser for .NET?

I am looking for this in a testing context.

Coming from Java I am thinking of something similar to HtmlUnit (http://htmlunit.sourceforge.net/) which itself is the base for different higher level tools like Canoo WebTest or Celerity.

I would like to create automated UI tests for web applications in a .Net environment, but not using Browser-Remoting (Watin, Selenium...)

If possible, I would like to stick to a .Net solution and avoid using Java or Ruby tools.

What are the options? What are you guys doing?

Thanks

like image 206
jbandi Avatar asked Jan 17 '10 12:01

jbandi


Video Answer


2 Answers

You might want to check out the new Web Testing features of Visual Studio 2010:

http://channel9.msdn.com/posts/VisualStudio/New-Web-Test-Debugging-Features-in-Visual-Studio-Team-System-2010/

You can download Beta 2 of VS2010 for free and try them for yourself.

like image 128
Allon Guralnek Avatar answered Oct 04 '22 04:10

Allon Guralnek


See if Headless browser for C# (.NET)? and disable IE visibility while using WatiN is what you looking for (if so, I can expand this answer with more details)

like image 29
Dinis Cruz Avatar answered Oct 04 '22 03:10

Dinis Cruz