Use automated testing to make sure your app is bug-free
Automated testing of mobile applications can shorten your delivery cycle, improve your application’s reliability, and save you time. We talked to Chris Lample, Test Automation Engineer at TestObject, about the Appium testing framework; he also shared some test automation best practices that will allow you to scale your test coverage more effectively.
JAXenter: Automation sounds promising. What are the benefits of automated testing?
Chris Lample: Automated testing allows you to scale your testing in ways not possible with manual testing. After you’ve invested resources in automating test cases, you can run them more frequently and on multiple devices with little additional effort. Scaling your testing with automated testing is a great way to ensure that your app is bug-free.
JAXenter: Everything that is a routine can be automated – is that true?
Chris Lample: Automated testing is an extremely powerful tool but there are still some things that are not easy to automate. For example, testing an action game might be difficult because it requires precise timing for different actions. Even for such an app, though, there would still be other parts that could be automated. The team can still benefit from automating use cases such as signup or menu navigation.
JAXenter: In your W-JAX session, you introduced the attendees to the Appium Testing Framework. What is the idea behind the framework and can you outline its pros?
Chris Lample: Appium is a great testing framework, and it’s been a pleasure working with it. One of Appium’s strongest advantages is its flexibility. Appium is a cross-platform, so you can use it to automate both Android and iOS. With Appium, you can automate Native, Hybrid, and Web Applications. To make things even better, Appium has clients in several popular programming languages, so you can write your tests in the language of your choice.
Finally, Appium is open source and has a strong community around it, so you can count on Appium to stay up to date with changes in the mobile development world.
JAXenter: You also talked about best practices concerning automation in general. Can you give us an example?
Chris Lample: To keep writing and maintaining tests efficient, it’s important to use a clear design pattern and write clean code. In my talk, I walked through the Page Object Design Pattern and showed how this can make your tests easier to work with. I also showed how, if you have similar applications on iOS and Android, this design pattern can allow you to write cross-platform test cases.
JAXenter: What do you think of when I say “Automation gone wrong”? What was your worst experience with a project?
Chris Lample: So far all of the projects I’ve worked on have been enjoyable. I’m happy that I’ve had the opportunity to work with some knowledgeable and skilled people.
Thank you very much!
Chris Lample delivered one talk at W-JAX in which he showed how automated testing of mobile applications can shorten your delivery cycle, improve your application’s reliability, and save you time.