android / android/testing-samples

How to get the text on a button?

Open
#322 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.