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
3
votes
2 answers

appium not getting elements inside RecyclerView

I need to fetch each FrameLayot div value inside the RecyclerView. AS Shown in the image I used the code List ulElement = driver.findElements(By.id("pager")); int sz = ulElement.size(); System.out.println(sz); But getting result as 1…
3
votes
0 answers

Appium can't find any element on second activity, shown above first one

I am up to write Selenium+Appium test for Android app. This app has activity with button. Tapping this button will open another activity above first one. So at this moment there will be 2 activities for application (I can see this if in Android…
mikamika
  • 110
  • 1
  • 6
3
votes
1 answer

How to write Automated Tests for an Activity other than First Activity in Android Studio for java using Appium

I am going for writing automated tests for my android app using Appium in Ubuntu linux using Android Studio IDE. Appium is installed and configured with Android Studio. I have a MainActivity, which decides if user is logged in. Take user to Home…
Sajid Zeb
  • 1,806
  • 18
  • 32
3
votes
2 answers

relaxed Security AppiumService

I am new to Appium, and I want to execute some ADB commands using appium with C#, example to execute "adb shell ps" Dictionary map = new Dictionary(); map.Add("command", "ps"); var output =…
Med Amin
  • 57
  • 1
  • 4
3
votes
2 answers

Error while trying out touch actions using Appium

Below is my code: package AppiumPackage; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.touch.TouchActions; import…
Madan
  • 109
  • 4
  • 8
3
votes
1 answer

What is the difference between LocatorGroupStrategy.CHAIN and ALL_POSSIBLE in appium?

What is the difference between LocatorGroupStrategy.CHAIN and ALL_POSSIBLE? Can anyone explain with examples?
3
votes
1 answer

How to send Back key in Robot framework Appium ? [Android]

Could anyone can help me how to send Back Key in Robot framework Appuim Android ? or Do i need to create custom library with python ? Thanks you
Sidara KEO
  • 1,693
  • 1
  • 14
  • 34
3
votes
1 answer

binding.gyp not found (cwd: \node_modules\appium\node_modules\heapdump) while trying to load binding.gyp

I am trying to install appium using npm command. Every attempt I am getting errors. In the last attempt I refer below link: node-gyp build error windows x64 So to install appium in my windows 10 64 bit machine, I followed below steps: npm install…
Shubham Jain
  • 16,610
  • 15
  • 78
  • 125
3
votes
1 answer

Appium path issue

I'm trying to run an apk file from my test suite in appium, the emulator runs successfully but at the time of launch of the apk it says apk not found. The path looks correct to me still unable to figure out the solution. Below is the error from…
Prabhath
  • 55
  • 7
3
votes
3 answers

Best practice for Appium to find element

I have 2 native apps(not hybrid or react native), they share same design, one is for Android(JAVA) and the other is for IOS(OC). Now I need to make some test for these 2 apps. I am trying to do this with Appium. Appium provide lots of methods to…
Leon
  • 1,935
  • 3
  • 23
  • 36
3
votes
3 answers

How to download Appium Desktop in Ubuntu 16

I am trying to download Appium Desktop in Ubuntu 16 (I've just been using the terminal to run it so far). I understand that for Ubuntu, I must download the source code release they have on git (Source Code tar.gz), as apposed to their .exe (windows)…
snikt
  • 581
  • 4
  • 11
  • 27
2
votes
0 answers

python appium web traffic

We are doing some QA tests for our application and are using appium to drive the tests for the Android device. We have been able to extract 'logcat', but are looking to extract network traffic (like you can in selenium-wire with…
Jack Gee
  • 136
  • 6
2
votes
2 answers

Cannot invoke "org.openqa.selenium.os.CommandLine.isRunning()" because "this.process" is null

When I am executing the script then it is giving me an error as : Cannot invoke "org.openqa.selenium.os.CommandLine.isRunning()" because "this.process" is null [RemoteTestNG] detected TestNG version 7.4.0 SLF4J: No SLF4J providers were found. SLF4J:…
TheDhanraj
  • 21
  • 4
2
votes
0 answers

Appium AndroidUIAutomator2 scroll is very slowly

When I scroll with the code below, it scrolls very slowly, how can I speed it up? public WebElement scrollToElement() { return getDriver().findElement(AppiumBy.androidUIAutomator( "new UiScrollable(new…
Onurcan
  • 31
  • 2
2
votes
1 answer

swipeGesture not supported by BrowserStack - Automation using Appium - Android

Testing Mobile native app with Appium using BroswerStack (Android device) and it throws an UnsupportedCommandException (please see below) when trying to execute the swipeGesture to perform a swipe up. Btw, it is working in a local execution using…