What is new in Sahi Pro v9.1.2
Sahi Pro v9.1.2 is a minor release with performance improvement and bug fixes.
Instructions to Install/ Upgrade using Installer
Section titled “Instructions to Install/ Upgrade using Installer”Instructions for updating through Web UI
Section titled “Instructions for updating through Web UI”Bug Fixes and Improvements
Section titled “Bug Fixes and Improvements”- Performance improvements in Sahi Playback
- During playback, it is necessary to identify inactive browser windows. Earlier a separate thread was created per browser session for this activity. Now, a single thread will suffice for all the browser sessions.
- Optimized processing of HTTP requests.
- Cached and reused regex patterns.
- Avoided downloading browser and system updates to Sahi’s download directory.
- Introduced property
testcase.restart_browser_if_abortedto restart the browser for an aborted test case in a scenario file during playback. - Introduced property
drun.auto_rerun_scripts_if_internal_abortedto configure re-execution of the script if communication between Sahi Master and node is lost while the execution is in progress. If the property is enabled Script will be set toINTERNAL_ABORTED_RETRYstatus and will try to execute again. If the property is disabled, Script will be set toINTERNAL_ABORTEDstatus. - Improvement in _dragDrop API to support drag-drop better.
- Fixed: Issue in ping from IE8 browser.
- Fixed: Issue in JS code coverage for ECMAScript 6 code(Partial fix).
- Fixed: Base window gets identified as a popup in Firefox version 86 when navigated to a different domain.
- Fixed: Issue occurs in identifying a popup after the latest browser update.
- Fixed: Issue occurs in _closeWindow API after the latest browser update.
Modifications
Section titled “Modifications”- _dragDrop: In versions before Sahi v9.1.0, _dragDrop API would drag from the top left of draggable and drop at the top left of droppable. However in few applications, this top-left position did not facilitate drag-drop operation. So in v9.1.0, _dragDrop API was improved and it dragged from the center of draggable and dropped at the center of droppable. But using center position caused a few existing _dragDrop API statements to fail. To support such _dragDrop API statements written in versions before v9.1.0, the following changes have been introduced for _dragDrop API in v9.1.2 :
- By default, _dragDrop API would use the center position. If any _dragDrop API statement has _xy API for the drag/drop element, then the top-left position will be used for that drag-drop statement.
- A new property
sahi.browser.dragdrop.top_leftis introduced inuserdata.propertieswith default value as false. If this property is set as true, then the top-left position will be used for ALL drag-drop operations.
What is new in Sahi Pro Desktop Add-on v9.1.2
Section titled “What is new in Sahi Pro Desktop Add-on v9.1.2”Bug Fixes
Section titled “Bug Fixes”- Windows Application: Fixed a bug in identifying elements for systems having display language as Turkish.
What is new in Sahi Pro Mobile Add-on v9.1.2
Section titled “What is new in Sahi Pro Mobile Add-on v9.1.2”- No changes.
What is new in Sahi Pro SAP Add-on v9.1.2
Section titled “What is new in Sahi Pro SAP Add-on v9.1.2”- No changes.

