Product Update
March 5, 2009

Sahi V2 2009-03-04 Released

Another stable build of Sahi (/) has been released yesterday. You can get the latest build here:

This release has been a steady improvement of features from the older builds, making Sahi faster and more stable. It fixes a lot of bugs which had crept in since moving to Rhino as the engine and moving to httpurlconnection from raw sockets in the proxy.

Below is the change log:

04 March 2009
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 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.

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("<>").

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

One small change for users who were running multi threaded playback on Firefox: you will need to add "-no-remote" at the end of browserOption so that it now looks like this: "-profile ${basedir}/browser/ff/profiles/sahi$threadNo

Continue reading

A Usual Day at the Office

Tip of the Day 9