nieve
nieve

Reputation: 5117

What .NET UI Testing tool has a built in browser to run tests faster?

Hello I remember seeing once that either selenium or watin have a "built in" browser to run tests quicker than it usually takes with a usual browser (IE/FF...), was I dreaming or is it true? Can anyone direct me to some info/docs on the issue?

thanks, n

Upvotes: 1

Views: 524

Answers (3)

JimEvans
JimEvans

Reputation: 27496

You may be thinking of the use of the HtmlUnit project. HtmlUnit is a so-called "headless" browser written in Java. As such, it simulates the actions of loading a page in a browser without actually rendering anything to the screen. The Selenium project does have a Java driver for HtmlUnit, allowing you to load your web pages in it and simulate users therein. There is no real .NET equivalent to HtmlUnit. You can use the Java HtmlUnit driver from C# via the RemoteWebDriver class, but you'll still require an instance of the Java remote server running to use it.

Upvotes: 1

MarkOfHall
MarkOfHall

Reputation: 3353

Selenium doesn't use a 'built in' browser. It will launch the browser it is configured to test with.

Upvotes: 0

prostynick
prostynick

Reputation: 6219

WatiN does not have such a thing. You could use WebBrowser WinForms control though.

Upvotes: 0

Related Questions