What is new in Sahi Pro Mobile Add-on v8.0.0
abstract
Sahi Pro Mobile Add-on v8.0.0 is a major release with significant feature additions and modifications. The following summarizes features and enhancements in Sahi Pro Mobile Add-on v8.0.0
infoNote: Sahi Pro Mobile Add-on requires a different license file than that of Sahi Pro.
Refer to Sahi Pro Mobile Add-on page for details.
Key Features
warningRead this section, before upgrading to Sahi Pro Mobile Add-on v8.0.0
Sahi Controller
: Fixed element identification with respect to the relational apis.Java Controller
: Fixed recording and element identification with respect to the relational apis.Optimize Viewer
checkbox has been removed from the iOS Viewer. By default, the viewer is optimized.- Added Webview support in Android.
- Added ios_devices.xml and android_devices.xml at
<SahiPath>/userdata/config
. Device list will be fetched from the respective xml file. - Added property
ios.keyboard.buttons.autoclick
, in which user can specify the name of the keyboard button which is used to hide the keyboard. Separate multiple names with semi-colon. - Implemented distributed playback for Mobile Add-on.
- Fixed Android/iOS Java Driver playback from scenario file.
Controller
Android/iOS Viewer
Configuration
Plyaback
New APIs
Android Application
-
Action APIs
Screenshot APIs
- _takePageScreenShot: Take a full screenshot of a application element or the device.
- _assertSnapShot: Takes the full screen shot of the screen or the element if specified, and compares with the reference image.
- _aStartWebContext: Change the execution mode to ANDROID_WEBVIEW and start the execution of the following steps as Web.
- _aStopWebContext: Stop execution in Android WebView.
- _deviceInfo: Returns device information as an associative array.
iOS Application
-
Action APIs
Fetch APIs
- _isChecked: Returns the current status of checkbox or radio button.
- _takePageScreenShot: Take a full screenshot of a application element or the device.
- _assertSnapShot: Takes the full screen shot of the screen or the element if specified, and compares with the reference image.
- _deviceInfo: Returns device information as an associative array.
- _iSetAutoDismissKeyboard: Dismiss the keyboard automatically after setting value.
Modified APIs
- _takeScreenShots: Added
$noLogs
(it will not log the images in Sahi logs) parameter. - _launchNewMobileBrowser: DeviceId (required) as first parameter and URL as second parameter.
- _takeScreenShots: Added
$noLogs
(it will not log the images in Sahi logs) parameter. - _setValue: Implemented
$props
arguments, which is used to dismiss the keyboard as well as clear the text.
Android Application
iOS Application
Bug Fixes
- _setValue for Android versions below Lollipop.
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 Desktop Add-on v8.0.0 for features and enhancements done in Sahi Pro Desktop Add-on v8.0.0.