Skip to content

Unable to inspect picker elements of react-native-picker v1.7.2 in Appium inspector for both Android and IOS  #464

Description

@ser2022

I work on test automation . I am trying to select an expiry date in the date picker component . But I am unable to see the android tags corresponding to the date picker in Appium inspector and UIAutomatorViewer. The app source looks like below

image

After the last android.view.ViewGroup tag , nothing is displayed for date picker in inspector.

As a workaround , we asked the developer to set ids for ‘Cancel’ and ‘Confirm’ buttons . So that atleast we can select first date and proceed . But the developer informed that the date picker is coming from reactive-native-picker library(1.7.2 version) . So they are unable to set any ids inside for the ‘Cancel’ and ‘Confirm’ buttons.

Please find the xml source which copied from inspector . There is no mention of the date picker element

image

Any help is appreciated . Thanks in advance

Activity

  1. changed the title [-]Unable to inspect picker elements in Appium inspector for both Android and IOS [/-] [+]Unable to inspect picker elements of react-native-picker 1.7.2 in Appium inspector for both Android and IOS [/+] on Jun 8, 2022
  2. changed the title [-]Unable to inspect picker elements of react-native-picker 1.7.2 in Appium inspector for both Android and IOS [/-] [+]Unable to inspect picker elements of react-native-picker v1.7.2 in Appium inspector for both Android and IOS [/+] on Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions