Skip to content

Patterns for E2E testing nested text? #986

Closed Answered by adamstep
Poundex asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not really an expert on Android UI testing, but I found some links indicating this might be a general problem on the Android platform. See this Stack Overflow question and the Appium discussion linked from there. It seems like the best (hacky) solution is to match the textview by ID, and then apply coordinate offset to touch the place where your link is. Seems like that would break with dynamic text or different device screen sizes, but I haven't found any better solutions.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@flochtililoch
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Poundex
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants