18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Sahi V3 2009-10-22 released on SourceForge

narayannarayan Administrators
edited November -1 in Sahi - Open Source
Folks,

We have just released Sahi V3 2009-10-22 on SourceForge (Download here).

We have been releasing updates to Sahi frequently and intend to continue it. But as a user it has not always been easy to consume each update, because one needs to copy over scripts, certs and configuration each time.
To simplify this Sahi now has the concept of a userdata directory. This tries to keep all user specific data in one place independent of Sahi. One can set the properties SAHI_HOME, SAHI_USERDATA_DIR and SAHI_EXT_CLASS_PATH and invoke Sahi from anywhere. Have a look at userdata/bin/start_sahi.bat to see how it is used.

Each property in sahi.properties can be overridden in userdata.properties. Sahi will first look for the property in userdata.properties and then, if not found, look in sahi.properties.

You can now start Sahi from userdata/bin/start_sahi.bat instead of plain sahi/bin/sahi.bat. Note that sahi/bin/sahi.bat will also work properly.

For a simple user, all that has changed is that folders for scripts, certs etc. have moved into userdata folder. You need not worry about anything else. Hope you continue to enjoy using Sahi.

Do not forget to add testimonials if you like Sahi or have a user story to share.

Regards,
The Sahi Team


Below is the changelog for this release:

22 Oct 2009
This is a major release where the directory structure of Sahi has been changed.
SAHI_HOME and SAHI_USERDATA_DIR system variables can be declared and Sahi can be invoked from anywhere on the system.

All userdata has been moved into sahi/userdata directory. Sahi can be started using sahi/userdata/bin/start_sahi.bat or start_sahi.sh.
The userdata directory can be copied to any other location on the filesystem. SAHI_HOME and SAHI_USERDATA_DIR need to be correctly set in start_sahi.bat
This helps upgrading to newer versions of Sahi easier.
To point to a new version of Sahi, one needs to only change SAHI_HOME in start_sahi.bat.

* Features added
User specific data moved to sahi/userdata directory.
Configuration properties are picked from userdata.properties and if not found, default to sahi.properties.
element.checked() implemented in Java for radio buttons and checkboxes
PID commands detected automatically based on OS. Commands can be modified in sahi/config/os.properties.

* Bugfixes
keytool correctly quoted for paths and passwords with spaces
Fixed Java recorder freezing
Fixed Firefox 1st window not closing bug
Fixed handling of local urls with querystrings
Added _heading5
Fixed _click on links with onclick surrounding other tags like span or image.
500 Internal Server Errors are no longer sent as 200 responses in AJAX requests.
Marshalling of unicode variables fixed.
Fixed getDoc errors on windows with variable "type".
Fixed Sahi problems on some Frameset pages on IE
Tagged:

Comments

  • narayannarayan Administrators
    Made another release 2009-10-23 with the following changes:
    23 Oct 2009
    -----------
    This is minor bugfix release over 22 Oct 2009 build.
    * Features added
        Ability to set a function as recovery function, which will be called 
            when an error occurs in a script. 
        _setRecovery(fn) and _removeRecovery() added
        
    * Bugfixes    
        Fixed SSL certificates creation on Linux which was failing due to incorrect 
            keytool command tokens. 
        Fixed bug where spaces after _include caused _include to not work correctly.
        Fixed highlighted line number of syntax errors in script (without includes).
    
    
  • Hello Narayan,
    Thanks for the update on this tool.Now i have tried with the new futures it works fine .But could you tell why it does not support for Internationalization.Because i have a proect in japanese so i need to automate my test cases but it does not support for this.
Sign In or Register to comment.