Questions tagged [android-automation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

What is fast reset in appium, which I am getting in appium server logs and how to avoid it

What is fast reset in appium, which I am getting in appium server logs and how to avoid it...
0
votes
0answers
20 views

Make the appium code for swiping dynamic so that it works on all screen sizes

I have a piece of appium code (as below) which does the swipeup action on one android device using co-ordinates(using the coordinates as the element is non-responsive). Is there any way to make it ...
0
votes
0answers
21 views

UIAutomator giving different UI Components for the same app activity

I am trying to programmatically analyse the various UI components present in any Android app after some duration of time, (the moment the app gets launched on the device) using the built-in tool ...
1
vote
1answer
34 views

Whatsapp Web QR code Scanning using Appium Java

I have a company in-built web application that behaves similar to WhatsApp web. I need to link/scan using QR code of WhatsApp mobile application with company inbuilt web application using Appium with ...
0
votes
1answer
94 views

android : How to fix? - ConversationToQueryExtension.isEnabledForHostApp():252 Conv2Query not enabled due to current app not in whitelist

I am trying to login android application on emulator hosted on Windows OS. Facing below error : I/ConversationToQueryExtension: ConversationToQueryExtension.isEnabledForHostApp():252 Conv2Query not ...
0
votes
0answers
43 views

Can we create android emulator on aws ec2 instance

I tried multiple number of ways to get this task done, but no success yet. Has anyone tried to run Appium and Android both in one test suite via Jenkins hosted on AWS EC2 instance? org.openqa.selenium....
1
vote
1answer
141 views

react-native + android error : How to fix? - java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

I am trying to build android application. Use this .apk to consume for Azure CI-CD for distribution & mobile automation. While executing command ./gradlew clean or ./gradlew assembleRelease facing ...
0
votes
0answers
59 views

How do I define a subplan in Android Compatibility Test Suite? How do I find out which CTS tests use the media files?

Does anyone have familiarity with Android Compatibility Test Suite (CTS)? https://source.android.com/compatibility/cts/run It's documentation is very sparse. In particular I am looking to find out ...
0
votes
1answer
849 views

Appium Pagefactory throws noSuchMethodException when running from POM

When I try to run my appium scripts on the pom file ( with mvn verify or mvn test) I get a java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy12.proxyClassLookup() On the ...
0
votes
1answer
86 views

Appium scoll to an element, without scrollable view

I have an android app, that has a list page (eg. 20-30 element), I have to check each list item, how can I scroll to the next list item, if the app is built like there is no scrollview in it? ( only ...
2
votes
0answers
1k views

Appium - 'POST /element' cannot be proxied to UiAutomator2 server because the instrumentation process is not running

I am trying to run an automated test in appium, what happens is that the app does get launched however fails to perform any action. Please see error below: An unknown server-side error occurred while ...
2
votes
1answer
2k 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....
0
votes
0answers
44 views

How to scroll current whole screen with UI Automator

I can scroll until get the specified text by the following code driver.find_element_by_android_uiautomator( 'new UiScrollable(new UiSelector().scrollable(true).instance(0)).getChildByText(new ...
1
vote
1answer
53 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 ...
0
votes
1answer
574 views

Scrolling using UiScrollable stops in the middle of the screen

I am trying to scroll down to the bottom of the screen to a UI block using UiSelector class but it's not working as expected. Basically, when I run the code it does not scroll all the way to the ...
0
votes
0answers
70 views

Appium Desktop cannot start an App installed via Microsoft InTune

I'm using Appium Desktop 1.12.1. I want to start a new session and use Inspector. I have a business app that is usually installed via MS InTune. Essentially InTune means I have two categories of app ...
0
votes
1answer
219 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?
1
vote
2answers
3k 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)?
5
votes
1answer
224 views

Appium : Best way to automate e-Signature scenario using Appium?

How to Automate e-Signature? I am trying to automate e-Signature scenario for iOS and android application. Anyone implemented same using Appium? Workaround : I tried to automate e-Signature using ...
2
votes
0answers
830 views

I have been struggling for more that a day to fix the Duplicate class given when running my android project for automation

Error: Duplicate class org.openqa.selenium.SearchContext found in modules jetified-java-client-7.3.0.jar (java-client-7.3.0.jar) and jetified-selenium-server-standalone-3.141.59.jar (selenium-server-...
0
votes
1answer
367 views

Launching Twitter through Appium on a real device results in an error

I've just started using Appium with Python and I'm running into trouble when trying to launch the Twitter app. I have tried to launch the play store by typing: adb shell "dumpsys window windows | ...
1
vote
0answers
255 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) ...
0
votes
1answer
83 views

Using both espresso and uiautomator and test is failing on Firebase, but not on AS emulator

I have the following piece of code which is: click a toggle from Firefox app the toggle opens the Default apps menu from System settings I open the browser list, pick my browser and return to the ...
0
votes
1answer
46 views

NullPointerException error in POM code

Setup Class public class Setup { private static AndroidDriver driver = initializeAppiumServer(); public static AndroidDriver initializeAppiumServer() { if (driver == null || ...
0
votes
1answer
872 views

Selenium TestNG - java.lang.NullPointerException in automation testing

I am trying to test the login function to my android app. But it displays an exception error java.lang.NullPointerException. Code as follows: package tests; import java.io.IOException; import java....
1
vote
3answers
5k views

Permissions error trying to run Appium test on Android

I am not able to run my automation testing with Appium server using Eclipse with Selenium. The error I get is: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to ...
1
vote
0answers
98 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. ...
6
votes
5answers
14k views

how to find element by xpath for android appium

Since these nodes don't have ids and text, I have used xpath to find the element but find element fails I have tried different xpaths as below but none work. xpath=//android.view.View[10] xpath=//...
0
votes
1answer
5k views

App is launched but not able to perform further actions (App automation using appium)

I am new in mobile app automation I have successfully launched Google Playstore application in my android device. but,i can not click on next tab "GAMES". My Code package com.automate.app.screens; ...
0
votes
1answer
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 ...
0
votes
2answers
217 views

While following Page Object Model, how handle Fragments in Android

I was searching over INTERNET, i didn't find solution for this coding puzzle, let say we have listView and each option will return different screens object. Now I need to create a method that on click ...
0
votes
1answer
91 views

What could be some reasons appium automation tests pass on home wifi but fails on work wifi?

What could be some reasons appium automation tests pass on home wifi but fails on work wifi? What should I look out for? Anyone experience this? This is really confusing. When I run it at home all ...
3
votes
2answers
700 views

How to handle issue of intermittently appium taps but doesn't work sometimes where no response comes from the tap? [closed]

How to handle issue of intermittently appium taps but doesn't work sometimes where no response comes from the tap? - Has anyone encountered this issue and how did you address it? - How can I improve ...
0
votes
1answer
118 views

API automation for a android App [closed]

I have to start API automation for a android App. App is coded in C++. Please suggest the approach as I am new to API testing.
0
votes
2answers
196 views

Not able to enter case-sensitive credential in android app

I am writing a test case for an android app where the app requires case-sensitive credentials. I writing test cases using appium and TestNG. Steps I am following are - Launching app Entering ...
1
vote
1answer
444 views

How do I setup and get started with Appium on Ubuntu? [closed]

I have been recently asked to automate flow on mobile devices but I have no clue about mobile automation. I have tried setting up Appium on my machine but to no avail and I find it very cumbersome and ...
1
vote
0answers
339 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 ...
1
vote
1answer
1k 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 ...