appium / appium/java-client

Bug: Password elements returning empty text on Android 6

Open
#1,519 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

Description

Hi. I have an app that has password elements (EditText widget) and I noticed that on Android 6, the text property is returning empty even when we type something on it or when it comes with placeholder. On Android 8 and 11 it works, that is, the text returns the correct value or the place holder when empty

Environment

Java 14
Appium client 7.5.1
Appium server 1.21.0
Android emulator running Android 6.0 image (Google APIs)
macOS Big Sur

Details

Screen Shot 2021-09-22 at 14 39 51

Code To Reproduce Issue

app-debug.apk.zip

1 - Load the attached .app file to an Android 6.0 image
2 - Start this server
3 - In the app, type the URL http://10.0.2.2:8080/textinput to get to the screen

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by loading the attached app-debug.apk on an Android 6.0 emulator, starting the bff-server, and opening http://10.0.2.2:8080/textinput. Reproduce the password EditText behavior and compare its text value with Android 8 or 11. Done means the text and placeholder values are returned correctly on Android 6 as well.

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
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.