mirror of
https://github.com/appium/appium.git
synced 2026-02-07 01:58:55 -06:00
22 lines
680 B
Plaintext
22 lines
680 B
Plaintext
*** Settings ***
|
|
Documentation Android Selectors
|
|
Resource ../resources/resource.robot
|
|
Test Setup Open Android Test App
|
|
Test Teardown Close Application
|
|
|
|
*** Test Cases ***
|
|
Should find elements by Accessibility ID
|
|
${element} get webelement accessibility_id=Content
|
|
element should be visible ${element}
|
|
|
|
Should find elements by ID
|
|
page should contain element android:id/action_bar_container
|
|
|
|
Should find elements by class name
|
|
@{elements} get webelements class=android.widget.FrameLayout
|
|
length should be ${elements} 3
|
|
|
|
Should find elements by XPath
|
|
@{elements} get webelements //*[@class='android.widget.FrameLayout']
|
|
length should be ${elements} 3
|