README
Appium
Module to automate mobile devices
Read this in other languages: English, Português, Español
How to install this module
To install the module in Rocketbot Studio, it can be done in two ways:
- Manual: Download the .zip file and unzip it in the modules folder. The folder name must be the same as the module and inside it must have the following files and folders: _init_.py, package.json, docs, example and libs. If you have the application open, refresh your browser to be able to use the new module.
- Automatic: When entering Rocketbot Studio on the right margin you will find the Addons section, select Install Mods, search for the desired module and press install.
Overview
-
Configure Appium
This command checks if you have installed the necessary dependencies to run Appium. It will try to install some, but not all. For those in which Rocketbot cannot, it will generate an error indicating the steps to follow to install them manually. It is recommended to run this command only to validate that you have the necessary dependencies, and not include it in the version of the bot that is deployed in production. -
Pair device
This command allows you to pair an Android device with the machine you want to connect to. This step is necessary to perform only once per device if you want to connect via WIFI. -
Connect Android
This command allows you to connect an Android device and configure the server using Android Debug Bridge (ADB). Developer options must be enabled on the device, and wireless or USB debugging as appropriate. -
List Emulated Devices
This command allows you to list the available emulated devices. -
Connect Emulated Device
This command allows you to connect an emulated device and configure the server. If this is the first time you run the emulator, it may take a few minutes to start. -
Lock device
This command allows you to lock an Android device. -
Unlock Device
This command allows you to unlock an Android device. Only available if the unlock type and code have been set in the connection command. -
Get Current Application Information
This command allows you to get the package name and activity name of the application that is currently running on the Android device. -
Start application
This command allows you to start an application on the Android device. To get the package name and activity name, you can use the Get Current Application Information command -
Simple Swipe
This command allows you to perform a simple swipe on the Android device screen. -
Tap on coordinates
This command allows you to tap on a specific coordinate on the screen. -
Tap on element
This command allows you to tap on a specific element on the screen. -
Send keys
This command allows you to send keys to a specific selector of the Android device. -
Get text
This command allows you to get the text of a specific selector of the Android device. -
Get text by coordinates
This command allows you to get the text of an element located at a specific position of the Android device. -
Zoom in coordinates
This command allows you to zoom in or zoom out on the coordinates specified on the Android device. -
Zoom in object
This command allows you to zoom in or zoom out on an object on the Android device. -
Screenshot
This command allows you to capture the screen of the Android device and store the image in the specified path. -
Run command on device
This command allows you to run a command on the Android device terminal. To run this command correctly, the Allow shell checkbox in the connection command must be checked. -
Wait for object
This command allows you to wait for an object on the Android device. The command will run until the object is found or until the maximum waiting time is met. -
Disconnect device
This command allows you to disconnect the Android or emulated device that is being automated
OS
- windows
- mac
- linux
- docker
