Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [android]

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

-1
votes
0answers
13 views

Why Implicit Intents are insecure in Android with an example [on hold]

I got the understanding on Implicit intent vs explicit intent. But want to know as why IMPLICIT INTENTS in android are considered insecure or not a good p
1
vote
0answers
32 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 ...
0
votes
1answer
253 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 ...
0
votes
1answer
31 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 ...
0
votes
1answer
318 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 = ...
0
votes
0answers
100 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 , ...
0
votes
1answer
460 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 ...
0
votes
1answer
78 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-...
1
vote
0answers
31 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 ...
1
vote
0answers
96 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 ...
0
votes
0answers
778 views

Is there an efficient way to handle datepicker in android app using Appium?

I'm automating an android app using Appium where i have automated a datepicker functionality as shown in virtual device I'm using for. But the issue in different devices/version the datepicker view is ...
1
vote
2answers
384 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 ...
0
votes
2answers
65 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. ...
4
votes
6answers
7k 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 terminal, or click uiautomator from tool folder. ERROR Djava.ext.dirs=/Users/...
3
votes
2answers
149 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.
0
votes
1answer
810 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 ...
4
votes
7answers
215 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 ...
1
vote
1answer
105 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,...
0
votes
4answers
4k 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; ...
1
vote
1answer
665 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 ...
1
vote
1answer
69 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?
1
vote
2answers
4k 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....
1
vote
1answer
45 views

What is the difference among App CPU, System CPU and User CPU

What is the difference between App CPU, System CPU and User CPU? I am testing a mobile app and I found these 3 terms, but I could not get an exact answer anywhere.
1
vote
0answers
337 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 ...
3
votes
2answers
1k views

How to create android Emulator using command line

I have done it using Android studio On android professional site commands are not clearly mentioned There is lot of confusion Below is the following command: android create avd -n -t --skin ...
1
vote
0answers
75 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: '...
1
vote
0answers
170 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.
1
vote
0answers
20 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 ...
1
vote
1answer
302 views

Getting error in JMeter while testing with android application

I have connected mobile phone with my IP config and set port which I have set in JMeter. but while start recording in JMeter and start the application in a phone then it showing an error in JMeter
0
votes
1answer
955 views

Unable to press and move slider to desired position in a React Native android app using appium

I am using TouchActions class in Appium to press and move the slider to a specified position.The problem that I am facing is that on some pages the slider works fine and I'm able to initiate touch ...
0
votes
1answer
2k views

How to scroll in an Android app with Appium 1.6.4 in C# with windows?

I am trying to scroll in an Android App but I'm getting an error. Code : Dictionary<string, string> scrollObject = new Dictionary<string, string>(); scrollObject.Add("direction", "down"...
2
votes
1answer
481 views

Android application not launching with Appium

I have downloaded the latest Appium Desktop to inspect the different elements for automating an app. I was able to launch the calculator app on my Android phone but was unable to launch an app that I ...
2
votes
1answer
80 views

What unusual invalid data inputs that will crash a barcode entry text box on an Android App? [closed]

I am testing an Android App created using Java. I am testing a text box which accepts barcodes with a maximum of 17 characters. I know to test the normal boundary values, nulls, negative data inputs,...
2
votes
1answer
49 views

How do you manage and coordinate Android and iOS platform releases?

In the context of managing and coordinating iOS and Android platform releases (for native apps): What platform specific tasks would be included in pre and post release checklists? What would be ...
0
votes
2answers
301 views

JMeter Proxy setting for Android

I'm trying to set Proxy and Local host name for JMeter but the Save button is not getting enable. can anyone please help to resolve this issue.
1
vote
4answers
392 views

Why does element.displayed? throws exception instead of boolean false?

Here's snippet of my code while (!$driver.find_element(:xpath,element2).displayed?) $driver.find_element(:xpath,element1).click() end for some reason element.displayed? throws this exception: ...
1
vote
1answer
455 views

Can't open chrome web browser on android

I'm getting the error below when I try to open default chrome web browser on my mobile phone using Appium and c#. It opens chrome for few seconds and it get dispersed, So I can't perform my test ...
3
votes
2answers
344 views

ADB command prompt pops up new CMD and doesn't shows me results of ADB commands

Suddenly this began to happen after a windows update (Windows 10). Every time I execute an ADB command for example, ADB devices the CMD pops up a new CMD window like for 2 seconds then closes up and ...
0
votes
1answer
255 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 ...
1
vote
2answers
5k views

Appium is get an error “unable to create new remote session”

I'm Working in appium. previously, my code doesn't work in above 5.o WheN I changed its working fine. android version. driver = new AndroidDriver(new URL("http://192.168.1.2:4723/wd/hub"), ...
4
votes
1answer
220 views

Unable to see Settings & Administrator tab on SonarQube dashboard

Environment - Mac I have configured SonarQube earlier, after that various other configuration might removed my admin user or something happen. But today I am not able to access my admin account/user. ...
1
vote
2answers
408 views

Open source project for mobile testing practice

I am a software tester. I want to practice software testing on mobile/smartphone(preferably on android OS). Are there any open source software projects or applications which i can test on my mobile? I ...
0
votes
2answers
55 views

Better way to distribute releases [closed]

I make the APK and IPA build for the weekly releases and I upload them to dropbox and send the link to the customer. Is there any other better-automated way to share the final IPA / APK file with the ...
0
votes
1answer
1k views

Left or Right swipe not working in appium for android application

I'm trying to swipe right to left from the first content(there is no content at left hand side) or Left to Right So far I'm using below, but it's not working. public void swipeRightToLeft() { ...
1
vote
1answer
328 views

How to long press on android record button(during chat) for a particular time duration in appium test, by java

How to long press on android record button(during chat) for a particular time duration in appium test, by java. I have tried 3 ways but all are not working, those are: Way 1: By pressRecBtn = By.id(...
0
votes
1answer
446 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 ...
2
votes
0answers
968 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 = ...
0
votes
2answers
129 views

Security testing tools for android and ios apps [closed]

What are the available security testing tools for Android and iOS apps? Mainly for a passive scan for known vulnerabilities.
1
vote
0answers
66 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 ?...
1
vote
1answer
58 views

How to test a application which is having multiple recent screen? [closed]

I am testing one application which has multiple recent screens for recent activity! I am working for an email client android application which is having different different modules e.g. Email module, ...