Skip to main content

Mobile Action List


Notes

NoNoteVariable / Hex codeUsage
1To use variables created on the editor screen, you must add the "$" sign as a prefix.testmore$testmore
2To use variables saved runtime or saved from the element text add the "##" sign as a prefix.invio##invio
3To compare color you must add the “#“ sign as a prefix to the hex code.ff0000#ff0000

Element Dependent Actions

Assert Clickable - Android


Verifies if the element is clickable.

Set the switch button to true or false in accordance with the scenario's acceptance criteria.

Assert Color of Element


Compares the color value of the specified element with a given color value.

Enter the hex code value.

❗Ensure to include prefixes as outlined in the Notes!

Assert Contains Text


Checks whether the element's text contains the provided text.

Enter the text for comparison into the textbox within the parameter section.

Assert Element Text With Given Text


Verifies if the element's text is an exact match to the provided text.

Input the text for matching into the textbox and set the switch button to true or false.

Assert Element Visibility


Confirms whether the selected element is visible.

Set the switch button to true or false.

Assert Enabled - Android


Determines if the selected element (e.g., a button) is active.

Set the switch button to true or false.

Assert Focused - Android


Checks whether the selected element (e.g., a textbox) is currently in focus.

Set the switch button to true or false.

Assert Picked Element Text With Given Text


Verifies if the provided text matches the text selected from a ComboBox.

Set the switch button to true or false.

Assert QR Code


Confirms if the text value of the QR code is identical to the entered text.

Enter the text for comparison into the textbox in the parameter section.

Assert Text By OCR


Checks whether the text extracted from the on-screen image via image processing contains the provided text.

Enter the text for comparison into the textbox.

Assert Text Length


Verifies if the length of the element's text is equivalent to the integer value.

Enter the integer value for verification into the textbox.

Check Regex


Determines if the format of the element's text conforms to the entered Regex format.

Enter the regex pattern for matching into the textbox and set the matches switch button to true or false.

Check Regex and Given Text


Checks if both the element's text and its format match the entered Regex format and text value.

Enter the regex pattern and text for comparison into the textbox.

Clear Text


Clear all text from an input field.

Use before entering new text to ensure clean input.

Clear with Backspace


Clears the last character of the text from an input field.

This action clears only the last character.

Click


Clicks on the selected element.

The click occurs at the center point.

Click Underlined Text


Clicks on the underlined text displayed on the screen.

The click occurs at the center point of the underlined text.

Click Word in Sentence


Clicks on the part of the text that matches the provided text, identified through image processing of the entire screen.

The click occurs at the center point of the given text.

Close Bottom Sheet


Closes the modal bottom sheet.

This action closes the bottom sheet and returns to the previously opened page.

Element Exists


Verifies whether the selected element is present on the screen.

Set the switch button to true or false.

Find Element Again


Confirms whether the element is present on the screen.

Set the switch button to true or false.

Get Property


Retrieves the property values of the selected element.

Select the property to save and enter the variable name into the textbox for subsequent use.

Greater Than


Checks if the numeric value of the element is greater than the provided integer value.

Enter the integer value for verification into the textbox and set the switch button to true or false.

Is Checked - Android


Determines if the checkbox is checked.

Set the switch button to true or false.

Is Selected - Android


Verifies if the selectable element is selected.

Set the switch button to true or false.

Pick Element From Spinner


Selects the option from the ComboBox element that matches the entered ID and index value.

Enter the id and index values of element for selection into the textboxes.

Pick Element From Spinner By Text for Android


Selects the option from the ComboBox element that matches the entered text for Android.

Enter the text to be selected into the textbox.

Pick Element From Spinner By Text for iOS


Selects the option from the ComboBox element that matches the entered text for iOS.

Enter the text to be selected into the textbox.

Press Numeric Keycode for Android


Sends Android Keycodes to the device to simulate user behavior.

Enter the integer keycode value into the textbox.
Click to access the Keycode List!

Pull to Refresh


Refreshes the page by pulling the selected element.

This action performs a pull-down-to-refresh.

Run App in Background


Places the application in the background for the specified number of seconds.

Enter -1 in the seconds textbox to keep the app running in the background indefinitely.

Save Text of Element


Saves the text content of the selected item as a variable for subsequent use.

Enter the variable name into the textbox.

❗When utilizing saved variables, remember to include prefixes as outlined in the Notes!

Save Text of Element With Regex


Saves the text content of the selected element, formatted with a Regex, as a variable for later use.

Enter the variable name and regex format into the textboxes. To use the created variable, you should prepend it with "##".

Set Text


Enter text into an input field or editable element.

Input text exactly as it should appear, supports variables.

Swipe Direction with Percentage


Swipes the screen in the chosen direction by a specified percentage.

Select the direction and enter the percentage into the textbox.

Swipe Down


Swipes down on the screen by the given percentage.

Enter the percentage into the textbox.

Swipe Left


Swipes left on the screen.

This action performs a left swipe from the selected element.

Swipe Right


Swipes right on the screen.

This action performs a right swipe from the selected element.

Swipe Up


Swipes up on the screen.

Enter the percentage into the textbox.

Take Screenshot


Captures a screenshot of the selected element.

This action captures only the selected element's screenshot.


Generic Actions


Assert Contain Text

Checks whether a text saved as a variable contains either a given text or another saved variable's text.

Enter variables or text for comparison into the textboxes.

❗Ensure to include prefixes as outlined in the Notes!


Assert Text

Verifies whether a text saved as a variable precisely matches either a given text or another saved variable's text.

Enter variables or text for comparison into the textboxes.


Assert Text by OCR

Checks whether the text extracted from the on-screen image via image processing contains the provided text.

Enter the text for comparison into the textbox.


Clear Logs


Resets device logs.

This action clears stored device logs.


Click Element Has Given Text


Clicks on the element that contains the specified text.

Enter the text into the textbox.


Click Nth Item


Clicks the element corresponding to the entered Nth data.

Enter the class name and index value into the textboxes.


Click Push Notification


Clicks on the Push Notification.

Enter the target text that the push message is expected to contain.

Example:
Push Message: “End of Season Sale”
Target Text: “Sale”


Click Word in Sentence


Clicks on the part of the text, obtained via image processing of the entire screen, that matches the entered text.

Enter the word to be clicked into the textbox.


Close App


Terminates the application.

Enter the Bundle ID value of the application to be closed.


Generate Random Variable


Creates a random variable of the selected information type for subsequent use.

Enter the variable name and select the variable type.


Get Current App Bundle ID


Retrieves the Bundle ID of the currently running application and assigns it to a variable.

Enter the variable name to save the application's Bundle ID value.


Hide Keyboard - Android


Closes the visible keyboard.

This action hides the displayed keyboard.


Is Keyboard Shown - Android


Checks if the keyboard is currently displayed.

Set the switch button to true or false.


iOS - Alert Action


Verifies whether the alert text matches the given text.

Enter the text for matching into the textbox and set the switch button to true or false.


Launch App


Launch the application.

Enter the Bundle ID value of the application to be launched.


Permission


Accepts or rejects the selected application permission.

Select the permission type to allow or deny and set the switch button to true or false.


Press Key Code - Android


Sends Android Keycodes to the device to simulate user behavior.

Enter the integer keycode value into the textbox.


Read OTP From SMS


Scans the OTP code in an incoming SMS and creates a variable for subsequent use.

Enter the first word immediately to the right of the OTP code into the 'Right Text' area.
Specify the OTP Length and enter the variable name into the ‘Otp Key’ textbox.

Example:
Message: “12345 use this code to verify your account.”
Right Text: use
OTP Length: 5
OTP Key: OtpCode.


Reset App


Resets the application.

This action uninstalls and then reinstalls the app.


Run App in Background


Places the application in the background for the specified number of seconds.

Enter the duration in seconds. Use -1 to maintain it in the background indefinitely.



Navigates directly to the specified screen of the application using the provided deeplink URL.

Enter the deeplink URL.

Example:
appDeeplink: com.invio.testmore/homeDeeplink
Textbox: $appDeeplink


Run Soap Command


Sends SOAP requests.

  1. Select the request method.
  2. Enter the request URL, Headers, and Body.
  3. Type the Key name from the response into the “Keys” textbox to display its value in the scenario report.
    Example:
    Keys: users[0].name

Save Runtime Variable


Creates a runtime variable for subsequent use within the scenario.

Enter the variable name and value.

❗Ensure to include prefixes as outlined in the Notes!


Send cURL Request


Sends cURL requests.

Enter the cURL request’s URL, headers, and data.

Example:
Request: curl -X POST https://testmore.com/echo/post/json -H 'Content-Type: application/json' -d '{"login":"my_login","password":"my_password"}'

Textboxes:
URL: https://testmore.com/echo/post/json
Headers: Content-Type: application/json
Data: "login":"my_login","password":"my_password"


Send Keycode As Text - Android


Enters text into uneditable textboxes using Android Keycode.

Enter the text to be set into the textbox.


Swipe Down


Swipes the screen down by a specified amount.

This action performs a swipe down from the center of the screen for 100ms.


Swipe Up


Swipes the screen up by a specified amount.

This action performs a swipe up from the center of the screen for 100ms.


Swipe With Ratio


Swipes the screen from a specified coordinate to another point. [(X1,Y1) → (X2,Y2)]

Enter the coordinates to define the swipe path on the screen.


Swipe Down Until Find


Swipes down the screen until the entered text is located.

Enter the text to be found.


Swipe Up Until Find


Swipes up the screen until the entered text is located.

Enter the text to be found.


Take Screenshot


Captures a screenshot of the entire screen.

This action captures not only a selected element's screenshot but also the entire screen.


Tap by Coordinates


Clicks a specific point on the screen based on a given screen percentage or exact coordinates.

Select the tap type and enter the coordinate values.

Wait


Pauses the test run.

Enter the waiting duration in seconds.