From Point & Click to Pinch & Zoom
In today’s fast paced world, if your mobile website or native app isn’t working as well as it should, you’re probably losing business. It’s important for your mobile website to function as well as your desktop website while offering similar capabilities.
However, when moving from traditional to mobile tests, it’s not always as straightforward as simply changing selectors to find new elements IDs.. There are a number of questions you need to ask yourself. How do you find new element IDs? Are you embedding another app (like a Google Map)? Does your mobile website use geo location? Android or iOS? How do you test for all of this? These questions, along with many others, lead to some very specific considerations when considering mobile testing strategy.
All of these differences require a different approach to selectors. During this session, I will explore the answers to a few key questions:
– How to determine if your selectors are the same between desktop and mobile web.
– Finding selectors in native and hybrid apps using Appium.
– Understanding when the switch needs to be made between native and web contexts.
– Determining an execution engine once your selector strategy is set, and deciding between emulators, simulators or real devices.
Outline/Structure of the Demonstration
During this session, I will take the following approach:
- Discuss changes to the market that necessitate the need for a move to mobile testing
- Build a basic Selenium test utilizing a popular website
- Adapt that test for mobile web, through both slides and live demonstration
- Introduce Appium at an overview level for those who are not familiar
- Take that same test flow and build a native app test utilizing Appium Desktop. This will be part slides, part demonstration
- Conclude by stating how simple it is to move from desktop to mobile web to native app for simple tests
At the conclusion of this session, participants should be comfortable creating simple mobile web tests using Selenium and simple native app tests using Appium Desktop to find selectors for Appium tests. While not a workshop, my planned demonstrations will be basic enough for attendees to follow along if they so choose, or they will be able to replicate at their own convenience.
Developers who are interested in learning how to adapt desktop tests to mobile web or native app
Participants should be able to write and understand a general Selenium test. It's also useful if attendees have Appium Desktop installed and a local Android emulator if they would like to follow along.