Tomer will be presenting the following session
  • Tomer Cohen

    Tomer Cohen - Low-level android automation with adb

    45 Mins

    When we speak about Android automation, the first thing that comes to mind is Appium, however, what if Appium doesn't serve all your Android automation needs, at least not in the most efficient way?

    When I was asked to create a test automation framework for our android service (no GUI), I needed to choose the right tool for the mission. After several weeks of researching many options (both commercial and open source). I realized that ADB is my best call because of the following reasons:
    • ADB provides a faster to run solution for controlling an android device
    • ADB is in a lower level of Android OS therefore it's more flexible
    • ADB is going through less code components (like appium client, appium server etc..) and as a result is more reliable

    In this tutorial I will share my journey towards deciding to use Android Debug Bridge when it comes to non-gui android application and how I have implemented my choice.
    After this tutorial, you will have a better understanding of what is ADB, how it works, and how you can start and apply automation for the Low-Level layer of Android OS with ADB and Python.

1. What got you started/interested in Testing?

The fact that I help my colleagues achieve better quality to their product. I like the appreciacion from their side when they see how valuable the testing process is.

2. What has been your best moment/highlight working with Appium?

Finding out it exists was my best highlight. Up until then I was using pure interaction with adb and uiautomator for applying automation to the application GUI. Appium is much easier and fun!

3. What do you think is the biggest challenge faced by Mobile Testers today?

Probably the variaty of vendors, models and software version. I really think that one complete API would have make our lives much easier.

4. What is your advice to testers, who are new to automation?

Learn to code, and learn to do it properly. Automation is just another section in the software engineering industry and designing and writing automation should not be different than any other software field.

5. Tell us about the session/s you will be presenting at the conference and why did you choose those topics?

I chose to speak about low level automation with adb, because I feel that It is very important topic that is not spoken enough and I think many people will benfit from hearing about this different attitude for automation.

6. What are some of the key takeaways from your session/s?

There are two main takeaways from my talk:

  1. We should plan and make sure we use the automation tool that fits our tasks - Don't kill a mosquito with a cannon.
  2. Sometimes it is great to use adb for certain tasks and in my session, we are going to explore it a little bit further.
7. Which are your favourite sessions at Appium Conf? (Sessions that you are looking forward to attend)

Testing our test automation framework by Anton anglov. Actually I learned a lot from his blog and I really appreciate his work. And moreover, I used to speak about this topic quite a lot, so I'm interested to hear new attitudes.

8. Any personal message/remarks you want to share with the Testing community in India?

Never stop setting goals and getting yourselves out of the comfort zone.