Skip to content

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

@ser2022

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions