What is new in Sahi Pro v9.7.0
abstract
Sahi Pro v9.7.0 is a minor release with bug fixes and improvements.
Instructions for updating through Web UI
warning
- If you are using Sahi Pro v9.0.1 or above version, you can easily update to Sahi Pro v9.7.0 through Update Sahi Pro web UI.
- For updating from Sahi Pro v9.0.0, please follow the instructions below.
-
On Linux OS, after upgrading through Update Sahi Pro web UI please grant permission for the
<Sahi_Installation>/userdata/bin/verify_ssl_root_cert_linux.sh
file.
Eg: chmod 755 verify_ssl_root_cert_linux.sh -
On Windows OS, when using any DB apart from H2, the Update feature stops working.
You need to update at least once from Sahi Pro 9.0.0 version in this manner to ensure all future updates work fine.
Resolution:
You will need to temporarily switch your database to H2 > Perform the Update and then Switch back to your current database settings. For more information about using different databases for reports please see the document for Use a Different Database in Using Sahi.
Steps:- Take a backup of your existing database. (It may be "mysql", "mssql", "postgresql", "oracle" etc.) When upgrading Sahi Pro and reverting your database back to your current one, your db will also get updated. So, in order to avoid losing any data, taking a backup is a must before proceeding to the below steps.
- Switch your database settings to H2 database.
- Perform update through Update Sahi Pro web UI.
- Now Switch back to your original DB settings.
-
Delete the Firefox profiles directory
<Sahi_Installation>/userdata/browser/ff/profiles
and restart Sahi.
Bug Fixes and Improvements
- Now you can easily Interact with Telnet server from Sahi.
- Improvements for Deleting DB reports
- DB reports can now be deleted based on
Time Taken
. Refer here for details - Parameters IS_LARGE_DB, DELETE_FILES, BATCH_DURATION are introduced in the file
delete_reports.bat
(ordelete_reports.sh
) present in<Sahi_Installation>/userdata/bin
directory. If an error occurs while deleting reports from a large database, use these parameters and delete reports in batches.
- DB reports can now be deleted based on
- Fixes for Firefox browser updates
- Fixed: Firefox version 94.0.2 and later crash during Parallel Playback causing scripts to abort randomly.
- Fixed: Unable to type underscore, equal, and colon characters in a Scenario file if Editor is opened in Firefox version 94.0.1 and later.
- While recording a Keyword using the Run/Record feature, now Data Drive is supported for executing the already implemented Keywords.
- Autocomplete suggestions were not appearing on pressing shortcut (ctrl + space) in Script Editor. It is fixed.
- Fixes for Integration with Git
- In Git Configuration, Remote Path URLs not ending with
.git
are now supported. - Fixed: Editor does not open if the specified Git Configuration values are incorrect.
- Fixed: If Sahi is integrated with Git, the Offline Reports are not created in the specified directory.
- In Git Configuration, Remote Path URLs not ending with
- Fixed: API _disableInfoLogging does not disable INFO messages logged by _log API.
- Fixed: On MacOS 12, physical iOS devices were not appearing in the iOS Device list of Playback Properties window and iOS Viewer.
- Installers for Sahi Pro, Sahi Pro Desktop Add-on, Sahi Pro Mobile Add-on, and Sahi Pro SAP Add-on are now compatible with Java 16 and later versions.
- Sahi automatically resolves SSL errors by adding an appropriate system property for Java in the
<Sahi_Installation>/config/java_ssl.properties
file. Now, a new propertysahi.auto_resolve_ssl_error
is introduced inuserdata.properties
with default value as true. If this property is set as false, the automatic resolving of SSL error will be disabled.
What is new in Sahi Pro Desktop Add-on v9.7.0
Modifications
- Windows Application
Bug Fixes
- Java/Applets Application
- Fixed: Unable to check/uncheck a JCheckbox element using _click API in Java 17 and later versions.
- Fixed: Unable to expand/collapse a JTreeItem element using _doubleClick API in Java 17 and later versions.
- Fixed: Unable to click on a specific JList element.
What is new in Sahi Pro Mobile Add-on v9.7.0
Bug Fixes
- Fixed: Unable to create device binary to
Connect Session
in iOS 14 and above.
Known Issue
- Unable to automate on iOS devices with iOS 14 and above.
info To fix this:
- Add property
ios.use.sahi.common_domain=true
in<Sahi_Installation>/userdata/config/userdata.properties
- Start Sahi on a system. Ensure that system and mobile device are on the same network.
- Find the IP of this system.
- Configure proxy settings of the mobile device with proxy host as system's IP and port as 9999.
- Add property
What is new in Sahi Pro SAP Add-on v9.7.0
- No changes.