What is new in Sahi Pro Desktop Add-on v8.0.0
abstract
Sahi Pro Desktop Add-on v8.0.0 is a major release with significant feature additions and modifications. The following summarizes features and enhancements in Sahi Pro Desktop Add-on v8.0.0.
Key Features
warningRead this section, before upgrading to Sahi Pro v8.0.0
Controller
- Fixed:
JAVA Controller
for Desktop Add-on. - Java/Applets Application : List Properties: Lists all the properties of the element.
- Java/Applets Application : Coordinates: Retrieve Coordinates of a point.
New APIs
Windows Application
-
Action APIs
- _keyPress: Simulates pressing a key on the given element. Do keyDown and keyUp together.
- _keyUp: Simulates releasing a key press on the given element.
- _keyDown: Simulates pressing down a key on the given element.
- _assertHorizontallyAligned: Asserts if two elements are horizontally aligned.
- _assertVerticallyAligned: Asserts if two elements are vertically aligned.
- _assertCentered: Asserts if the inner element is vertically or horizontally centered to the container element.
- _assertVisiblyInside: Asserts if an element is visibly inside another element.
- _assertVisiblyOutside: Asserts if an element is visibly outside another element.
- _assertVisiblyOn: Asserts if an element is placed on another element.
- _assertFitsWidth: Asserts if an element fits within the width of another element.
- _assertFitsHeight: Asserts if an element fits within the height of another element.
- _areHorizontallyAligned: Checks whether two elements are horizontally aligned or not.
- _areVerticallyAligned: Checks whether two elements are vertically aligned or not.
- _isCentered: Checks whether the inner element is vertically or horizontally centered to the container element.
- _isVisiblyInside: Checks whether an element is visibly inside another element.
- _isVisiblyOutside: Checks whether an element is visibly outside another element.
- _isVisiblyOn: Checks whether an element is placed on another element.
- _fitsWidth: Checks whether an element fits within the width of another element.
- _fitsHeight: Checks whether an element fits within the height of another element.
- _wEdit: Window specific accessor API.
- _wCombobox: Window specific accessor API.
- _wHyperlink: Window specific accessor API.
- _wRadiobutton: Window specific accessor API.
- Accessor API's: Identifier: Support for the associative array to access elements.
- _parentNode: Returns parent element of the specified element.
- _startLookInside: Specifies that the element should be searched within another element.
- _stopLookInside: Re-sets the _startLookInside relation marker.
- _takePageScreenShot: Take a full screenshot of an element or the window application.
- _assertSnapShot: Take a screenshot of specified element and compare with reference image.
Java/Applets Application
-
Action APIs
- _focusWindow: Brings the window above all other windows.
- _assertHorizontallyAligned: Asserts if two elements are horizontally aligned.
- _assertVerticallyAligned: Asserts if two elements are vertically aligned.
- _assertCentered: Asserts if the inner element is vertically or horizontally centered to the container element.
- _assertVisiblyInside: Asserts if an element is visibly inside another element.
- _assertVisiblyOutside: Asserts if an element is visibly outside another element.
- _assertVisiblyOn: Asserts if an element is placed on another element.
- _assertFitsWidth: Asserts if an element fits within the width of another element.
- _assertFitsHeight: Asserts if an element fits within the height of another element.
- _areHorizontallyAligned: Checks whether two elements are horizontally aligned or not.
- _areVerticallyAligned: Checks whether two elements are vertically aligned or not.
- _isCentered: Checks whether the inner element is vertically or horizontally centered to the container element.
- _isVisiblyInside: Checks whether an element is visibly inside another element.
- _isVisiblyOutside: Checks whether an element is visibly outside another element.
- _isVisiblyOn: Checks whether an element is placed on another element.
- _fitsWidth: Checks whether an element fits within the width of another element.
- _fitsHeight: Checks whether an element fits within the height of another element.
- Accessor API's: Identifier: Support for the associative array to access elements.
- _parentNode: Returns parent element of the specified element.
- _getIconPath: Returns path of the graphic image that the element displays.
- _getAttribute: Return the attribute value of the element.
- _collectAttributes: Returns attribute value of all elements of the specified type matching the identifier.
- _collectElementsInfo: Returns Accessor Info object of all elements of the specified type
- _contains: Returns true if the specified child element is a child of the specified parent element, else false.
- _containsText: Returns true if element contains the text, else false.
- _getTableContents: Returns the data from the table, in two dimensional array.
- _getCellIndex: Returns an array with first value as row index and second value as column index of the table.
- _takePageScreenShot: Take a full screenshot of a element or the window application.
- _assertSnapShot: Take a screenshot of specified element and compare with reference image.
- _getWindows: Returns an array of window-property objects.
Modified APIs
Windows Application
- _collectAttributes: Allowed all possible attributes.
- _click: Added support for combination keys.
- _rightClick: Added support for combination keys.
- _doubleClick: Added support for combination keys.
- _mouseDown: Added support for combination keys.
- _mouseUp: Added support for combination keys.
- _mouseOver: Added support for combination keys.
- _takeScreenShots: Added
$noLogs
(it will not log the images in Sahi logs) parameter.
Java/Applets Application
- _takeScreenShots: Added
$noLogs
(it will not log the images in Sahi logs) parameter.
Bug Fixes
Windows Application
- Fixed _setValue: Set the case-sensitive value while Caps-lock ON.
- Fixed onAfterStep callback function api.
- Fixed onBeforeStep callback function api.
Java/Applets Application
- Fixed _click: for JTree node.
- Fixed _clickNative: for JTree node.
- Fixed _windowAction: for Java Application.
- Fixed _setSelected: for Oracle Forms.
- Fixed _setAccessorIgnoreCase.
warning
Refer What's new in Sahi Pro v8.0.0 for features and enhancements done in Sahi Pro v8.0.0.
warning
Refer What's new in Sahi Pro Mobile Add-on v8.0.0 for features and enhancements done in Sahi Pro Mobile Add-on v8.0.0.