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.

1 favorite thumb_down thumb_up 2 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist

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

Learning Outcome

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.

Target Audience

Developers who are interested in learning how to adapt desktop tests to mobile web or native app

Prerequisites for Attendees

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.

schedule Submitted 1 year ago

Public Feedback

comment Suggest improvements to the Speaker
  • Anand Bagmar
    By Anand Bagmar  ~  1 year ago
    reply Reply

    Hi Dan,

    Quick question - how much time will be spent in slides Vs demo?

    • Dan Rabinovitz
      By Dan Rabinovitz  ~  1 year ago
      reply Reply

      Hi Anand,


      Roughly 2/3 slides, 1/3 demo, though as I rework the talk and build a demo to accompany the slides it could be as high as 50/50.  I’ve delivered the talk before without a demo (given time constraints for the session), so I know roughly how long the talk will take.  I will build out a compelling demo to augment the slides, not replace them.