Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.07 KB

appium_fields.rst

File metadata and controls

43 lines (26 loc) · 1.07 KB

Appium Fields

The following Fields are available with the default Appium implementation. Each implements a specific performer method.

  • Button <appium_button>: Clickable object.
  • Input <appium_input>: Object that accepts keyboard input.

    Convenience Class on top of Field, it implements click() as its performer.

    stere.fields.appium.button.Button.click()

    A simple wrapper over Field, it implements send_keys() as its performer.

    stere.fields.appium.input.Input.send_keys()

    Fills the element with value.

Location Strategies

These represent the way a locator will be searched for.

By default, the strategies available are:

  • accessibility_id
  • android_uiautomator
  • ios_class_chain
  • ios_predicate
  • ios_uiautomation

These strategies can be overridden with a custom strategy (ie: You can create a custom accessibility_id strategy with different behaviour).