Brings the browser window into focus. This is useful while taking screenshots or using native events.
Takes a screenshot of the entire screen and adds it to the logs.
Automatically rerun failed scripts
Sahi can create a suite of failed scripts and trigger it at the end of a suite run.
Refer to “Rerunning failed scripts automatically” section here
Trigger testcases from a web interface
We have released the first version of the web based interface for running Sahi scripts.
The web based testrunner allows us to easily trigger testcases on a remote machine running Sahi.
More details here: Web based Testrunner
Syntax highlighting on Evaluate Expression box and Script Editor
Syntax highlighting helps easily see script errors and match brackets in the Evaluate Expression box and Script Editor.
Encode proxy passwords in userdata.properties
Since proxy passwords can be sensitive, we have enabled simple base64 encoding for masking passwords in userdata.properties
You can base64 encode strings here: /demo/php/base64.php
Added missing mx and spark components in Sahi Flex Library
We added support for missing classes from the mx and spark packages
Show custom fields in suite reports
Look at Custom Fields section in Sahi Pro Reporting
Use Properties files when connecting to database
Sometimes it is necessary to pass more than just username password when making a connection to a database.
The _getDB API now can take a Properties file with extra parameters. More details: _getDB