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

Appium does not show webview context, it only showing native app context. How to get webview context?

I'm trying to get the available application context and want to switch to the webview context but appium getting only Navive App. Also application is WebView enabled. Appium version: 1.10.1 ChromeDriver version: 2.44 Desktop OS/version: Windows…
qaWork4
  • 79
  • 1
  • 6
4
votes
3 answers

In Appium, How to Scroll and validate the required set of elements are available in the Android screen using a Java method?

In my Android app, I need to scroll down the screen and validate whether the required elements(each individual element) are available or not. How do I achieve this with a Java method?
Manoj Kumar
  • 85
  • 1
  • 6
4
votes
2 answers

How to detect and click on Mapbox markers in native Android application?

We are trying to create automated tests for Mapbox's Maps SDK for Android based native mobile application. The automated tests need to determine the number of markers present on the screen, the number of marker clusters present on the screen, click…
Dhwanil Shah
  • 1,072
  • 1
  • 9
  • 25
4
votes
2 answers

Appium fails to locate element off-screen using UiSelector

I'm starting to automate a test suite for a mobile app coded in NativeScript (it used to be a hybrid Cordova app) and it's proving difficult to locate some elements. I'm trying to locate a TextView widget that's outside of the visible screen space…
alezvic
  • 344
  • 1
  • 4
  • 20
4
votes
2 answers

UIAutomatorViewer showing same resource id's

I have been doing Android Automation for an app using Appium. Everyday a new build comes of the app and I have to check the code for new fixes using Automation. The problem I am facing is that in a current new build of the app the resource id's of…
Nauman Malik
  • 188
  • 8
4
votes
0 answers

Click specific text on a textView

I am working in a automation project for android application. Any idea on how to click specific text in a set of words in a textView? The textView contains "By purchasing such item. Please be aware that there are certain guide or rules we need to…
Gerald Mur
  • 41
  • 1
4
votes
3 answers

Setup gitlab cicd for mobile automation using appium?

Does anyone worked on setting up Gitlab CICD for mobile automation using appium tool? I would like to know how to setup the emulator/device for automation in gitlab, also, How to setup the appium server in gitlab. Your inputs are highly appreciated…
STK
  • 86
  • 1
  • 4
4
votes
1 answer

Unable to launch uiautomatorviewer in mac os high sierra

Need help! I have the problem, I can't run uiautomatorviewer on mac os high sierra My path: export ANDROID_HOME=/Users/XXX/Library/Android/sdk export JAVA_HOME=$(/usr/libexec/java_home) export PATH=${JAVA_HOME}/bin:$PATH export…
Aleksandr
  • 43
  • 1
  • 8
4
votes
0 answers

How to get complete list of UDP connections made by each application using adb or appium

I am trying to get network connections and their five-tuples made by each application in android. Currently I'm using the following commands to get five-tuples and applications PID: TCP connections: adb shell cat /proc/net/tcp UDP connections: adb…
vahid_g7
  • 56
  • 7
4
votes
2 answers

appium - how to get background color of an element in native android app

Am trying to automate the app using appium. How to get the background color of an element in the Android app. I tried using element.getCssValue("background-color") but I facing below exception: java.lang.ClassCastException:…
user2432400
  • 43
  • 1
  • 6
4
votes
3 answers

DesiredCapabilities for Selenium native android application obsolete

I am trying to set up a selenium framework to test a application on an android emulator. However I keep getting a warning that DesiredCapabilities is obsolete. I cant find any information on this apart from that relation to browsers. But in my…
Ross
  • 2,463
  • 5
  • 35
  • 91
4
votes
2 answers

Android - Appium Swipe down not working

I am trying to swipe down contact screen but its not working. Here is the code I have tried. public void Swipedown() throws InterruptedException { // Select till which position you want to move the seekbar TouchAction action=new…
Harshil Sheth
  • 41
  • 1
  • 5
4
votes
2 answers

How to speed up the start of appium

I am trying to use appium to test one app with real mobile phone. It will spend 25s on startup. How to speed up? appium-desktop version: 1.5 android os: 7.1 here is adb log from appium import webdriver class AppTester(object): """docstring for…
4
votes
0 answers

Python appium scroll uiautomator

Since i include Uiautomator2 appium.find_element_by_android_uiautomator("new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains""(\"" + languages[i] + "\").instance(0))") the uiautomator with…
langme
  • 1,672
  • 2
  • 9
  • 18
4
votes
2 answers

org.openqa.selenium.WebDriverException: Connection refused: connect

org.openqa.selenium.WebDriverException: Connection refused: connect I am using appium and selenium for android automation testing I am using selenium, Gson, appium and real device for testing when I r when I execute my code system shows me…
mudassar munir
  • 355
  • 1
  • 4
  • 18
1 2
3
89 90