Sahi Changelog

What's new in Sahi 20141105

Nov 6, 2014
  • FEATURES:
  • New APIs:
  • _copyFile
  • _frame, _fieldset
  • _setXHRReadyStatesToWaitFor
  • _getSelectionText, _selectRange, _selectTextRange
  • _isIE6, _isIE7, _isIE10, _isIE11, _isIE11Plus support
  • New and improved Sahi Start Page, Sahi Dashboard and Sahi Controller
  • Added Sahi Pro DOCS link on the Sahi Dashboard
  • Added notepad++/textpad support for syntax highlighting and Autocomplete features:
  • Added "domainfix.txt" to the configure link page through the Dashboard
  • Added support for Enabling Traffic Logs
  • Added support for user_extension.js
  • Added "Bin" link on dashboard for MAC
  • Added executeSahi API support for Java and Ruby
  • BUGFIXES:
  • Sahi compatibility issue with ie 10,11
  • Sahi compatibility issue with firefox 20+
  • Elements can now be identified with custom attributes using Sahi Controller.
  • Proxy setting for Opera browser
  • Modified _scriptStartTime() API
  • Fixed improper closing dashboard for Mac and Linux.
  • Added support to set the proxy on safari browser automatically on Mac.

New in Sahi 20130429 (Apr 29, 2013)

  • Fixed bug in launching browser using Sahi with Java version 1.7
  • Fixed alert bug when highlight function was used.
  • Fixed _setValue API in Firefox 20.

New in Sahi 20130206 (Feb 6, 2013)

  • Bugfixes:
  • Fixed ConfigureUI screens on IE
  • Fixed bug causing some clicks on IE to fail
  • Fix for ZLIB EOFException error
  • Fixed null pointer exception in Single Session report generation
  • Fix for Firefox 5
  • _isSafari() fixed
  • script status correctly set for _continueOnError, try catch
  • File name is picked from content-disposition header.
  • Ruby driver: guid replaced with timestamps.
  • _count, _collect fixed
  • Fixed duplicate events on IE9 Strict Mode
  • Fixed fetching of ajax/js files with content-disposition attachment
  • Fixed _under such that complex nesting also works properly
  • Increased Dashboard browser session timeout
  • _dragDrop fixed for YUI
  • Displays JDBC error in logs
  • Fixed window/domain not found error when iframes with different domains are loaded on a slow page. (Facebook integrated pages)
  • Fixed concurrent modification error bug in reports
  • Array toJSON recursive_access bug fixed
  • RegExp with modifiers handled correctly
  • onScriptError logging issue fixed
  • Sahi injects properly for conditional comments
  • _setValue($a,$b) with no space after comma handled correctly
  • Fixed focusin focusout events on IE9
  • Window name is blank by default. Not null. Fix for sessvars
  • javascript-xpath.js blanked by default.
  • Drag drop significantly improved. Works across scrolling panels.
  • Firefox 13 suite run fixed
  • _confirm and _prompt wait for input
  • Fixed _byText
  • Fixed bug in resizing Evaluation Expression box
  • Fixed IE focus issue.
  • Fixed keypress issues in various browsers.
  • Mixing file and url scripts fixed.
  • Modal from different domain fix.
  • handle newlines and spaces in browser_types.xml
  • Added _setFile with 3 parameters in Sahi Java.
  • NO_LOG type handled

New in Sahi 20110525 (May 25, 2011)

  • Bugfixes:
  • Fixed click for link with javascript: on IE
  • Wrong details in browser_types causes testrunner to abort and fail
  • Features:
  • SingleSessionTestRunner takes initJS at test level.

New in Sahi 20110517 (May 17, 2011)

  • Bugfixes:
  • Modified browser paths and prcocess name for Mac & Linux to render the browser correctly
  • closeWindow bug is fixed for IE.
  • Preventing recording of random clicks
  • Bug fix in _canvas and _click API
  • Features:
  • Added force check for verifying the browser paths at Sahi startup in MacOS.
  • Log file names are more accessible from script.
  • Added a forum test for sanity.
  • Added SingleSessionTestRunner.java, Single Session implementation is for running multiple tests in a single session as sequential test.
  • Added dragdropXY method in java.
  • Modified domainfix as configurable

New in Sahi 20110404 (Apr 4, 2011)

  • Bugfixes
  • RightClick and DoubleClick simulation made better
  • Errors if caught, do not fail tests
  • Features
  • SetStrictVisibilityCheck added. If true, Sahi APIs will look at visible elements only.
  • Blocked unnecessary https calls via block_ssl_domains.txt (fix for FF hang due to safe-browse and addons update)

New in Sahi 20110213 (Feb 14, 2011)

  • Bugfixes:
  • AJAX bug on IE related to XHR.abort fixed
  • under position bug fixed
  • coordinates of events correctly set to clientX and clientY
  • dragDrop on jquery related bug fixed
  • Features:
  • mouseDown and _mouseUp added
  • browser_types.xml added, to pre-configure browsers
  • commandline parameters to TestRunner can be supplied as -key1 value1 -key2 value2
  • APIs and hooks for integration with Test Management tools added.
  • Look at http://localhost:9999/_s_/runner/runner.htm
  • TrafficLogger can log both unmodified and modified data.

New in Sahi 20100820 (Aug 20, 2010)

  • Fixed data truncation bug introduced in 30 Apr build
  • Fixed getText bug which returned ab on FF and a b on IE for ab
  • Fixed for in select option text
  • Fixed window.opener behaviour for link clicks
  • Fixed parsing error for $a == $b

New in Sahi 20100611 (Jun 11, 2010)

  • Bugfixes
  • Fixed data truncation bug introduced in 30 Apr build
  • Fixed getText bug which returned ab on FF and a b on IE for ab
  • Fixed for   in select option text
  • Fixed window.opener behaviour for link clicks
  • Fixed parsing error for $a == $b
  • Features added
  • Added Shiretoko as variant of Firefox
  • _byXPath added.
  • For browsers without XPath support,
  • download the javascript file from http://coderepos.org/share/wiki/JavaScript-XPath
  • and save the contents in sahi/htdocs/spr/javascript-xpath.js
  • _under added as a positional relation
  • Lets identify elements under another element eg. _cell(0, _under(_tableHeader("Status")))
  • Sxx errors are displayed on screen too.
  • Time taken by each test is displayed in logs.
  • XHR redirects are excluded from injection
  • Added Driver.setControllerMode. Takes sahi, java, ruby
  • _option brought in sync with other APIs.
  • NOTE: older _option(selElement, value) will not work any more
  • Replace with _option(value, _in(selElement))
  • row brought in sync with other APIs.
  • NOTE: older _row(tablElement, rowNumber) will not work any more
  • Replace with _row(rowNumber, _in(tablElement))

New in Sahi 20100428 (Apr 28, 2010)

  • Bugfixes
  • Fixed bug where characters were malformed in UTF-8.
  • Fixed memory leak in SahiTestSuite
  • Fixed realm detection bug for 401 authentication
  • All regular expression based matches match the innermost element
  • Picking the correct firstLine of HTTPRequests which caused headers to be visible
  • Workaround for bug in Rhino's Regexp.toString where RegExp has /
  • Modified browser options to reflect latest browser releases
  • Fixed Cannot Connect response message to show changes to userdata.properties.
  • Features added
  • Using Richard Li's StreamFilterInputStream to reduce number of threads used
  • Waiting for comet requests
  • _sahi.lastAssertStatus added which can be used to check state of last alert.
  • returns "success" or "failure".
  • Controller shows encapsulating link and table in alternatives
  • Showing recorded steps on Java/Ruby Controller
  • setFile shows error if file is not found. File paths resolved relative to userdata dir.

New in Sahi 20091023 (Nov 18, 2009)

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

New in Sahi 20090715 (Jul 16, 2009)

  • Features added:
  • Support for 401 authentication. A dialog box is shown on the browser for authentication.
  • Support for HTTPS client certificates. Look at ssl.client.* settings in sahi.properties
  • hidden(identifier [, domRelation]) added
  • byClassName(className, tagName [, domRelation]) added
  • Bugfixes:
  • checkbox onchange triggered for IE.
  • Content-Length removed from parts of MultiPartRequest