Testing Mobile Applications Across Hundreds of Real Devices with Appium, Node.js & AWS Device Farm

Getting Started

  1. An AWS Account
  2. An Appium Node.js test
  3. An application .apk or .ipa file
  1. We first test to see that the application loads
  2. Next, we’re running a loop that will check to see if a button exists, click on the button, & then go back. The loop runs 5 times.
npm install

Packaging the Test Files for Device Farm

npm install -g npm-bundle
npm-bundle
zip -r MyTest.zip *.tgz

Running your Test on AWS Device Farm

  1. Click Create New Project & give the project a name
  2. Click Create a New Run
  3. Click on the Android / iOS Button (to specify a Native application)
  4. Upload the .apk file.
  5. Give the Run a name & click Next Step.
Video of test being run.

Developer Relations Engineer at Edge & Node working with The Graph Protocol

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A Headless CMS App: Next.js, Apollo, and Contentful with GraphQL

Moving from Karma to Jest with a React-based UI

Test story for Medium Blog

How I kicked off my pet project with contentful

//platform.twitter.com/widgets.js from Twitter https://twitter.com/techandgeek

JS211 Week6

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nader Dabit

Nader Dabit

Developer Relations Engineer at Edge & Node working with The Graph Protocol

More from Medium

Archiving iOS React Native app in an NRWL monorepo: debugging guide

Generate and Share Excel Styled Spreadsheets Using React Native

Display CSV Data in a React Native Table With Pagination

Beyond the Framework, using React-Native with Swift and Kotlin