device-farm | top level client of aws device farm api

 by   viniciusmo Ruby Version: Current License: No License

kandi X-RAY | device-farm Summary

kandi X-RAY | device-farm Summary

device-farm is a Ruby library. device-farm has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

A top level client of aws device farm api to manage your tests :rocket:
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              device-farm has a low active ecosystem.
              It has 5 star(s) with 1 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              device-farm has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of device-farm is current.

            kandi-Quality Quality

              device-farm has no bugs reported.

            kandi-Security Security

              device-farm has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              device-farm does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              device-farm releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of device-farm
            Get all kandi verified functions for this library.

            device-farm Key Features

            No Key Features are available at this moment for device-farm.

            device-farm Examples and Code Snippets

            No Code Snippets are available at this moment for device-farm.

            Community Discussions

            QUESTION

            Does anyone know if webdriver-io can be used with AWS device farm ? How to set it up?
            Asked 2020-Apr-22 at 04:54

            I am trying to setup e2e for my react apps using AWS Device Farm Browser Testing, I can see it supports selenium-remote-web-driver on documentation but I am interested on knowing if I can use webdriver-io and execute my tests on device farm ?

            I can’t find a service runner available for device-farm ? Aren’t there any yet ?

            ...

            ANSWER

            Answered 2020-Apr-21 at 20:41

            Assuming it is just as any other cloud web and mobile testing platform like browserstack and saucelab, it is possible to do it.

            Reference: https://kapoorlakshya.github.io/executing-webdriverio-browser-tests-aws-device-farm

            Source https://stackoverflow.com/questions/61351871

            QUESTION

            AWS device farm cannot find test.js file uploaded in the zip file
            Asked 2020-Apr-17 at 20:11

            I followed the steps from https://medium.com/@dabit3/testing-mobile-applications-across-hundreds-of-real-devices-with-appium-node-js-aws-device-farm-b749aefd651a and created a zip file and uploaded the same to aws device farm in device run. However, when i start the run, i get the error,

            ...

            ANSWER

            Answered 2020-Apr-17 at 20:11

            I work on the Device Farm team.

            From the output you have shared there could be a few possible reasons.

            1. The default test spec file used in Device Farm has a command in the test phase which is:

              "- cd $DEVICEFARM_TEST_PACKAGE_PATH/node_modules/*"

              Since it is not finding the file autoappium.js you want to check if this line was removed from your test spec file.

            2. Check installation of node modules in the test spec file under the "install" phase. This looks like:

              echo "Navigate to test package directory

              cd $DEVICEFARM_TEST_PACKAGE_PATH

              npm install *.tgz

              If the modules are not installed then the files would not be picked up.

            3. Do you run the test using the same command locally? "node autoappium.js"

              If not, then you should use the same command in place of "- ./node_modules/mocha/bin/mocha test_native_ios.js" as shown in the test spec file comment.

            Hope this helps. If this does not resolve, please share the run URL of from the console and I should be able to help you forward with it.

            Source https://stackoverflow.com/questions/61225915

            QUESTION

            org.openqa.selenium.WebDriverException:java.io.IOException
            Asked 2019-May-29 at 14:00

            Test fails on AWS device farm (running for iOS) after running few scripts with

            org.openqa.selenium.WebDriverException:java.io.IOException: unexpected end of stream on Connection{127.0.0.1:4723, proxy=DIRECT hostAddress=/127.0.0.1:4723 cipherSuite=none protocol=http/1.1}

            Selenium-java version is 3.141.59.

            When I run my script on local with platform version 12.1 and device Name is iPhone 6 plus, it runs smoothly. But fails on device farm with any device and version(I have checked on few, iPhone 7, version 11.0 is one of those).

            I have tried running on many other compatible different iOS version, still face the same issue. I have tried on both 127.0.0.1:4723 and 0.0.0.0:4723.

            -[TestNG] org.openqa.selenium.WebDriverException: java.io.IOException: unexpected end of stream on Connection{127.0.0.1:4723, proxy=DIRECT hostAddress=/127.0.0.1:4723 cipherSuite=none protocol=http/1.1}

            -Caused by: java.io.EOFException: \n not found: limit=0 content=…

            ...

            ANSWER

            Answered 2019-May-27 at 13:34

            Thanks for posting those logs! It looks like the capabilities are valid(though the bundle id is obviously not valid). The bundleId will automatically be taken from the ipa file so it shouldn't be necessary to provide that if we also have the app capability.

            http://appium.io/docs/en/writing-running-appium/caps/#ios-only

            Bundle ID of the app under test. Useful for starting an app on a real device or for using other caps which require the bundle ID during test startup. To run a test on a real device using the bundle ID, you may omit the 'app' capability, but you must provide 'udid'.

            The default capabilities required for the app to start should be already provided by the default appium server CLI command in the testspec.yml file.

            appium --log-timestamp --device-name $DEVICEFARM_DEVICE_NAME --platform-name $DEVICEFARM_DEVICE_PLATFORM_NAME --app $DEVICEFARM_APP_PATH --udid $DEVICEFARM_DEVICE_UDID --automation-name XCUITest --default-capabilities "{\"usePrebuiltWDA\": true, \"derivedDataPath\":\"$DEVICEFARM_WDA_DERIVED_DATA_PATH_V1\"}" >> $DEVICEFARM_LOG_DIR/appiumlog.txt 2>&1 &

            Capabilities

            Source https://stackoverflow.com/questions/56292218

            QUESTION

            AWS Device Farm - Not a file or directory for cucumber features path
            Asked 2019-Jan-13 at 14:04

            I am trying to run our app tests in device farm but I am getting an error saying it cannot find the features. java.lang.IllegalArgumentException: Not a file or directory: /tmp/scratchktFI9V.scratch/test-packagehFUzci/src/test/resources/features

            I have got the example repo and app running and passing as per this guide which is all great but when running our own I get this error.

            I noticed the example tests uses classpath in the features path but when i try this i just get Not a file or directory: /tmp/scratchRlueAN.scratch/test-packageMMRQh4/classpath

            These are my cucumber options:

            ...

            ANSWER

            Answered 2019-Jan-13 at 14:04

            Try using classpath:. Note the colon at the end.

            Source https://stackoverflow.com/questions/54164691

            QUESTION

            How to use output of one command as an input to another on VSTS CI
            Asked 2018-Mar-15 at 22:36

            I'm trying to set up CI on Microsoft's Visual Studio Team Services (VSTS) that includes AWS CLI task. I have some steps for building an iOS app and those steps are successfully executed. Then, I want to upload generated .ipa files to AWS Device Farm using AWS CLI commands.

            To upload files to AWS, I followed this documentation, where it is stated that I have to run aws devicefarm create-upload ... command first. This command is executed successfully on VSTS and it outputs JSON formatted response, like this:

            ...

            ANSWER

            Answered 2018-Mar-13 at 03:00

            There isn’t the output variable in AWS CLI task, you may submit the issue here: https://github.com/aws/aws-vsts-tools/issues

            The workaround is that you can get the task logs through Build Log REST API, so you can call REST API to get the task log (e.g. through curl), then extract data from the log.

            Source https://stackoverflow.com/questions/49234140

            QUESTION

            Has anyone been able to overcome "unable to find device" error in the AWS Device Farm for iOS?
            Asked 2017-Oct-27 at 17:45

            I'm trying to run some UI automation tests for iOS in the AWS Device Farm. However, I keep on getting the following error:

            error: Unable to find device

            The company I work for doesn't have the free access to their support, so it makes a little harder to reach out Amazon themselves to seek an answer.

            I have basically followed all of the following steps on how to set it all up from this link: https://medium.com/ios-os-x-development/how-to-run-your-iphone-test-on-aws-device-farm-98f18086811e (I'm using XCTest in the device farm). If anyone have managed to overcome the same or similar issue, please let me know. Thanks!

            ...

            ANSWER

            Answered 2017-Oct-19 at 22:31

            If you're continuously getting that error I would think something is wrong with the test package. Try running a fuzz test using the same devices and same IPA file. If those execute then it's definitely something wrong with the test package.

            Hope that helps.

            James.

            Also AWS dev support is the greater of $29 or 3% of bill per month. It might just take longer to get a response with that plan than others.

            https://aws.amazon.com/premiumsupport/developer-support/

            Source https://stackoverflow.com/questions/46821540

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install device-farm

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/viniciusmo/device-farm.git

          • CLI

            gh repo clone viniciusmo/device-farm

          • sshUrl

            git@github.com:viniciusmo/device-farm.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link