Mobile computing’s future is undeniable. Mobile app testing has huge potential and we had penned our thoughts on this couple of months ago. Today, studies show that 52% of the time one spends on digital media is on mobile devices and this number only continues to grow. With this ever growing visibility, the industry is also embracing newer tools and technologies continuing to further see how mobile test automation, mobile application performance and in general mobile app testing can overall become more optimized and efficient.
In line with this, we had one presentation in our recent test conference, Qualloquium 2017 on “Mitigating Challenges in Mobile Test Automation”, where a few core challenges were discussed and solutions proposed. One of the first things the speakers spoke about was running test scripts on several devices connected to the automation execution machine and how when left unattended at night, even the smallest of the connection issues can necessitate a re-run next morning. Managing the USB cables as well to connect “n” number of devices is a pain to deal with every day. Herein to go wireless they suggested the use of the adb command prompt on port 5556 and they demonstrated how easy it is to implement this in connecting several devices wirelessly. The connection not only helps bring in stability but also more importantly helps get a few other invaluable details such as crash logs in case of issues.
They then spoke about existence of elements not visible in the DOM of native mobile app, for which they demonstrated the use of Galen or better still Appium and Sikuli, where Sikuli fetches the coordinates of the elements that is not present on DOM but is visible on the UI. Appium then uses these coordinates in accessing the elements. These tools in conjunction also enable mobile game testing, layout testing for native apps and enhance the overall mobile app test coverage. And finally they spoke about automating the process of building native ios app through use of Xcode. While the above is in no way an exhaustive set, the speakers had a sneak peek into some compelling problems in the space of mobile test automation today and simple solutions to address them effectively. For more questions and demonstrations on how these work, feel free to reach out to us.