Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility services stops when running appium tests on android device #6170

Closed
vivek978 opened this issue Feb 22, 2016 · 7 comments
Closed
Labels
Android related to Android-native driver(s)

Comments

@vivek978
Copy link

The problem

I am automating an android application which uses accessibility services to function. As soon as I use appium with the app accessibility services stops.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.4.0
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: Mac OS X Yosomite
  • Node.js version (unless using Appium.app|exe):
  • Mobile platform/version under test: Android 4.4.4
  • Real device or emulator/simulator: Real Device
  • Appium CLI or Appium.app|exe: Appium.app

Details

Describe in more detail the problem you have been experiencing, if necessary.

Link to Appium logs

Create a gist which is a paste of your full Appium logs, and link them here. Do not paste your full Appium logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include Appium logs!

@scottdixon-zz
Copy link

@vivek978 - please try with a more recent version of Appium:
npm install -g appium

Let me know if the issue persists and I'll investigate further.

@scottdixon-zz scottdixon-zz added Android related to Android-native driver(s) and removed Needs Triage bugs which are not yet confirmed labels Mar 1, 2016
@vivek978
Copy link
Author

vivek978 commented Mar 2, 2016

@scottdixon I checked with more recent version of Appium i.e 1.5, but issue still persist.

@nikhil969
Copy link

any updates

@adarliu
Copy link

adarliu commented Oct 11, 2016

I also met this issue. After some investigation, I think this issue was not caused by Appium, but a limitation of Android uiautomator. It seems when ui automator is running, the other app accessibility services will be stopped.

To prove this, you can:
1 enable the accessibility "TalkBack", or any other third-party apps.
2 start uiautomator process: adb shell uiautomator events (This will just print the accessibility events)
3 The "TalkBack" service (or any other apps) stops working even the accessibility switch is shown on in the Settings.

@ghost
Copy link

ghost commented Jul 17, 2017

Hi Guys,
I am also facing the same issue with Appium 1.6.5 version. Is there any update on this ???

@dpgraham
Copy link
Contributor

Duplicate of: #4910

This is a third party problem.

@dpgraham dpgraham marked this as a duplicate of #4910 Jul 20, 2017
@lock
Copy link

lock bot commented Apr 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android related to Android-native driver(s)
Projects
None yet
Development

No branches or pull requests

6 participants