Questions tagged [android]

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

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
4 votes
0 answers
243 views

Using MonkeyTalk to test android app, the record button stays disabled

I am unable to record in MonkeyTalk, the record button stays disabled I took the following steps: Created a sample android project in eclipse Created libs folder in the android project and copied ...
Nikhil's user avatar
  • 73
2 votes
1 answer
2k views

Appium stuck after context change from native to webview

I am testing a Hybrid Android app - Tubemate in Appium. I'm using the following configuration: selenium-java = version 3.0.1 appium java-client = version 4.1.2 chromedriver = version 2.19 Android = ...
Sathyamoorthy R's user avatar
2 votes
0 answers
1k views

An unknown server-side error occurred while processing the command while swipe

I get the following Exception using appium An unknown server-side error occurred while processing the command. when I run this code driver.Swipe(loc1.X, loc1.Y, loc1.X - 110, loc1.Y, 2000); I use ...
user3327073'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
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
1 vote
0 answers
112 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
1 vote
0 answers
458 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
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
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
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
1 answer
148 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
1 vote
0 answers
437 views

How to handle browser language notification in android using appium?

I was trying to automate a website which is in german. But when I run the test on android device using chrome browser, language translator notification appears. Can anyone let me know how to handle ...
Mohammad Faisal khatri's user avatar
1 vote
1 answer
192 views

How to extract adb dumpsys response for validation?

I need to validate few status of the android device. Can any one let me know how to extract the information from adb dumpsys and validate the responses using Java. Your help is much appreciated. Ex: '...
Gaurav G Raj's user avatar
1 vote
0 answers
286 views

How can i get GPS current status in Appium

I do some testing with appium with ad Android Application. I want to know if i can get gps current status, if gps is in use in that instant or not. I don't want know if gps is enable or disable.
Aodi's user avatar
  • 11
1 vote
0 answers
43 views

What test frameworks can I use against a SPA based mobile application?

A client has native single page applications, apparently written in Clojure running on ios and android. I'm used to writing user-acceptance testing with Selenium and the ruby bindings present in ...
Michael Durrant's user avatar
1 vote
0 answers
71 views

Are the TEXT locators different in android 6.0 and android 7.0 for Alert box?

I am facing an issue where TEXT property is in UPPERCASE in Android OS 7 while in OS 6 the same property is shown in Sentence Case for the same application. Can anyone suggest why this is happening ?...
Gaurav's user avatar
  • 327
1 vote
0 answers
46 views

Which test method is running/executing at the moment?

I'm on Appium with C#, I have 60 test methods written on different classes. I'm running the tests via Visual Studio test explorer. When I click run all test button at the "Test explorer" it will ...
ChathuD's user avatar
  • 2,141
1 vote
0 answers
370 views

Appium + Java + Android + Mobile browser [Chrome driver] : How to switch from android app to mobile browser?

I am automating android app. My env is - Mac, Appium, Java + TestNG Scenario: Click on button Its will redirect user on mobile browser Login in browser How to automate above scenario? The core ...
Narendra Chandratre'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
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
2 answers
873 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
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
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
0 votes
1 answer
367 views

How to auto scroll Appium Server Console log at bottom

Problem : I used to view/analyze Appium server Console logs during any test cases execution. But the problem is Appium server console always Auto scroll to top which result hiding latest logs. I have ...
zishan paya's user avatar
0 votes
1 answer
619 views

Different context name for webview in Hybrid Android App test through Appium

While testing Hybrid android app in Appium, a change of context from NATIVE to WEBVIEW is expected. But, the name of the WEBVIEW context does not remain same at all instance of testing. However, it is ...
Sathyamoorthy R's user avatar
0 votes
2 answers
3k views

Device emulator-5554 is not online - while executing my appium code on android emulator

[Error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device emulator-5554 is not online Im getting above error when at the middle of the test ...
ChathuD's user avatar
  • 2,141
0 votes
1 answer
412 views

Switching to webview fail in Android on Mac OS

I have a problem while switching from native view to webview in Android while testing on MAC OS. But the same scripts works fine in windows. In Mac it gives chrome not reachable as a webdriver ...
Dinesh Kumar's user avatar
0 votes
0 answers
2k views

Android + Appium : How to select date/value from datePicker or NumberPicker?

How to handle NumberPicker or DatePicker using Appium? I am not able to select value. If you use Xpath its also not working :( How to select date/value from datePicker or NumberPicker?
Narendra Chandratre's user avatar
-1 votes
1 answer
73 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