AWS Device Farm helps you to improve the quality of your iOS, Android, and web applications by testing them against real phones and tablets in the AWS Cloud.
Questions tagged [aws-device-farm]
352 questions
3
votes
2 answers
Android Espresso apk file and its sdk version
Currently there are two apk files that I need so that I can run a test on AWS device farm:
app.apk
app-androidTest.apk
app.apk is generated fine as I intended
$ ./aapt list -a .../apk/app-debug.apk | grep SdkVersion
A:…

mblueblue
- 31
- 2
3
votes
4 answers
XC UI Testing with AWS device farm giving error "Setup Test skipped: Not enough suites found to execute"?
Archive the project and created the IPA file with development profile after that followed the following link to create the UITest IPA
http://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-ios-xctest-ui.html
also to reconfirm…

Chowdhury Md Rajib Sarwar
- 1,787
- 2
- 23
- 30
3
votes
4 answers
Calabash for Cordova Android app on AWS Device Farm, correct webview name?
I'm running into trouble trying to write Calabash tests for a Cordova application. webView and cordovaWebView do not work for me locally or on AWS.
Code variation that does work locally when I run against a device:
Then(/^I entered text "(.*?)"…

cat3045
- 295
- 2
- 11
3
votes
1 answer
AWS-Device farm Uses TestNG Framework Regardless of selecting Appium Java Junit for Testing
I'm working with AWS-Device Farm and I followed the steps specified to run my test package, I have selected Test Configuration Appium Java Junit But All of my test cases failed. So After looking at popup messages displayed along with error messages…

Darshan Ambhaikar
- 755
- 7
- 26
3
votes
2 answers
How to set Appium --no-reset flag programmatically for AWS-Device Farm
I want to set Appium Flag --no-reset programmatically.
This Flag is used when we don't want to reset app state between sessions (IOS: don’t delete app plist files; Android: don’t uninstall app before new session).
Its default Value is False, I want…

Darshan Ambhaikar
- 755
- 7
- 26
3
votes
1 answer
AWS Device Farm - Failed upload when using the CLI
I am trying to upload an apk to device farm using a bash script, I have used the create-upload endpoint to get a pre-signed url for the put request, and then I am using curl to PUT the apk to the end point.
RESPONSE=$(aws devicefarm create-upload…

CosmicChild
- 181
- 8
2
votes
0 answers
AWS DeviceFarm ScheduleRun always returns AccessDeniedException in cli
When I try to start a DeviceFarm run via CLI or API with an IAM user, I'm always getting the following error:
An error occurred (AccessDeniedException) when calling the ScheduleRun operation: User: is not authorized to perform:…

Andrey Bobkov
- 29
- 2
2
votes
0 answers
Appium tests on Amazon device farm getting stuck in custom test environment stuck at npm install *.tgz
I have android tests written in webdriverIO, appium. Running fine on my local machine. But on Amazon device farm execution getting stuck in custom test environment at npm install *.tgz.
Tech stack selected on amazon device farm: node 14.19.1 appium…

Varun Bhardwaj
- 21
- 1
2
votes
0 answers
AWS CodePipeline cannot create Device Farm- Custom test environment
I am working with AWS cloud. in AWS Device Farm console, I can select custom test environment
device farm custom environment
But when run via AWS CodePipeline, It's cannot.
Because I am running iOS testNG. in custom test environment is normal but…

Nguyen Thuong
- 21
- 1
2
votes
1 answer
SSL Certificate Errors when trying to access AWS Device Farm from AWS Lambda but Not Desktop
I am trying to create a scraper using Selenium on AWS, so I used following code on my desktop
import boto3
from selenium.webdriver import Remote
from selenium.webdriver import DesiredCapabilities
devicefarm_client = boto3.client('devicefarm',…

kashmoney
- 412
- 1
- 5
- 17
2
votes
1 answer
Is it possible to install application from playstore in device farm?
I am using AppiumDriver to install android application on Amazon device farm.
And i have tested this in real device and it's working perfectly fine but when I am putting same code into Device Farm at that time it want work. It want open play store…

Jyubin Patel
- 1,373
- 7
- 17
2
votes
1 answer
Failed to get matching snapshot: Lost connection to the application
I'm starting with AWS DeviceFarm and trying to integrate it into my CI pipeline. Recently, when I run my app tests on my device poll, I'm getting the error
Failed to get matching snapshot: Lost connection to the application (pid 402). (Underlying…

Izabella Melo
- 150
- 8
2
votes
0 answers
AWS Device Farm - java.lang.ClassNotFoundException: Didn't find class "androidx.test.runner.AndroidJUnitRunner"
Good day! I'm trying to use AWS Device Farm for instrumented tests. But for SOME devices I got this error:
02-17 19:22:26.157 15281 15281 E AndroidRuntime: FATAL EXCEPTION: main
02-17 19:22:26.157 15281 15281 E AndroidRuntime: Process:…

Vladimir Fisher
- 3,090
- 2
- 17
- 23
2
votes
1 answer
Getting error "Unable to create a new remote session" while running appium on AWS Device Farm
I am trying to test a web application on mobile browser on Android. It is perfectly running locally but on AWS Device Farm it is throwing error ""Unable to create a new remote session. Original error: connect timed out".
Can anyone help.
I am…
2
votes
0 answers
Is there any way to add VPN information using appium to devices in aws devicefarm devicepool?
I want to automate an android application using Appium, Java and TestNG on aws device-farm.
However, VPN information must be added to access this application.
When I used remote control on AWS device-farm, I was able to set VPN information on the…

reyyanarik
- 31
- 2