There are numerous advantages of using WebDriver over traditional Selenium:
- Fluent API. Who used WatiN may understand why it's so precious feature!
- Native support the most browsers: Chrome, Firefox and Internet Explorer. Native support means -- no js scripts involved into browser controlling! All DOM manipulations are claimed to be done by native browser APIs, so tests can be performed even faster than now (though have not estimated it yet
- There is also a special web driver - HtmlUnitDriver which can perform in memory tests with no open browser (the most speedy driver ever!)
- No separate selenium*.jar package need to be run!
Today we done the first part so far: extracted test context preparation (database initialization, business layer preparations etc) into separate class and made possible implement tests without necessity to derive from FunctionalBaseTest.
Tomorrow will write a bunch of first tests!
PS
There is an interesting project -- Web Driver Extensions. Will try it out tomorrow :)
Комментариев нет:
Отправить комментарий