Is there a browser without a browser for .NET (for automated web UI tests)?

Is there a browser without .NET for browser?

I am looking for this in the context of testing.

Starting with Java, I am thinking of something like HtmlUnit ( http://htmlunit.sourceforge.net/ ), which itself is the base for various higher-level tools such as Canoo WebTest or Celerity.

I would like to create automated user interface tests for web applications in the .NET environment, but not using Browser-Remoting (Watin, Selenium ...)

If possible, I would like to stick with the .NET solution and avoid using Java or Ruby tools.

What are the options? What are you guys doing?

thanks

+7
testing automation web-testing webtest
source share
4 answers

If you adhere to clean .Net solutions, you have some useful options, although none of them are very good.

  • HtmlUnit with IKVM . This will allow you to run HtmlUnit in .NET, but I found that the converted code tends to be much slower than HtmlUnit itself.
  • SDK for data extraction . You can wrap this around to flip your own request processor and it will process cookies, forms, etc.
  • System.Net.WebRequest . It takes the hardest climb, but at the heart of everything is what you will work on.

You can also consider LiquidTest , but it's not cheap: developer licenses start at $ 2000, and if you want to run it on a continuous integration server, it will cost you $ 1,000 for a server license.

IMO, while libraries and languages ​​in .NET provide some powerful features, an auxiliary toolkit often lags behind competitors in other languages ​​in some areas. Unfortunately, testing web integration is one of those areas.

0
source share

You might want to check out the new Visual Studio 2010 web testing features:

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

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

+1
source share

See if Headless Browser for C # (.NET)? and disable IE visibility when using WatiN what you are looking for (if so, I can expand this answer in more detail)

+1
source share

When deleting a browser, I assume that you mean remote control of a third-party browser. Selenium offers a driver for the java browser, htmlUnit, which is a mute browser (without a GUI). http://seleniumhq.org/docs/03_webdriver.html#htmlunit-driver

0
source share

All Articles