Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ser2022 opened this issue Jun 8, 2022 · 0 comments

Comments

@ser2022
Copy link

ser2022 commented Jun 8, 2022

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

@ser2022 ser2022 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 Jun 8, 2022
@ser2022 ser2022 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 Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant