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
1351 questions
22
votes
19 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
  • 339
  • 1
  • 2
  • 6
21
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…
15
votes
5 answers

I cant't connect appium-server desktop and appium inspector with my smartphone while i can see my device is well connected in my terminal on windows

I just used Appium-desktop to see logs during the connection with my smartphone and Appium-inspector to inspect the DOM too, I'm new in this exercise and I search a lot without any result for the moment. I can see my smartphone is well connected and…
10
votes
7 answers

“Appium” can’t be opened because Apple cannot check it for malicious software

When I'm trying to open appium on my mac, getting the error “Appium” can’t be opened because Apple cannot check it for malicious software.
Suman
  • 529
  • 2
  • 5
  • 20
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
  • 862
  • 3
  • 21
  • 51
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
  • 311
  • 1
  • 11
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
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…
7
votes
1 answer

package and Activity error while installing app using appium tool on Mac

I am testing my app using appium tool. During the process of testing, android app is crashing near launcher activity showing the following error only in some devices of version below 8. How to fix it? An unknown server-side error occurred while…
lasya valiveti
  • 251
  • 3
  • 12
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 =…
Abhay Jangde
  • 91
  • 1
  • 7
7
votes
3 answers

how to stop appium server through command line?

The command I'm using to start the Appium server: node appium --address 127.0.0.1 --port 4723 --session-override --no-reset --platform-name Android --platform-version 23 --automation-name Appium How would I stop the server through command line?
Nitish Kumar
  • 161
  • 1
  • 4
  • 16
6
votes
0 answers

How to set id in Jetpack Compose for Appium and UIAutomator (Xpath issue)

I am using Jetpack Compose and Appium with UIAutomator. I would like to set a unique id for the Composables instead of showing the Xpath because of: Using XPath locators is not recommended and can lead to fragile tests. Ask your development team to…
6
votes
5 answers

Appium - Getting a java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy9.proxyClassLookup() at PageFactory

I am getting this exception on running an Appium test. The test fails at PageFactory with the exception below. My POM:
Sheetal
  • 63
  • 1
  • 5
6
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.…
user7392865
1
2 3
89 90