Questions tagged [appium-android]

An open-source test automation tool for use with native and hybrid mobile apps

Appium is an open source test automation tool used for automating native,web and hybrid mobile applications. It drives iOS and Android apps using the WebDriver JSON wire protocol.

As per Appium 1.6.0 release, Windows desktop application testing joins the functionality list.

It provided a very helpful functionality for locating the elements. This is provided by Appium Inspector.

Please read the documentation and tutorials.

For additional help, please use the following resources:

  • Discourse Discussion Group
  • Appium Chat
  • Documentation
1084 questions
20
votes
1 answer

Run an instrument test from within app and wait for result

I am developing a QA automation solution that can record/playback QA tests on Android. A key business requirement is to have no dependency on a connected PC while playing back the recorded test. To that end, I'm trying to run an Instrumentation test…
10
votes
5 answers

app:transformDexArchiveWithExternalLibsDexMergerForDebug in Android studio 3.0.1

Messages Gradle build: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex Here is the gradle build…
sanjay sen
  • 113
  • 1
  • 1
  • 6
9
votes
3 answers

Selecting an element on Appium / Android with Python that has same Class and Same Index of another element on UIAutomatorViewer

I am testing an app and on most of the screens I see that there are elements that have the same class "android.widget.TextView" with same index number "0". All other properties also same, only exceptions are the "text" and "bound". I have "Skip",…
nhrcpt
  • 812
  • 1
  • 11
  • 40
8
votes
2 answers

Travis CI - Unable to remove port forward Error executing adbExec

I am trying to setup automated tests for an android app using Appium (npm version) but I keep getting the error [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error…
danwoodbury
  • 281
  • 1
  • 10
8
votes
13 answers

How to solve this adb server version doesn't match this client error in android?

adb server version (39) doesn't match this client (40); killing... could not read ok from ADB Server * failed to start daemon error: cannot connect to daemon adb: error: failed to get feature set: protocol fault (couldn't read status): Connection…
vijay kumar
  • 99
  • 1
  • 1
  • 5
8
votes
3 answers

How can I click on Text link inside in textview in appium

How can I click on Text link inside in textview in appium for ex. i have a string and Don't Have an Account? Register Only Register has a link other text are disable, when i click on Register it navigate to Register screen. But I can't click on…
7
votes
2 answers

How to scroll the list from script in APPIUM

Hi I am working with APPIUM in Android. What I need to do is scroll the list page wise. I tried doing following. MobileElement element =(MobileElement)driver.findElement(By.className("android.widget.ListView")); JavascriptExecutor js =…
6
votes
5 answers

Appium Java Client Version vs Selenium Version

Can any one please tell me how do I make sure which appium java-client jar version is compatible with which selenium jar version. I have tried a lot of different appium java-client versions and also selenium versions and I faced below issues…
5
votes
4 answers

How to keep alive Appium session for long time

I need to wait in the middle of my test for 5 minutes but the Appium session has default newCommandTimeout of 60s. and I get exception in the next command that my session is timeout. AndroidDriver appiumDriver = new AndroidDriver(new…
5
votes
4 answers

Appium : how to check device name using automation test cases in java

I am implementing automation test cases for one application. I wanted to generalized some test cases in order to run on each and every device based on some condition. So, in order to do that I have to get device name using some code. I am not able…
Kirti Parghi
  • 887
  • 2
  • 11
  • 27
5
votes
3 answers

How can I Turn on/off Accessibility through appium using javascript

I have this adb shell command for android and tried with the terminal and it's working perfectly. But not sure how to use this in a framework using appium command. // disable adb shell settings put secure enabled_accessibility_services…
5
votes
2 answers

Appium 6.1.0 TouchActions vs TouchAction

I was searching for the "right", or the "latest" way to create Tap/Swipe/Drag etc. events using the latest (at this point) Appium Java-client 6.1.0. I saw different documentations in the Appium site (Tap using TouchActions, Touch using TouchAction),…
Leon Proskurov
  • 117
  • 1
  • 10
5
votes
6 answers

How to enable/disable app permission using Appium?

My app need the multiple app permission. I need to check how my app behaves by allowing or denying the different permission. How can i enable/disable the app permission from the appium to create the multiple scenario? For example lets say my app…
Suban Dhyako
  • 1,970
  • 1
  • 11
  • 30
4
votes
3 answers

Appium Question. If "listen eaddrinuse: address already in use", how to stop it? why it didn't stop?

I had been started Appium using default 0.0.0.0:4723 address and port, but then I got this error: C:\User\me>appium [Appium] Welcome to Appium v1.17.0 [HTTP] Could not start REST http interface listener. The requested port may already be in use.…
OTA8
  • 65
  • 7
4
votes
1 answer

How to fix 'NoElementException' in Appium & C# for which I tried various solution?

I'm new to C# but have good experience with Appium. For the screen in question, there is an edit field 'Please enter your appcode'. Appium desktop is identifying the element with 'id' easily. After identification, I am trying to click and have to…
Deepak
  • 132
  • 12
1
2 3
72 73