Skip to content

named_textfield #100

Description

@bootstraponline

Given a textfield with an accessibility identifier:

[myTextField setAccessibilityIdentifier:@"my_unique_name_for_this_textfield"];

It appears twice in the page output:

UIATableCell
name: my_unique_name_for_this_textfield
value: UIATextField
name: my_unique_name_for_this_textfield
label: value:

name('my_unique_name_for_this_textfield').type will type into the table cell instead of the textfield.

defnamed_textfieldtarget_namewaitdotarget=e_textfields.detect{ |e| e.name == target_name}raise'name textfiled not found'unlesstargettargetendend

Now we know the proper type has been selected.

named_textfield('woven_account_name_textfield').type'testing'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions