Write Mobile Tests
Reference both the application and mobile device in your test.
Launch the Application
Scenario: Start emulator and run the app
Given application "{Android apps.TestFirst Sample 1}"
Given mobile device "{Devices.Android.Pixel 10}"
When I run applicationThe application and mobile device values are resolved from the Data Repository.
Interact with Mobile Elements and Validate Content
Scenario: Test 1
When I tap "Show table"
And I tap "R2C2"
And I tap "R6C3"
Then "R6C3 - clicked" is displayed in mobile deviceScroll and Navigate
Scenario: Test 2
When I scroll down in mobile device
And I wait for 2 seconds
And I tap "Back"Supported Mobile Actions
Mobile tests support common Android interactions including:
Launching applications
Tapping elements
Scrolling
Waiting
Validating displayed content
Device navigation actions
Additional mobile actions may be available depending on the target application and device.
Last updated

