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
0 answers
24 views

Is it possible to use Appium to automate an iOS application on a Windows machine?

I need to automate an iOS application with Appium, C# on a Windows PC using SauceLab. I can utilize any real-time device or emulator that is linked to saucelab. I only have a Windows computer here. Is ...
Aman Khan's user avatar
0 votes
0 answers
24 views

Low code apps for React native mobile app

I am currently writing test cases in C# using Appium which involves very hardcore coding - ie writing code for many test cases that involve large amount of steps to be automated. Are there any low ...
Stanza's user avatar
  • 101
0 votes
1 answer
83 views

Py + iOS + FFMPEG(libx264) "height not divisible by 2" & "while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height"

Background : I have automated test suite in which I am trying to record video [for failed tests]on iOS using MacOS with M1 Its working as expected on local and observing failures while running tests ...
Narendra Chandratre's user avatar
0 votes
1 answer
113 views

Python + Appium : ios video recording is creating zero byte videos

Background : I am trying to record video on iOS using MacOS with M1. Problem : I am able to record video but after saving I can see video size is "Zero byte". I have not seen any error so ...
Narendra Chandratre's user avatar
-1 votes
1 answer
36 views

To enhance my android automation skills which apps will provide different types of element to practice? [closed]

To enhance my android automation skills which apps will provide different types of element to practice with Appium test automation? Most of the apps I download, need google authentication or OTP ...
ChathuD's user avatar
  • 2,141
-1 votes
1 answer
18 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 ...
Narendra Chandratre's user avatar
0 votes
2 answers
704 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 ...
Narendra Chandratre's user avatar
1 vote
1 answer
4k 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. ...
Max's user avatar
  • 113
-1 votes
2 answers
75 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 ...
Sam's user avatar
  • 1
-1 votes
1 answer
9k 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 ...
Narendra Chandratre's user avatar
0 votes
1 answer
218 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 : ...
Narendra Chandratre's user avatar
1 vote
1 answer
5k 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 ...
Narendra Chandratre's user avatar
0 votes
1 answer
101 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 ...
Narendra Chandratre's user avatar
3 votes
1 answer
11k 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:...
Narendra Chandratre's user avatar
2 votes
2 answers
5k 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 ...
Narendra Chandratre's user avatar
0 votes
1 answer
42 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 ...
Narendra Chandratre's user avatar
1 vote
0 answers
529 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 ...
Sources's user avatar
  • 11
-1 votes
1 answer
95 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 ...
fypnlp's user avatar
  • 437
0 votes
2 answers
194 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 ...
Sanjay Bhatia's user avatar
1 vote
1 answer
974 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 ...
Benjamin's user avatar
-2 votes
1 answer
52 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 ...
fypnlp's user avatar
  • 437
0 votes
2 answers
757 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 (...
fypnlp's user avatar
  • 437
0 votes
0 answers
1k 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....
uzair shahid's user avatar
2 votes
2 answers
548 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 ...
Avochdar43's user avatar
1 vote
1 answer
269 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 ...
vamc's user avatar
  • 11
0 votes
1 answer
336 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 ...
Narendra Chandratre's user avatar
0 votes
1 answer
5k 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/...
Jyothi's user avatar
  • 1
1 vote
1 answer
481 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 ...
Narendra Chandratre's user avatar
1 vote
0 answers
203 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<...
Sounak's user avatar
  • 11
1 vote
1 answer
1k 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&...
Dave Mc D's user avatar
0 votes
1 answer
307 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 ...
Jano's user avatar
  • 113
-2 votes
3 answers
11k 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 ...
Baibhav Roy Bhandary's user avatar
2 votes
1 answer
348 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?
Dhiman's user avatar
  • 4,580
0 votes
2 answers
68 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 ...
Elisa Cartolano's user avatar
1 vote
3 answers
5k 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(...
Seeker001's user avatar
  • 572
2 votes
2 answers
102 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 ...
VirtualProtocol's user avatar
0 votes
0 answers
406 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 ...
shashank shekhar's user avatar
1 vote
1 answer
180 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 ...
Arslan Hassan's user avatar
0 votes
1 answer
247 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 ...
Zaman10's user avatar
1 vote
2 answers
162 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 ...
auspicious99's user avatar
0 votes
1 answer
5k 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('...
Narendra Chandratre's user avatar
1 vote
0 answers
357 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 ...
Narendra Chandratre's user avatar
0 votes
0 answers
65 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. ...
Narendra Chandratre's user avatar
3 votes
1 answer
73 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 ...
user46901's user avatar
0 votes
1 answer
470 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!
Kalei White's user avatar
0 votes
1 answer
654 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" ...
Ashutosh Singh's user avatar
1 vote
1 answer
1k 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 ...
BelovedFool's user avatar
1 vote
1 answer
97 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 ...
BelovedFool's user avatar
1 vote
1 answer
2k 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
128 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 ...
DanUK's user avatar
  • 123