android / android/testing-samples
How to get the text on a button?
Open
- Dominant language
- Java
- Stars
- 9.3k
- Forks
- 3.6k
- PR merge metrics
- No merged PRs in 30d
Description
I can use onWebView().withElement(findElement(Locator.ID,"checkbutton")) to find this button, but how can I get the text on it ?
Contributor guide
Research direction
The issue names no file or test; start with the WebView API behind onWebView().withElement(findElement(Locator.ID, "checkbutton")) and review its documented element accessors. Done means providing a documented, reproducible answer for reading the button text or clearly documenting the limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile, testing-qa
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100