Friday, February 26, 2010

Sahi vs Selenium vs Watir

Sahi vs Selenium vs Watir

Feature

Watir

Selenium

Sahi

Browser based

yes

yes

yes

Browser type independent (IE, Firefox etc)

IE & FireFox

yes

yes

Scriptable/programmable (manageable/refactorable)

yes

not natively, but using ruby

yes (uses javascript)

Recorder

yes

Only on Firefox.

yes

Object spy

no

no

yes (hovering on any element,shows its accessor)

Simultaneuos playback of multiple scripts(reduces playback time)

yes

no

yes

Multiple domain support (go from google.com to thoughtworks.com)

yes

no

yes

Frames and popup support

yes

has problems

yes

Ant support (helps continuous integration)

yes

yes

yes

Multi language (non-ascii character)support

yes

yes

HTTPS support

yes(Protocol independent)

yes

Learning curve

Learn Ruby

Recorder reduces the need to write code.TextPad Clip Libraries can be used too.

Language of scripting

Ruby - not native to the browser

Ruby - not native to the browser

Javascript - native to the browser andhence easily extendable.

Web-app independent

yes

no - needs to be deployed with app

yes

OS Independent

no

yes

yes



No comments: