aws-device-farm

Does Device Farm supports python 3.5 and appium 1.6.4-beta?

不想你离开。 提交于 2021-02-08 10:16:28
问题 I want to use Device Farm for ios testing but currently we are using Python 3.5 and Appium 1.6.4-beta . As per their documentation, they only support python 2.7 and I feel like this is not updated. Can anyone confirm if the device farm currently supports python 3.5 and appium 1.6.4-beta ? I couldn't find this answer from their forum. Documentation for device farm - http://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-android-appium-python.html Version Information Currently,

How can i solve proxy problem when using AWS device farm?

纵饮孤独 提交于 2021-01-29 05:02:24
问题 I'm trying to execute aws device farm example code that we can get below site. https://docs.aws.amazon.com/devicefarm/latest/testgrid/getting-started-local.html // Import the AWS SDK for Java 2.x Device Farm client: ... // in your tests ... public class MyTests { // ... When you set up your test suite private static RemoteWebDriver driver; @Before void setUp() { String myProjectARN = "..."; DeviceFarmClient client = DeviceFarmClient.builder().region(Region.US_WEST_2).build();

How to speed up selenium tests on AWS device farm?

天大地大妈咪最大 提交于 2020-05-17 03:46:13
问题 I'm using Python for testing on AWS device farm. It seems that starting a selenium takes very very long. This is the code I use: from time import time from boto3 import client from selenium import webdriver def main(): start = time() device_farm_client = client("devicefarm", region_name='us-west-2') test_grid_url_response = device_farm_client.create_test_grid_url( expiresInSeconds=666, projectArn="arn:aws:devicefarm:us-west-2:..." ) driver = webdriver.Remote( command_executor=test_grid_url

AWS Device Farm app doesn't list any devices

别说谁变了你拦得住时间么 提交于 2019-12-23 21:57:59
问题 I'm attempting to manually test and debug apps from Android Studio in my AWS WorkSpace using AWS Device Farm. I downloaded the Device Farm app, and followed all of the instructions, but no devices are showing up in the list when I'm trying to create a new remote debugging session. My workspace is in us-east-1 and the device farm is in us-west-2, but I don't think that matters since I got the same behavior from my laptop. Any ideas I can try out? 回答1: the Device Farm app is for Direct Device

Access additional test files for Appium tests on AWS device farm

萝らか妹 提交于 2019-12-22 18:38:15
问题 I am running Appium tests with JUnit on AWS device farm. Is there a way to upload additional test files and access them from within my code? So basically, can I access the file system of the container that runs the Appium tests? I have the necessary files within my JAR file (which is inside a zip as per AWS requirements) but I'm not sure if and where AWS extracts the files from this JAR during the test run (probably not). There is an option called Add extra data which can be used to upload

java.lang.NoClassDefFoundError: jenkins/scm/RunWithSCM

人盡茶涼 提交于 2019-12-12 05:18:44
问题 I have integrated Jenkins with AWS Device farm. Now from my Jenkins UI Console if I run a build I get the following exception: FATAL: jenkins/scm/RunWithSCM java.lang.NoClassDefFoundError: jenkins/scm/RunWithSCM at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:878) at

Cannot get my features files recognized by aws device farm

岁酱吖の 提交于 2019-12-11 17:19:05
问题 I am having an issue running my cucumber project with device farm. I am getting this error: [TestNG] Caused by: java.lang.IllegalArgumentException: Not a file or directory: /tmp/scratchheDEgq.scratch/test-packagex5ZhYf/src/test/java/cucumber/features I understand from this message that there is an issue with the path of the features directory in my project but locally it works. This is how I put it in my code: @CucumberOptions(features = "src/test/java/cucumber/features", glue = "cucumber