Sahi

Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts.
Download

Sahi Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • V Narayan Raman
  • Publisher web site:

Sahi Tags


Sahi Description

Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts. Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts.Developed in java and javascript, this tool uses simple javascript to execute events on the browser. Sahi's features include, in-browser controls, text based scripts, ant support for playback of suites of tests, and multi threaded playback. Sahi supports HTTP and HTTPS. Sahi runs as a proxy server and the browser needs to use the sahi server as its proxy. Sahi then injects javascript so that it can access elements in the webpage. This makes the tool independant of the website/ web application. Here are some key features of "Sahi": · Recording of browser actions. · Playback of recorded/scripted actions. · Accessor Viewer for identifying html elements for scripting · Easily editable scripts (text files) · Simple APIs · Integrates with ant builds · Logging/reports · Script is in javascript hence supports concepts and constructs that javascript supports · Support for global variables stored across pages in a test and across tests in a suite. · Script refactorable into functions and files. · Scripts runnable through url. · Bugs can be recorded by testers and the sahi script can be published on a web server. · This url can be included in bug reports. · Developers can reproduce the bug by pointing to that url in the bug report. · Scripts automatically available to others through HTTP · Very lightweight · Tests do not need the browser window to be in focus. · Suites can run in multiple threads thus reducing the test execution time. · Supports external proxy and HTTPS. Requirements: · JRE 1.4 or above · ant, log4j.jar and junit.jar if the module is to be rebuilt. What's New in This Release: Features added: · Displaying popup name in Controller. · Using -no-remote flag instead of MOZ_NO_REMOTE. Older users need to add this to ant targets. _fail(msg) added · Added ext.http.both.proxy.bypass_hosts to sahi.properties to bypass some domains while connecting through external proxy · Added _sahi.printDiagnostics to get some info about browser and XMLHttpRequest being used. · id ignored for JSF RichFaces. · Support for IE modal dialogs (invoked via showModalDialog). · _setSelected identifies options by id and index. · _listItem API added for identification of LI tags. Bugfixes: · Fix for identifying popups from a different domain · Fixed _continueOnError · Put back no-cache headers because pages were being picked from cache in IE causing login/logouts on some sites to fail. · Fixed issues with link clicks on Chrome and Safari · Missing tests now fail the build. · Fix related to contentlength and transfer-encoding introduced in previous build. · Fix for XHRs not tagged properly (and hence wrongly handled) when different domains were present in iframes. · _readFile returns javascript string. · Handling of events registered via listeners on link clicks. · Links with numbers in text are quoted during recording. _link("< number >"). Link click does not proceed if event.returnValue is false Checking contentType also to figure out javascript content for XHR handling Fixed proxying to https sites which do not have a valid certificate. (bug introduced in 21 Jan 2009 build).


Sahi Related Software