Comments (9)
Hi,
Can you share your failed run url with us, so we can help you debug it.
from aws-device-farm-appium-tests-for-sample-app.
Did you check your desired capabilities. What may have happened is that they're set for the local execution. We shouldn't need to set these for device farm as it will do that on our behalf if that is the case. Let me know either way when you get the chance.
from aws-device-farm-appium-tests-for-sample-app.
I used empty capabilities (as here):
DesiredCapabilities capabilities = new DesiredCapabilities();
driver = new AndroidDriver<MobileElement>("http://127.0.0.1:4723/wd/hub", capabilities);
and once tried with device set capabilities.setCapability("deviceName", "Android");
Is that what you're asking @jamesknowsbest ?
from aws-device-farm-appium-tests-for-sample-app.
Sorry, @floorra but how can I share a url with you? I doubt you access a link even if I would post it here. Or maybe you meant something else?
from aws-device-farm-appium-tests-for-sample-app.
@YaroslavHavrylovych yes, which device are you using? I want to try and reproduce the issue. Also @floorra I assume works for the device farm team or some derivative of. I believe they can use the GUIDs in the URL to look up the logs and see what the issues was.
from aws-device-farm-appium-tests-for-sample-app.
So device is "amazon fire 2015".
The simplest test link is here.
Thanks for your time.
from aws-device-farm-appium-tests-for-sample-app.
Okay,
I cloned the and built the sample project using these commands:
git clone https://github.com/awslabs/aws-device-farm-sample-app-for-android.git
cd aws-device-farm-sample-app-for-android/
./gradlew cC
Then I build the sample project here using these commands:
git clone https://github.com/awslabs/aws-device-farm-appium-tests-for-sample-app.git
cd aws-device-farm-appium-tests-for-sample-app/
mvn clean package -DskipTests=true
Then I scheduled a run with appium 1.7.2 and the amazon file 2015
and I can reproduce the issue.
It looks like there is an issue with that device from the logs
Here is my URL
I parsed the logs and keep seeing this error from the logs:
2018-05-24T21:09:31.378895Z Failed to register system service "com.amazon.client.metrics.AndroidMetricsFactoryImpl". The class was not found for the provided classloader.
2018-05-24T21:09:39.225895Z Failed to register system service "com.amazon.client.metrics.AndroidMetricsFactoryImpl". The class was not found for the provided classloader.
I'm running the same test on the google pixel 7.1.2 to see if they work there.
from aws-device-farm-appium-tests-for-sample-app.
Hi,
This is a known issue only with amazon fire 2015 device. We are working on fix for this issue. Please try other devices. You should be able to run your tests.
Thanks
from aws-device-farm-appium-tests-for-sample-app.
can confirm, the test s work on a google pixel
from aws-device-farm-appium-tests-for-sample-app.
Related Issues (14)
- getSize method does not work and throws an server internal exception HOT 11
- How to use priority in test cases? HOT 4
- How to control test case execution using testng.xml? HOT 7
- How to pass the test data through property file or .csv HOT 6
- How can we control which testNG test class we want to run? HOT 2
- AWS Device farm : not able to tun TC through jenkins while i can able to run tc with out jenkins HOT 1
- Will AWS device farm support findElementByImage() appium method
- Could not find the testng.xml in the jar file Error
- Farm has a different behavior than Junit
- Your project not working on Device Farm HOT 3
- I can not run your project with Jenikins HOT 8
- Unable to find the testng xml in the project structure HOT 1
- Which test to be run first ? Where to configure this ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-device-farm-appium-tests-for-sample-app.