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
-1 votes
1 answer
7 views

"“photos.db” couldn’t be copied because you don’t have permission to access while Integrating python osxphotos lib

Problem : Background : I am trying to access internal storage and photos using python from iOS real device or simulators & occur failure in a process because you don’t have permission to access ...
0 votes
1 answer
31 views

fatal error: 'libheif/heif.h' file not found occur while Installing via pip on mac

Problem : fatal error: 'libheif/heif.h' file not found occur while Installing via pip on mac I was trying to install specific module using pip, In order to integrate & use in my automation ...
1 vote
1 answer
715 views

Run iPhone simulator with appiume but get xcodebuild failed with code 65 xcodebuild error message:

I'm using Appium to run an iPhone simulator and it's not working. I got the following error message: Failed to create session. An unknown server-side error occurred while processing the command. ...
  • 113
-1 votes
2 answers
68 views

How do we decide which tools to use to test web and mobile applications? [closed]

My friend and I have just started our business that aims to conduct web and mobile application testing. We have read a lot and learned how to perform such testing. However, throughout our reading, we ...
  • 1
-1 votes
1 answer
2k views

Error "groovy.lang.MissingPropertyException: No such property: simctl for class: groovy.lang.Binding" observed while executing from Jenkins piepline

Team, I am facing below error while executing Jenkins pipeline : groovy.lang.MissingPropertyException: No such property: simctl for class: groovy.lang.Binding I have checked and confirmed, The cmd ...
0 votes
1 answer
98 views

Appium + iOS automation : Error "Could not write domain com.apple.keyboard.preferences; exiting"

Team, Everything was working and suddenly I observed all the tests started failing :( with following error : Could not write domain com.apple.keyboard.preferences; exiting What all I have tried : ...
0 votes
1 answer
1k views

error: gpg failed to sign the data fatal: failed to write commit object while pushing code using Git & GPG keychain [closed]

Trying to push/commit my code using Git. Facing: error: gpg failed to sign the data fatal: failed to write commit object Background : Everything was working absolutely expected way till today ...
0 votes
1 answer
56 views

Appium+Python: Screenshot for failed step in iOS :HOOK-ERROR in after_step: TypeError: after_step() missing 1 required positional argument: 'scenario'

I am trying to capture screenshot on iOS device when any of my test gets failed. Problem statement : How to get behave scenario inside the after_step() method Observed error : HOOK-ERROR in ...
0 votes
0 answers
40 views

Can I use regex pattern matching for a CSS selector in Appium mobile automation?

I am trying to find a set of iOS UI elements in my automation script. The framework is Appium & WebdriverIO based. I was able to determine that the correct regex pattern I am searching for is this:...
  • 180
3 votes
1 answer
4k views

Appium server GUI returned error "No route found for /session" & Appium inspector "Failed to create session. The requested resource could not be found

Error occur while launching the application using appium server gui with following Environment : Appium server GUI[1.22.3] Appium inspector [2022.5.4] Capability set as follows : { "appium:...
0 votes
2 answers
1k views

appium-doctor --android returns error AppiumDoctor ✖ android could NOT be found in /Library/Android/sdk! on macOS

Team, Facing error while executing appium-doctor --android AppiumDoctor ✖ android could NOT be found in /Library/Android/sdk! Interestingly, Location exist with appropriate permission Android SDK ...
0 votes
0 answers
27 views

macOS + Appium : Possible to setup Appium without using Homebrew as version manager? Possible best options

Please read my question carefully, do not rush to close this. I have worked on multiple projects with Appium. But currently my problem statement is : Setup appium without Homebrew I am aware we ...
1 vote
0 answers
245 views

Unable to scroll into view of an element in iOS with Appium & Webdriverio

i'm trying to scroll into an element but the the current code scrolls all the way to the bottom of the page, i have inserted the element name within the code but it doesn't seem to work. const ...
  • 11
0 votes
0 answers
11 views

TestComplete now requires using Appium, what are some reasons we wouldn't use just Appium on its own? [duplicate]

I'm aware you can use BitBar and instrument your app on Android via the Legacy method, but for those of us who go the Appium route, it seems one may as well just use Appium on its own if TestComplete ...
0 votes
0 answers
15 views

Why does TestComplete 15 now require local Appium server?

TestComplete 14 build 70 and before did not require having an Appium server set up to perform automated testing for Android apps. What are some technical reasons why they now require Appium, when ...
-1 votes
1 answer
43 views

Looking for Javascript coding challenge Websites. Can you guys help?

I really need to improve my JS coding (currently learning ES6) as it would be great for my automation Testing. I would like to take a daily coding challenge (min 30 days) but I'm having difficulty ...
  • 437
0 votes
1 answer
75 views

Appium: Parallel execution halts if test is complete on one of the device

I am trying to run 2 different tests on 2 different emulators parallelly. But my execution halts on 1 device as soon as the test on other device is complete. I am using the below driver setup code ...
0 votes
0 answers
27 views

How to pass Selenium By in UIselector

I wrote script which is scrolling mobile app view and selects element by resourceId and text. Simple text select doesn't work for me. public void tapOnElementById(String resourceId, String visibleText)...
1 vote
1 answer
283 views

Appium android clear app data

My scenario is, I'm switching from one app to another in an Android phone. While switching from one app to the other, I want to clear all data or do a hard reset of the app I'm switching from. Also ...
-2 votes
1 answer
46 views

Device Farm Vendors I have a meeting with them I need some questions [closed]

Firstly thank you for helping me with the previous question regarding device farm vendors. I have a meeting with AWS next week and I'm stuck in regards to what questions I need to ask them. I know I ...
  • 437
0 votes
2 answers
516 views

Device Farms that allow React-Native with Detox and Jest

I hope someone can help with this as I'm honestly stuck. We have an application written in react-native and we are on the hunt for a device farm that is compatible with the tests we have written (...
  • 437
0 votes
0 answers
967 views

Facing error java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy9.proxyClassLookup() on run appium with POM

Hi everyone im facing this error on run appium with POM here is complete error java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy9.proxyClassLookup() at io.appium....
2 votes
2 answers
305 views

Is it possible to automate testing for iOS and webdroid app with Appium on windows?

We're about to start a project where we need to automate tests for a webdroid and iOS app. I read that Appium is very recommended for this tasks, but we are quite uneasy on the iOS part. Do we need to ...
1 vote
1 answer
192 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 ...
  • 11
0 votes
1 answer
232 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
1 answer
4k 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
1 vote
1 answer
344 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
0 answers
69 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<...
  • 11
1 vote
1 answer
943 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&...
0 votes
1 answer
214 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 ...
  • 113
-2 votes
2 answers
8k 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 ...
2 votes
1 answer
178 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?
  • 4,580
0 votes
2 answers
57 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 ...
1 vote
3 answers
4k 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(...
  • 572
1 vote
2 answers
59 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 ...
0 votes
0 answers
315 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
1 answer
125 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 and it runs properly in web browser. But, when I ...
0 votes
1 answer
132 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 ...
1 vote
2 answers
120 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
1 answer
3k 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
0 answers
297 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
0 answers
44 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. ...
3 votes
1 answer
65 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
1 answer
404 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!
0 votes
1 answer
454 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
1 answer
710 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
1 answer
70 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
1 answer
1k 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....
user avatar
0 votes
0 answers
101 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 ...
  • 119
3 votes
5 answers
145 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 ...
  • 31