Sahi is an open source automation tool for testing web applications that was started in 2005. It uses an easy to use recorder to create tests with no need for XPaths or waits. Sahi scripts can work with AJAX, Web 2.0 technologies, and agile methodologies. The tool supports version control, refactoring, and continuous integration.
2. Automation tool for web app testing Mature open source tool started in 2005 Easy to use, ideal for testers Works well with AJAX, Web 2.0 No Xpaths, no waits Works well with Agile methodologies Version control, refactor, continuous integration Sahi script, Java and Ruby drivers Sahi
3. Object Identification Need developer involvement for adding ids Xpaths – brittle, difficult to grasp, not cross browser css-selectors – better, but still complicated and not cross browser Waiting for AJAX, Page loads Hardcoded - slow Conditional – needs knowledge of the DOM and DOM events Real life problems
4. Knowledge and learning curve Java, Junit, Eclipse, Ruby, Xpaths, Firebug, browser DOM, Frames/Iframes- Really unrelated to web testing! Difficult to staff or ramp up teams Real life problems
5. Recorder on all browsers Implicit waits, even for complex AJAX and page loads Excellent Object Spy and accessors which work across frames and iframes No special privileges required on browser HTTPS, 401/Windows/NTLM authentication, popup windows, modal dialogs, File uploads Sahi Differentiators
7. Rely on recorder only initially Find the smartest accessor No index based accessors if possible Use _near and _in Refactor and reuse code Minimize code duplication functions, variables, _include Use the Sahi Controller to your advantage Tips for stable tests
8. Interact with Java directly from Sahi Script Read/Write to files, databases, Excel sheets, XML files Ruby/Java drivers and recorders Other features
9. Grid Flash and Flex support Applet Support C# driver Feature Road Map
10. Recorder, Object Spy and APIs Reduce development time Smart accessors Stable tests save maintenance time Lesser dependence on developers to add ids everywhere In built parallel playback, HTML reports Saves time in maintenance and quick start Authoritative commercial support and training available Saves time in removing road blocks Sahi saves you Time and Money
11. Information http://sahi.co.in/ http://blog.sahi.co.in/ http://sahi.co.in/forums Twitter: _sahi LinkedIn group: SahiWeb Automation narayan@sahi.co.in support@sahi.co.in TytoSoftware Pvt. Ltd. http://www.tytosoftware.com Questions and Answers