Questions tagged [mobile-automation]

Use this tag for the question & queries related to automation of any mobile app. Automation that is related to software testing on mobile device platform, e.g. iPhone, iPad or tablet, android mobile/tablets.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Unable to launch uiautomatorviewer in mac os Big Sur

I recently updated my Mac OS to Big Sur. After that uiautomatorviewer is not working. Before Big Sur, uiautomatorviewer use to work. I am getting the below error: /Users/xxxx/Library/Android/sdk/tools/...
1
vote
1answer
23 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 ...
1
vote
0answers
19 views

Scrolling and retrieving values in a list in Appium

I'm trying to retrieve all the values after scrolling in a form of list. But i'm getting some of the repeated values. Please help. Below is the code: ArrayList<String> list1 = new ArrayList<...
1
vote
1answer
32 views

The .App path is not recognised in desired capabilities in my Appium setup

I have set up my desired capabilities on Appium. See below. { "platformName": "iOS", "deviceName": "iPhone11", "automationName": "XCUITest&...
1
vote
1answer
121 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
1answer
307 views

Appium 1.4.13 How to resolve error: Could not detect Mac OS X Version from sw_vers output: '10.12 ']?

Environment : macOS Sierra, Appium version 1.4.13 (Draco) I am not able run appium. Please help, How to fixed this issue? appium doctor has not worked. Error : info AppiumDoctor ### Diagnostic ...
0
votes
1answer
1k views

Selenium with Chrome mobile emulator- can't make interactions

I'm starting to get frustrated with Chrome emulator: Using JAVA + Selenium + TestNG I'm testing many of our web applications which runs on few browsers. On mobile browser we have a special design - ...
0
votes
1answer
325 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 ...
0
votes
1answer
20 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 ...
0
votes
1answer
556 views

Unable to tap on Search on android keyboard using pressKeyCode(int) method

I am a beginner in Appium automation. The application I am testing, have this scenario where I need to tap on Search button from the native keyboard. I have tried with pressKeyCode method but getting ...
1
vote
3answers
96 views

Is it possible to open a mobile browser with Selenium WebDriver?

I know it is possible to open a desktop web browser with Selenium WeDriver. The following lines written in Java allows doing so: WebDriver webDriverChrome = new ChromeDriver(); webDriverChrome.get(...
-2
votes
1answer
367 views

Appium - Could not find 'apksigner.jar'

Error: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An ...
1
vote
2answers
41 views

1 Repo vs 2: Test Framework Development For Multiplatform Native Applications Using Appium

This question is more of an attempt to gather opinions. I have automated multiple mobile applications that existed as native apps on both iOS and Android. In these scenarios, my go-to pattern has ...
1
vote
0answers
24 views

How to scan barcode using Appium?

I'm looking for approach/solution on how to scan a bar code using Appium. Is it possible through emulators? or do I need real device for this use case?
0
votes
0answers
16 views

Best practices to create a test automation solution on mobile app in IoT?

I'm approaching to create the test automation architecture for a mobile project for the first time. Here are the issues: -The project if (of course) multi platform (all Android devices running version ...
3
votes
2answers
13k views

How can I get the android window size using Java as programming language for android automation testing? [closed]

How to detect the screen size for different android phones? I want the coordinate values like startx, starty, endx, endy. With that I can use the swipe method which takes these coordinates as ...
0
votes
2answers
850 views

How to scroll horizontally knowing that the required tab has no unique ID (Appium using Java)

What I want to do is scrolling horizontally in a tab that doesn't have a unique ID. I have code how to scroll using id and textmatches like this example: driver.findElement (MobileBy....
0
votes
2answers
517 views

Getting error when I run my test using mocha

I have written a code where it will launch the app, click on the login button, enter username and password and click on sign in. When I run this using node 'filename' it is running fine with no issue....
7
votes
1answer
901 views

Getting web driver exception message while tapping list elements using appium

I am using appium 1.4.8 on mac and I'm automating native app using selenium. I am stuck in a situation where I need to tap each element in a list. I wrote below code: List allKeywords=driver....
1
vote
1answer
210 views

Scrolling an element into view with iOS native app

I am using Appium + Selenium + Java. I am testing a native app and I sometimes need to scroll an element into view in order to click on it. It seems like, when testing a web app on iOS, you can use ...
1
vote
2answers
55 views

Automated testing of all static URLs in a mobile app

I have a mobile app that has many static URLs to various web pages (it is a content-rich mobile app) that get loaded in the in-app browser during the use of the app. The problem is that these URLs ...
0
votes
0answers
30 views

How to run appium tests parallel in c# specflow?

I am new to C# and Specflow. I am using appium, c# and specflow for automating my tests. I have a app.config file where i am mentioning the environment to be run into. A driver class DeviceDriver.cs ...
1
vote
0answers
40 views

How we run selenium script in mobile devices?

I want to run a selenium script on mobile devices. for this purpose, I am using the Browserstack website. now the problem is I have written a script it runs in browser invocation right .but when I run ...
0
votes
0answers
14 views

Avoid Lite mode Chrome screen in Appium Studio

I am trying to automate web site testing with Appium Studio. But when I start Chrome from it every time there is a Lite mode screen. But I can not close it with my test script because the Chrome app ...
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
45 views

Web page Not Scroll on mobile using java

I try to scroll two pages of website on mobile but one page is working fine but 2nd page is not scroll on mobile. Both pages working fine on window. Please suggest me how to scroll 2nd page. Below is ...
5
votes
1answer
631 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea is to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com for ...
3
votes
5answers
133 views

How do I do mobile testing for a website?

I have already created automated test cases using selenium and java for desktop web testing. Is there a way for me to run the same tests on my personal mobile? Searching on google I find resources ...
1
vote
2answers
62 views

iOS Automation Testing on AWS

Background: I have been searching how can I install an .ipa programmatically on a real iPhone, and all answers are "it's not possible". So I was wondering, iOS automation cannot be ...
0
votes
1answer
519 views

How to fix : BoDi.ObjectContainerException : Interface cannot be resolved: TechTalk.SpecFlow.UnitTestProvider.IUnitTestRuntimeProvider('nunit')

I am trying to build task in Azure pipeline. Observed error : OneTimeSetUp: BoDi.ObjectContainerException : Interface cannot be resolved: TechTalk.SpecFlow.UnitTestProvider.IUnitTestRuntimeProvider('...
1
vote
0answers
73 views

Azure:build pipeline:Error The type or namespace name 'XXXX' could not be found (are you missing a using directive or an assembly reference?) [closed]

I am trying to build task in Azure pipeline. Observed error : The type or namespace name 'XXXX' could not be found (are you missing a using directive or an assembly reference?) Please let me know if ...
0
votes
3answers
1k views

How do you record a jmeter script/create a jmeter test plan for a ssl mobile app? Internet won't connect after setting manual proxy

I can't record a script in Jmeter or Blazemeter to test a mobile app. After setting up the manual proxy, started the recording script in jmeter, installed the ca certificate on the ipad, my ipad ...
0
votes
0answers
23 views

Azure + Appium + C# : While creating azure pipeline I am getting error “You are not authorized to access https://dss-hps.visualstudio.com.”

I am trying to create Azure pipeline to integrate automation. Observed error : You are not authorized to access https://dss-hps.visualstudio.com. Please let me know if anyone face/fix this issue. ...
5
votes
1answer
160 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
1answer
45 views

How to set up a mobile testing lab for physical parallel execution on Android phones

I need to set up a physical mobile testing lab mainly for Android devices. I have to run test on 100 Android devices in parallel, I will be using Appium with TestNG framework. Please someone guide me ...
0
votes
1answer
174 views

Pros and cons of AWS Device Farm?

My team is deciding whether or not to use AWS Device Farm, and I was curious if anyone here has experience with it testing their mobile apps and what they like/ dislike about it? thanks!
1
vote
3answers
6k 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.MobileElement; import ...
0
votes
0answers
39 views

How to validate toast message in Android using Appium Python?

How to validate toast message in Android using Appium Python? Since pop-up message comes and disappears, what will be the best way to validate them?
1
vote
5answers
2k views

Mobile App performance and load testing

How do I check mobile application performance/load testing? Currently, I have checked the app performance over different networks like 2g, 3g, wifi but I want to check how the app will behave when ...
0
votes
1answer
81 views

aspectjweaver must be a valid version in POM.xml [closed]

<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
1answer
48 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 ...
1
vote
1answer
290 views

Executing appium test on kobiton device

I'm running some of my Appium test cases which are written in c# under .net platform on a real time device which is attached to my workstation. Below is my code and it works fine. public void ...
0
votes
0answers
409 views

App doesn't launch in emulator, error says- io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0 INFO: Detected dialect: W3C

I am new in mobile automation and first time trying to launch the app in emulator. Just the mobile screen blinks but My app doesn't get launched. Can anyone help me.. import java.io.File; import java....
0
votes
0answers
80 views

downloaded pdf file in internal Shared storage in mobile android device

Here after downloading a file in chromebrowser in mobile I'm trying to check that filename is present in Internal shared storage downloads folder in mobile but it is showing null exception. How to ...
0
votes
3answers
5k views

findElement is not working in Appium on Android

I am trying to click on display button in Settings app. But "findElementBy.." statement is not working, Sometimes I get 'nullpointer exception' or 'no such element exist' exception and some times test ...
3
votes
3answers
907 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 ...
3
votes
1answer
371 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
0
votes
0answers
21 views

Elements visible in the mobile app screen but not present in app source cofe inspected by appium server 1.17.0

Using appium server inspector when i try to inspect few elements of hybrid app, i canot see that element in app source(dom). Using appium server 1.17.0. But when i inspect through chrome remote ...
0
votes
0answers
56 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 ...
1
vote
2answers
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 ...