Questions tagged [android-automation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
43 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
61 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
29 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
44 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
1answer
269 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)?
0
votes
0answers
30 views

Failed Android tests - Firebase Test Lab

I'm running Android tests on Firebase Test Lab for the HUAWEI P8 Lite device (hwALE-H) and I find that a lot of tests fail, compared to other (newer) devices. The most frequent errors are:No views in ...
4
votes
1answer
69 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
466 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
119 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
72 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
38 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
40 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
381 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
2answers
2k 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
74 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. ...
5
votes
5answers
8k 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
4k 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
145 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
63 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
560 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
95 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
157 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
390 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
265 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 ...