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

learn more… | top users | synonyms

3
votes
2answers
2k views

Not able to click on deivce Menu button using appium in android

I am working on automation of mobile native app using Appium in Java language. I want to click on device Menu button. Method 1: JavascriptExecutor js = (JavascriptExecutor) driver; js....
2
votes
1answer
123 views

Android App api testing with mock

Currently, I ran into a situation where we are having constant Backend/API issues and because of the same, I can't continue with the testing. I was wondering if it is somehow possible to use a server ...
2
votes
1answer
708 views

Running Selenium webdriver scripts in android device (Samsung galaxy tab)-Portrait mode

I have been stuck in an issue while running selenium webdriver script in android device -Portrait mode. Script is running successfully in landscape mode but when we run the same script in android ...
1
vote
1answer
112 views

Automation Java - Android - How to get items from a ListView?

I'm trying to get the items from a ListView so I can compare them with of expected results. The thing is that I can't figure out how to get those Elements. I'm also the developer of the App, so I'm ...
1
vote
1answer
32 views

How do I continuously stream Logcat data from a usb connected device to a file on PC until I decide to disconnect or stop testing?

I used to use the the GUI version of logcat via DDMS for getting Adb logcat info from Android Studio (or monitor.exe from SDK tools), but found it too distracting while trying to test. I would have ...
1
vote
1answer
35 views

Internationalization and localization Testing: How to test app on Android which do not have that particular language support

I feel like I'm chasing my tail on this one, but I need to be able to test in languages not listed under Settings > Language & Input > Language. I've spoken with Samsung & Motorola and they ...
0
votes
1answer
54 views

How to open messaging app during one android app test case is running to fetch otp

How do I open messaging app when test case is running for any other app. Need to fetch OTP from messaging app during a test case is running for my android app. I have tried to create new instance ...
4
votes
0answers
210 views

Why session is not created in Bot-Bot?

I'm using Bot-Bot, Android automation testing tool with record and replay features. I was able to start a server, record and play sample APK accompanied with bot. Now I need to test my own APK, so I ...
2
votes
0answers
181 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 ...
2
votes
0answers
346 views

How to test an SDK built for Android?

My company has an SDK for the Android platform. The SDK sends information to our servers. I need to be able to intercept, interpret, and analyze what the SDK is sending to these servers in terms of ...
0
votes
0answers
27 views

Exception in thread “main” java.lang.NoSuchMethodError: org.openqa.selenium.WebDriverException.addInfo(Ljava/lang/String;Ljava/lang/String;)V

Here is my script to book the bus. In the procedure of process i am not able to select the seat of the bus, as it is an CANVAS element. So i am using the "action.tap(element, x, y).perform();". I am ...
0
votes
0answers
189 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 ...
0
votes
0answers
59 views

what is the advantage of using roboectric for android UT over espresso?

I'm new to android testing. I have read espresso is more UI based framework and robolectric is a UT framework. I want to add UT to existing android project with espresso framework in use already. ...
0
votes
0answers
165 views

Selendroid Selenium grid android test couldn't find element

Is it possible to do a parallel test of android native apps with Selendroid and Selenium Grid? If yes, kindly give a code snippet. I am trying to run a test on 2 android devices. Though, being in the ...
0
votes
0answers
491 views

Selendroid: Unable to launch selendroid & Observed “SessionNotCreatedException”

I have tried to start selenium using following code to relevant path on cmd prompt: java -jar selendroid-standalone-0.14.0-with-dependencies.jar -app selendroid-test-app-0.14.0.apk but i am ...
0
votes
0answers
181 views

Selendroid: Camera click Element ID

I want to know what is the capture button element id in the view finder of the camera in slendroid. I am not able to inspect it