Sahi

Software Screenshot:
Sahi
Software Details:
Version: 20110719
Upload Date: 14 Apr 15
Developer: V Narayan Raman
Distribution Type: Freeware
Downloads: 27

Rating: 3.5/5 (Total Votes: 2)

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.

Features:

  • 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.

What is 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).

What is new in version 2009-01-21:

  • Features added:
  • Tunneling through external proxy added.
  • try catch support in Sahi script.
  • _logException added. Lets you catch an error, take corrective action and also log the error.
  • _logExceptionAsError added. Same as _logException but fails the test script. Useful for clean up before fail.
  • Added _isVisible to check for visibility of elements.
  • Actions on elements now occur only if they are visible.
  • Better support for zkoss by identification of js.dsp files and fixing AJAX issues.
  • Form elements recorded even without enclosing form tags.
  • Added experimental SSL Manager.
  • Added TrafficLogger to log HTTP traffic for debugging purposes.
  • Bugfixes:
  • Pages with unicode characters display properly.
  • Pause and Step fixed.
  • Fixed AJAX issues on IE using ActiveX.
  • Fixed issues with multidomain iframes.

What is new in version 2008-08-31:

  • This release uses Rhino as the scripting engine, thus moving most of the script execution to the proxy.
  • This should go a long way in simplifying Sahi scripts.
  • This build also has some important changes to the SocketPool, which will fix issues related to too many sockets being used and errors due to BindExceptions.
  • Suite execution has been changed such that even if the browser crashes, the suite will continue with the next script and thus not hold up a build.
  • DB methods now close connections properly.

Requirements:

  • JRE 1.4 or above
  • ant, log4j.jar and junit.jar if the module is to be rebuilt.

Similar Software

Jensor
Jensor

2 Jun 15

random_instances
random_instances

11 May 15

assertEquals
assertEquals

20 Feb 15

Comments to Sahi

Comments not found
Add Comment
Turn on images!