Command list for Smart Devices
From GXtest Wiki
Contents |
Events
Events | |
---|---|
Back | Simulates the action of pressing the back button on the Android device. |
Go | Is used to launch the application on the device. It receives only one parameter, where we specify the path to the apk of the Android app to install/launch. |
Tap | It simulates a click or tap on a control of the app defined in GeneXus |
TapText | It simulates a click or tap on a text that is visible on the device screen |
TapTable | It simulates a click or tap on a table cell (identified by the row and column of the table) |
Actions
Actions | |
---|---|
DPNext | Move to the next row of a Data Pool. You should always use DPNext before you begin to use a Data Pool, indicating the name of Data Pool |
DPReset | Returns to the beginning of a Data Pool.
Note: In order to re-use a Datapool, the DPNext command must be executed against it. |
FillInput | Is used to insert a value into a field |
Menu | It simulates a tap on the Menu button of the Android device (if available) |
Swipe | It simulates a swipe action, like a user would do by pressing and dragging its finger through the screen. It receives as a parameter the direction of the swipe movement (up, down, left, right). |
Validations
Validations | |
---|---|
AppearText | Checks if a specific text is or is not on the screen. The text must be visible on the screen. If the text is outside the screen (for example in small resolutions, where you must scroll to find the text), you should use Swipe command to scroll and find the text, so it appears in the screen. |
VerifyControlText | Compares a value displayed by a control, with another value |
Considerations
There are some GXtest platform-independent commands, that are supported by the Android execution but are not detailed in the above lists. Those commands are:
- Concatenation
- Execute
- Pause
- Random
- SQLExecute
- StoreValue
- GetValue
- Summarize
- TakeScreenshot
- Equals
Go back to GXtest for Smart Devices