What is new in Sahi Pro v9.5.0
abstract
Sahi Pro v9.5.0 is a major release with significant feature additions.
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.5.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.
Key Features
Git Integration
Now you can easily Integrate Sahi Pro with Git and work with your Git repository directly from the Sahi Pro Editor. Following Git operations are available in the Sahi Pro Editor.- Git Configuration: Git configuration values like URL for the remote Git repository, remote branch name, author details, authentication details etc. can be saved.
- Git Commit: Changes can be checked in to the remote Git repository. Also, latest changes can be checked out from the remote Git repository.
- Git History: List of all commits made in the remote repository can be viewed. File changes in every commit are visible in detail. Git History can also be viewed for a specific file or directory.
- Git Compare: There is a provision to compare and show the differences between two versions of a file. Local version and the Head version of a file can be compared. Local version of a file and the version of that file in a specific commit can also be compared. Two commits can also be compared.
Modifications
- HTML Script Report: Functionality to update expected images with actual, where image assertion failed.
Bug Fixes and Improvements
- Since Sahi Pro v9.0.0, IP addresses can be configured to Restrict Remote Access to Sahi. On accessing Sahi from a restricted IP address, a browser's error page used to appear. Now a custom Sahi error page will be shown instead.
- KeyboardEvent.initKeyEvent is removed in Firefox Release 93. It causes API _setValue to fail. This is now fixed.
What is new in Sahi Pro Desktop Add-on v9.5.0
- No changes.
What is new in Sahi Pro Mobile Add-on v9.5.0
- No changes.
What is new in Sahi Pro SAP Add-on v9.5.0
- No changes.