Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

7 Mobile Test Automation Tips

DZone's Guide to

7 Mobile Test Automation Tips

As you start small and grow with your mobile application company, it's important to keep the channel between development, operations, and the business open.

· Mobile Zone
Free Resource

Developing a mobile test automation scenario isn’t really that complicated. Developers and testers use a variety of commercial test automation frameworks or open-source tools such as Selenium and Appium to do automation. However, when trying to execute these tests on real devices or integrate them into an Agile or CI workflow, things can get a little complicated.

The Major Challenges Around Mobile Test Automation

The essence of developing test automation is to be able to use and re-use scripts many times across platforms and environments. Test automation should be as maintainable as possible, especially as new platforms and product features are released. Many organizations that develop test automation for their mobile apps face the following challenges:

  1. Executing the tests against a variety of real mobile devices.
  2. Executing these tests in parallel.
  3. Leveraging existing test code (re-usability) for new tests.
  4. Including real end-user environments and conditions (i.e., changing network conditions, low battery) in the tests.
  5. Overcoming unexpected interruptions (i.e., incoming calls, apps running in the background).
  6. Running these tests unattended overnight as part of a Jenkins CI job.

These are just a few of the challenges organizations we confront when trying to progress from older SDLC processes and meet faster releases and enhanced Dev > Build >Deploy > Test >Deploy cycles.

7 Mobile Test Automation Tips 

Overcoming these challenges starts with few changes in the overall mobile app development and test processes.

Consider these seven recommendations for building sustainable unattended automation.

Test automation

The key to mobile test automation is to start with a small number of test cases, automate those test cases, and assure that they are robust enough and can be executed both in parallel and unattended. Only then should you invest more and grow the test suite.

An important question to ask at the start is: What should I be automating? Organizations often do not choose the right tests to automate, resulting in lost development time, weak ROI, and an over-reliance on manual testing.

Topics:
mobile ,test automation ,mobile testing

Published at DZone with permission of Eran Kinsbruner, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}