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
12
votes
3 answers
Building XCTest UI tests for AWS Device Farm
I'm trying to set up our iOS XCUITests to run on AWS Device Farm, but it seems no matter how I build and upload them, the tests will not run. They execute and pass when run locally in XCode, but do not run on AWS Device Farm.
I've set up the…

telomere
- 338
- 3
- 10
7
votes
2 answers
Robot Framework - How to connect to Amazon Device Farm
Currently Amazon device farm does not have support for Robot framework with Appium. Is there a work around or a tool that can allow me to run my robot scripts on Amazon device farm?

blin92
- 71
- 1
- 2
5
votes
1 answer
Is it possible to implement test sharding in aws device farm?
I have a test automation suite that uses cucumber-appium-ruby which I run on AWS device farm.
In order to improve performance (and avoid the 150 minutes limit of use per device), I would like to be able to run my tests in parallel (meaning different…

Agustin Pequeno
- 85
- 2
- 7
5
votes
1 answer
Can't read properties file in aws device farm
My Appium + JUnit tests works perfectly fine locally, but on aws it can not find properties files. My tests are placed under src/test/java and properties files used in tests under src/test/resources/locale.
Zip with dependencies content:
├──…

sg_ro
- 53
- 3
5
votes
1 answer
Using AWS Device Farm with JUnit 5
I've found that when I upload my JUnit 5 tests to AWS fails because it expects to find a dependency in the format junit-.jar. However, JUnit 5 has changed the package names to org.junit.jupiter.ap and org.junit.platform.commons.
Does this mean…

Jansky
- 1,455
- 1
- 17
- 33
5
votes
1 answer
run react-native detox e2e tests on real devices
Is there a way to run detox e2e tests on real devices within a CI pipeline?
My goal is to run the tests on AWS device farm or something similar.
I read that it is possible to run the e2e tests on bitrise ci, but I guess they will be executed in the…

appsthatmatter
- 6,347
- 3
- 36
- 40
4
votes
8 answers
Why am I getting this error? UnknownEndpoint: Inaccessible host: `devicefarm.us-east-1.amazonaws.com'
I'm trying to ListProjects in AWS Device Farm.
Here's my code:
const AWS = require('aws-sdk');
AWS.config.update({ region:'us-east-1' });
const credentials = new AWS.SharedIniFileCredentials({ profile: '***' });
AWS.config.credentials =…

Jesus is Lord
- 14,971
- 11
- 66
- 97
4
votes
0 answers
How to connect via adb to a (Remote Session) Android Device on AWS Device Farm
Can I connect to Android device during a remote session via adb?
I would need to connect to the Android device via adb( using tcpip mode) but I presume, I can't connect to a specific device via a public IP(?) so how can I connect from a…

Ahsan Shafiq
- 221
- 3
- 9
4
votes
1 answer
Run a specific TestNG testng.xml suite file in aws-device farm
I want to run a TestNG xml suite file in aws-device farm. After investigation I concluded that the way that the aws-device farm execute the TestNG tests is that run all the tests that are annotated with a TestNG annotation (in the zip file project…

Panagiotis Tsiakos
- 41
- 3
4
votes
2 answers
AWS Device farm seems to be ignoring TestNG annotations
I have successfully uploaded and run my tests on AWS device farm. Locally, I'm using fun things like @Test(enabled = false, dependsOnGroups = "Login") to mark which tests to run at the time, and what order they should execute. Locally, this all…

Furfire
- 47
- 5
4
votes
1 answer
Generate UIAutomator Test JAR for AWS Device Farm from Android Studio Gradle build
I would like to run Android UIAutomator Tests with AWS Device Farm. The Tests needs to be uploaded as a separate JAR to AWS. In Android Studio (1.4) UIAutomator Tests are part of the app project itself, so no dedicated JAR is generated.
How can I…

user2389372
- 61
- 4
3
votes
0 answers
How can I download a Device Farm upload?
I can see the list of uploads in the web UI and via the CLI, but I don't see any option to download any of them. When I try to download them from their S3 path, it says I don't have permission. Is there a way?

meisel
- 2,151
- 2
- 21
- 38
3
votes
0 answers
AWS Device Farm - Appium / Java / TestNG - encrypt credentials
I am using AWS Device Farm to run Cucumber tests for both Android and iOS.
As part of the testing, I need to access a 3rd party API to compare actual and expected results, providing username and password.
What is the best way to provide these…

simeona cruz
- 31
- 1
3
votes
0 answers
How to disable video recordings on AWS Device Farm using Selenium?
I couldn't find a way how to disable video recording when using selenium.
Using CLI one can do so as mentioned in this comment:
aws devicefarm schedule-run \
--project-arn YourProjectArn \
--app-arn YourApplicationArn \
--device-pool-arn…

Ikar Pohorský
- 4,617
- 6
- 39
- 56
3
votes
2 answers
Unable to open and close notifications panel with AWS Device farm
My test needs to open and close the notifications panel and go back to the app from an Android device (Moto G4 Android 7 - AWS device farm). So I'm calling the following method in my test
androidActivity.openAndCloseNotifications();
where
public…

Laura
- 63
- 1
- 8