Android Convenience API

Note: The Android Convenience API is only available in Squish for Android.

GestureBuilder class (Android)

Represents a sequence of touch strokes.

UiAutomator class

Support for automating Android UiAutomator objects.

WebView.evalJS

Returns the result of evaluating a JavaScript expression.

androidUiAutomator

Returns a UiAutomator object.

defaultDevice property

Default Android device.

doubleTap (Android)

Double-taps on a specified widget.

gesture (Android)

Plays a gesture.

goBack

Taps the Android 'back' button.

goHome

Taps the Android 'home' button.

goNotifications

Opens the Android notifications.

goQuickSettings

Opens Android quick settings.

goRecents

Taps the Android 'recents' button.

hideKeyboard (Android)

Hides the soft keyboard if it is showing.

installEventHandler (Android)

Installs a global event handler.

longPress

Presses for 2s before releasing.

longPressAndDrag

Performs a touch drag operation.

nativeObject property (Android)

Provides access to an object's underlying native methods and properties.

nativeTap

Performs a shell-level tap.

openMenu

Taps the Android 'menu' button.

readGesture (Android)

Returns a GestureBuilder after reading it from a file.

startObserver

Starts the androidobserver process.

stopObserver

Stops the androidobserver process.

tapMenuItem

Performs a menu action.

tapObject (Android)

Taps on the specified object.

touchAndDrag (Android)

Performs a touch drag operation.

type (Android)

Types text into an editable widget.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.

Search Results