Tuesday, March 21, 2006

Sahi vs Selenium vs Watir

Updated thorough comparison of Sahi vs. Selenium

THIS IS A VERY OLD COMPARISON AND IS NOT TRUE ANYMORE Click here for the latest: Updated thorough comparison of Sahi vs. Selenium

A brief comparison. Please let me know if any information is incorrect.
Added Watir related data from Chris McMohan's comments:

FeatureWatirSeleniumSahi
Browser basedyesyesyes
Browser type independent (IE, Firefox etc)IE & FireFoxyesyes
Scriptable/programmable (manageable/refactorable)yesnot natively, but using rubyyes (uses javascript)
RecorderyesOnly on Firefox. yes
Object spynonoyes (hovering on any element,shows its accessor)
Simultaneuos playback of multiple scripts(reduces playback time)yesnoyes
Multiple domain support (go from google.com to thoughtworks.com)yesnoyes
Frames and popup supportyeshas problemsyes
Ant support (helps continuous integration)yesyesyes
Multi language (non-ascii character)supportyesyes
HTTPS supportyes(Protocol independent)yes
Learning curveLearn RubyRecorder reduces the need to write code.TextPad Clip Libraries can be used too.
Language of scriptingRuby - not native to the browserRuby - not native to the browserJavascript - native to the browser andhence easily extendable.
Web-app independentyesno - needs to be deployed with appyes
OS Independentnoyesyes


Comments from Chris McMohan which I have incorporated into this comparison:
Actually, Watir has
a Firefox interface (version 1.0 just released, called "FireWatir")
a Recorder
methods intended for use at the command line like "show_links" so an object spy isn't necessary
Simultaneous playback (via Ruby threads)
Frames support (really excellent frames support)
Popup support native in version 1.5 (coming soon)
Ant support (not sure what you mean, but Ruby can be integrated with CruiseControl)
non-ascii character support (via Ruby)
Learning curve: Watir *is* a DSL for scripting the IE DOM. Ruby is just a bonus. :)

THIS IS A VERY OLD COMPARISON AND IS NOT TRUE ANYMORE

12 comments:

Chris McMahon said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Luke Closs said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Helder Ribeiro said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.