how to scroll backward in android using UIAutomator2
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
Need to scroll backward in Android. Kindly help me to achieve it. Used flingBackward(),scrollToEnd for which i got error like it should
Error code:
Could not parse expression new UiScrollable(new UiSelector().description("row_selected_0")).flingBackward(): Last method called on a UiScrollable object must return a UiObject object
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported UIAutomator2 expression using UiScrollable, UiSelector, and flingBackward(), then compare it with the supported Android scrolling API usage. Done means identifying a valid backward-scroll invocation that avoids the reported parse error and confirming it against the relevant Android automation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100