-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
TestID value is put into the Android's View tag #16137
Comments
@chirag04 Both issue and PR you are referring to are closed by now... Is anyone going to work on the closed issue? |
nobody that i know is working on it, i can't speak for fb tho. you can put your proposal there if any. Also suggest reading through those issue to see if it helps and come up with a PR. |
@chirag04 As was mentioned above using testID seems to be viable solution (ReactNative.testID -> Android.resource-id) |
The best way I can tell you is to come up with a proposal and open a PR with POC. If you need this you will have to built it. I understand this has been a long standing issue. There are tools like detox which now work on android as well, so if you can’t build I suggest you look at them. |
Ok, thanks for the reply. Regarding Detox - they "Currently supports iOS, Android support is coming - status page.". As far as I can see it is in beta with all the risks that come with. Though given all the circumstances it looks like decent option. Regarding long standing issue - it could be summarized by comment from #7135 on Jul 25 - "we are suffering and they don't care..." :) |
Currently TestID value is put into the Android's View tag, but it is not available via Appium on Android.
UIAutomator2 is not planning to support it: appium/appium#6025 (comment).
I'm aware of a workaround to use AccessibilityLabel (which is the only option), but this information is intended to be read to the end user so I would prefer not to put some testIDs in there.
Are there any plans to work on this issue?
The text was updated successfully, but these errors were encountered: