Questions tagged [android]

For questions related to testing Google's Android operating system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Appium Android: How to click on Spannable Text?

just posting the same question posted on Stackoverflow: https://stackoverflow.com/questions/77614973/appium-android-how-to-click-on-spannable-text I have a screen that contains a TextView, the text ...
Mina Wissa's user avatar
0 votes
1 answer
21 views

Appium version issue

I am confused to see what Appium version is installed on my machine. If I look into Appium UI it shows Appium v1.22.3 but When I check from cmd it shows 2.0.0-beta.71. how do I know which one is ...
Jahanzaib.Khan's user avatar
0 votes
0 answers
13 views

Android Samsung S21 - Changing region to test localized date formats

I am attempting to determine if the app code doesn't handle localized date format: Example in USA MM/DD/YYYY in Australia DD/MM/YYYY. I've change my language to English Australia and my Timezone to ...
Mike's user avatar
  • 101
1 vote
3 answers
53 views

How to choose hardware for testing computationally intensive Android software?

I work on mathematical modelling software, which runs on a variety of platforms. The product is a library, not an app. For Android, I've found it easiest to re-use the command-line test harness that's ...
John Dallman's user avatar
-1 votes
1 answer
74 views

For Android testing (using Java), is it better to have Accessibility IDs put in, or will Element IDs or just "id" suffice?

An Android app to be automated tested has no Accessibility IDs (aka element's content-desc attribute) whatsoever. I'm hearing that it would be good for the developers to put this in, but I've also ...
ackmondual's user avatar
2 votes
1 answer
1k views

Differences between Resource ID, TestID, Element ID, ID, and Accessibility ID?

This info is so scattered across some of my searching. However, I'd like to get the community's knowledge on this. Especially for the purposes of locating elements in code (Appium, testing Android app,...
ackmondual's user avatar
0 votes
1 answer
79 views

How can we mass download apks from Google Play and/or other stores for testing?

We are developing an android app that is using some PackageManager queries. We would like to test it on a wide range of APKs. We were thinking if we could get these from Google Play and/or other ...
auspicious99's user avatar
1 vote
1 answer
38 views

testing of android apps via web

What tools allow manual testing of android apps (apks) without installing google android emulator, and with low latency (where low is defined as no more than 4x slower than google emulator)? The ...
Pumpkinology's user avatar
1 vote
0 answers
2k views

Testing Android app built for arm64

So far, I've been able to deploy and test Android applications on Android Emulator on my PC. This was possible because both APK was built for x86 architecture and my Ubuntu is running on x86 PC. Now, ...
dzieciou's user avatar
  • 10.5k
0 votes
0 answers
39 views

tool recommendation to get line coverage against Manual and Automated test cases (offline instrumentation)

Our team uses the traditional method of building new test cases based on the feature requirements and testing them (manually or through automation) and getting them reviewed by the dev and product ...
AndroidQAE's user avatar
0 votes
1 answer
5k views

Unable to launch uiautomatorviewer in mac os Big Sur

I recently updated my Mac OS to Big Sur. After that uiautomatorviewer is not working. Before Big Sur, uiautomatorviewer use to work. I am getting the below error: /Users/xxxx/Library/Android/sdk/tools/...
Jyothi's user avatar
  • 1
1 vote
0 answers
63 views

App crashed when give back action continuously - shared preference error android

I have to do back action continuously, app crashed. It shows: "Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences(java.lang.String, ...
Karthiga Ganesh's user avatar
4 votes
1 answer
3k views

uiautomatorviewer not running on Mac Big Sur

I'm trying to run uiautomatorviewer on Big Sur and I'm getting this error java.lang.NullPointerException at org.eclipse.swt.widgets.Control.internal_new_GC(Unknown Source) at org.eclipse.swt....
Noldy's user avatar
  • 41
0 votes
2 answers
378 views

How to automate testing of Zebra TC75X barcode scanner?

I would like to implement test automation for an app running on a Zebra TC75X device (Android OS). The tricky part is the integrated barcode scanner. The device has a hardware button to trigger a ...
Markus Neifer's user avatar
1 vote
1 answer
98 views

Discriminating between two identical elements when they are both "displayed" and "enabled" but only one is actually visible

I am currently automating tests for a native app and I have some issues with "ghosts" elements. By "ghosts elements" I mean elements that are in the code and technically on the ...
BelovedFool's user avatar
0 votes
1 answer
476 views

Appium :Click on capture image button of inbuilt camera in mobile app. is it possible?

Appium(Android) :Click on capture image button of inbuilt camera in mobile app. is it possible?
lak's user avatar
  • 567
1 vote
2 answers
9k views

Appium(Android Mobile) : Click button using X Y coordinate(if can't find ID or Xpath)?

Appium(Android Mobile) : Click button using X Y coordinate(if can't find ID or Xpath)?
lak's user avatar
  • 567
1 vote
0 answers
114 views

How do you test app translations with pseudolocales on mobile Samsung devices?

Our client is trying to test the app we've been building for them on a couple of Samsung Galaxy devices (S9, S8 and S7). The problem is that they can't find the option to add English (XA) in the ...
G. Rann's user avatar
  • 111
5 votes
4 answers
5k views

Can't find the element of a toast message because it disappears immediately

I am trying to add an assertion on the shown toast message in my scenario, Is there a way to stop the screen to find the element of a toast message?
Eyad Akara's user avatar
2 votes
2 answers
20k views

Windows + Android emulator : How to fix "No internet/Internet not working for android emulator" on windows 10?

Issue I am facing : I have created new AVD from Android Studio (AVD Manager) but the emulator does not have internet. I tried opening www.google.com still "No Internet Connection" displayed. If ...
Narendra Chandratre's user avatar
1 vote
0 answers
460 views

There is a way to identify font type in an Android app? (Python, Appium)

Here is the deal: i'm testing an android app and the client wants us to test font types, sizes and colors. Using Appium's explorer i'm able to see the objects properties (such us: text, enabled, etc) ...
Pablo Fernandez's user avatar
2 votes
2 answers
8k views

Appium finding an element that need to be scrolled into view

I am testing a mobile application using Appium + Selenium + Java. I have a page who contains several elements with the following ids: field_1 field_2 field_3 bouton_1 When I open the page. The ...
BelovedFool's user avatar
3 votes
2 answers
786 views

Nested explicit wait does not work in Appium

For example, I'm sending a message. While it's being sent to the recipient it has the resource-id "pending_indicator". When it is delivered, it has the resource-id "delivered_indicator". So, I'm ...
LexSav's user avatar
  • 155
0 votes
1 answer
573 views

Find element within another element using explicit wait

I have the following code: List<MobileElement> messages = driver.findElements (By.id ("body_bubble")); //find all messages MobileElement lastMessage = messages.get (messages.size () - 1); //get ...
LexSav's user avatar
  • 155
0 votes
2 answers
878 views

Count all elements with the specific resource ID on the scrollable view

Here is the question. How can I count all the elements with the resource ID body_bubble on a scrollable view ? When I use the driver.findElements (By.id ("body_bubble")).size() method, it gets only ...
LexSav's user avatar
  • 155
0 votes
1 answer
3k views

Cannot find an element with Xpath in Appium

I'm new to Appium. Sorry if the question is duplicated, but I did not find the solution. I have a problem - I cannot locate an element using Xpath, but I have no problems locating it using the ID ...
LexSav's user avatar
  • 155
1 vote
0 answers
51 views

Mobile Device with custom Bluetooth Devices

We are currently looking for a mobile test solution for our latest product. Since the application is not standalone but works via a Bluetooth connection to embedded hardware (smart textile) we are ...
SigiN's user avatar
  • 11
4 votes
1 answer
8k views

How to always allow access to phone data automatically for USB connection of Android 8? [closed]

I have a testing mobile device Galaxy J5 Prime with Android version 8.0.0 and Samsung Experience version 9.0 I often have to plug in and plug out this device through USB connection and every time I ...
Seeker001's user avatar
  • 572
2 votes
2 answers
66 views

Best practices for testing for poor connection and offline support?

I am building an android app to be used in rural areas (Saharan Africa, waaaay off the grid). The mobile app pulls down maps and map info from a server, uses the data, creates some new data (takes ...
SAR622's user avatar
  • 121
1 vote
0 answers
136 views

Locator strategy for list view elements in Android app

I am automating a calendar feature in an Android app using Appium. The developers have set content-desc for us to be used as accessibility ids. For simple elements like buttons it works like a charm. ...
Roohi Bhatnagar's user avatar
1 vote
0 answers
67 views

Samsung Internet on Emulated AVD wont install

We wish to be able to test Samsung Internet with Appium but are not able to install Samsung Internet on an AVD created by Android Studio. Does anyone know how to install this or know of any other way ...
Raisus's user avatar
  • 151
0 votes
1 answer
1k views

When I run my Appium script I am getting error "TypeError [ERR_INVALID_ARG_TYPE]" which I am not able to understand

I wrote a script to automate my app using appium with java-script(nodejs), but when I run it I am getting error. This is the code which I have written. var webdriverio = require('webdriverio'); var ...
manoj's user avatar
  • 117
0 votes
2 answers
59 views

Is there any way to monitor the stats of an Android application?

Let's say I've installed an app on my Android phone and I'm using it. Is there any way I could monitor the various activity that the app is doing on the phone and gather stats around it? I'm talking ...
Mugen's user avatar
  • 410
0 votes
1 answer
5k views

How to read logcat continuously and write into the internal storage file? [closed]

Reading logcat continuously and write into the internal storage for this i tried the below code. public class LogCatTask extends AsyncTask<Void, String, Void> { public AtomicBoolean run = ...
Rajesh's user avatar
  • 101
0 votes
0 answers
267 views

Not able to scroll to specific element in Msite - Chrome browser - Appium

I have implemented scroll in mobile device with appium. Whenever I am scrolling to some element it is not scrolling properly. Tried with fixed scroll points as well. Here problem is I have small , ...
Sagar007's user avatar
  • 1,330
0 votes
1 answer
2k views

Android studio emulator problem

When I try to start my emulator I receive the following: 20:09 adb server version (32) doesn't match this client (39); killing... 20:09 could not read ok from ADB Server 20:09 * failed to ...
lijiahe's user avatar
1 vote
2 answers
173 views

Differences between Android emulators / iOS simulator and real devices for mobile web testing

Are there any differences for mobile web (not native App, not hybrid) testing between emulators/simulators and real devices? There are different 3rd party sites under test that contain our custom in-...
Cosmin's user avatar
  • 501
1 vote
0 answers
41 views

How to notify customers an Android app will stop working after upgrading to Android 8 [closed]

I am a mobile application tester who works in the R&D area of the premium German car company. How would you deal with the situation where your app stops working on the primary target device after ...
Preethi Samikkannu's user avatar
1 vote
0 answers
512 views

How to test that a link from the app opens up in chrome browser using espresso

I have an app in which users can search for a text and it will populate the related repositories from Github based on that text/search term.I want to write an espresso test to verify that when user ...
philomath's user avatar
1 vote
2 answers
527 views

How to write test cases of an application which has almost same functionalities on its web and mobile app(ios + android)

I am currently testing a chat application which is for both web and mobile devices. I have created test cases of a module for web application in Zephyr for Jira. Now I am a bit confused. Should I ...
Abdullah's user avatar
  • 235
1 vote
2 answers
114 views

How do we perform installation testing of a native Android app on different devices

We have one Android app which is live as well. So far we have some device in the company (around 3-4) and we have tested the app (installation and full functionality) over them and all working fine. ...
NarendraR's user avatar
  • 1,573
6 votes
6 answers
25k views

Unable to launch uiautomator in mac terminal

I am unable to launch uiautomator through mac terminal. I get the below error when I typed Android or Uiautomator in the terminal, or click uiautomator from tool folder. ERROR Djava.ext.dirs=/Users/...
Tessy's user avatar
  • 69
4 votes
2 answers
286 views

GUI Automation testing framework for android games

Is there any test framework which supports android games? I have used UiAutomator2.0 for GUI automation test, but for some games, it is unable to capture screen.
KaKa's user avatar
  • 41
0 votes
1 answer
2k views

How can i write automation code in appium to test facebook login by mobile app? [closed]

I have an Android mobile app. which provides facility to login in this app using Facebook but while automating this page, I'm not able to tap continue button which comes after entering username and ...
Shawon Barua's user avatar
4 votes
7 answers
2k views

Testing an Android App on different phone models and Android versions

I have an Android app. Occasionally, some user reports an issue that is reproducible only on their particular phone/OS version combination. I cannot possibly get all phone models to try and reproduce ...
user93353's user avatar
  • 111
1 vote
1 answer
149 views

Android: testing location on device cloud

Is there any mobile cloud testing service for Android offering enhanced location capabilities? My requirements are: Playback of recorded GPS/location data GPS data needs to be provided as 'real' data,...
jbxbergdev's user avatar
0 votes
4 answers
8k views

how to scroll layout in appium?

I have below code : MobileElement mb = (MobileElement)configuration.driver.findElement(By.className("android.widget.ScrollView")); JavascriptExecutor js = (JavascriptExecutor)configuration.driver; ...
Paddy02's user avatar
  • 31
1 vote
1 answer
2k views

How can I test iOS & Android mobile applications using Microsoft Visual Studio?

Here I have some test cases on Microsoft Test Manager (MTM), and those test case I have to execute on a real iPhone device but when I use Run & Record test of MTM to execute test cases its record ...
Nitin Rastogi's user avatar
1 vote
1 answer
171 views

Automation tool for mobile application(IOS and Android)

Which testing tools are currently used for mobile application testing for both IOS application or Android application? What skills are required for mobile application testing automation?
QA Gaurav's user avatar
1 vote
3 answers
7k views

Showing error - "Returned value cannot be converted to WebElement: {ELEMENT=1} " in appium using java

I have below configurations : Javaclient : java-client-5.0.2 Selenium : 3.0.1 Java : 144 Appium v1.4.16 This is my code : package com.metatag.poc; import io.appium.java_client.MobileElement; import ...
PRasd's user avatar
  • 87