One framework to rule them all - a holistic approach to Web and Mobile testing

Targeting both mobile devices and desktop browsers has become a necessity for successful tech applications. Whether an existing web application triggers the development of native apps or a desktop version is introduced to supplement the smartphone experience, supporting both worlds is a reality for a majority of businesses.
To maximise user experience, an application should behave as identical as possible across all platforms. However, more often than not versions for different platforms are built by different teams with different designers, possibly across multiple sites (even countries, continents, timezones) each with their own tech-stack and development process. In such a set-up, using different tools for automated testing could come naturally and add to the challenges of building a single product.
We argue that a common approach to test automation is critical. Not only will it save time and development costs, it can also increase communication and improve collaboration between teams and be a great facilitator for setting the focus on the product as a whole rather than separate deliverables for each platform. In this sense, it can serve as an umbrella across all involved teams.
We will demonstrate a simple JAVA-based solution using Selenium, Appium and Cucumber to combine testing for different platforms (namely Android, iOS and Web) within the same framework. We will talk about best practices in designing an extendable and easy-to-use test framework and how we can facilitate cloud-based services to integrate our tests into a CI pipeline.

 
 

Outline/Structure of the Demonstration

  • Introduction
  • Selenium and Appium
  • BDD and Cucumber
  • Building our test framework
  • Browser Stack integration

Learning Outcome

Participants will understand how Selenium and Appium can be used together in a single test framework. They will also learn how such an approach can benefit the development process and overall quality of a software product.

Target Audience

Everyone interested in automated testing across multiple platforms

schedule Submitted 3 years ago

Public Feedback


    • Srinivasan Sekar
      keyboard_arrow_down

      Srinivasan Sekar / Sai Krishna - Advanced Appium

      480 Mins
      Workshop
      Intermediate

      At this workshop, you'll learn about advanced concepts in Appium. We will learn how to write a single script for Android, iOS and mobile web apps. Once our tests are established, we will work on framework design and report. We will also have a detailed look at how can we automate various mobile gestures using TouchActions and mobile endpoints in Appium and running distributed tests in parallel on various emulators and simulators.

    • Rajdeep varma
      keyboard_arrow_down

      Rajdeep varma - Android Application Backdoor via Appium

      Rajdeep varma
      Rajdeep varma
      Automation Lead
      Bumble
      schedule 3 years ago
      Sold Out!
      45 Mins
      Demonstration
      Advanced

      Application Backdoor via Appium

      There's a shift towards open-source mobile test automation tools happening today among developers and QAs. Whether it be Appium, Calabash or anything else: all are good, with some major limitations.

      While a chosen tool may work well when you first start using it, things can quickly get out of hand with changing business requirements. We started using Calabash at Badoo when there was no Appium. Given the capability of Appium to drive the whole device, we started automation of new apps with Appium. However, we realized a powerful feature was missing in Appium for Android! : The ability to call Application code from automation code like Calabash Backdoors.

      As Appium UiAutomator server is based on instrumentation, we modified it such that we could instrument our app under test. This gave us the power to access context of Application under test and invoke public methods of Activity using reflection APIs. We use these methods to setup app state, seed DB OR even enable/disable some client-side A/B tests. This makes our application more testable and our tests more predictable.

      This talk is going to be about how I achieved the above solution and benefits of backdoors.

      There will be a small demo and code!

    • Gil Tayar
      keyboard_arrow_down

      Gil Tayar - Not Only Cars: “AI, Please Test My App”

      Gil Tayar
      Gil Tayar
      Sr. Architect
      Applitools
      schedule 3 years ago
      Sold Out!
      45 Mins
      Talk
      Beginner

      Autonomous cars were a Scifi dream not 10 years ago. A computer driving a car? No way. But it did happen, and is happening. And if scientists do it for a complicated task such as driving, can they do it for automated regression testing? In this talk we explore what is being done in the field today, but also speculate about the future: we introduce the 6 levels of autonomous testing (that correspond to the 5 levels of autonomous driving), and try and figure out what kind of help current AI techniques can bring to automated testing.

    • Syam Sasi
      keyboard_arrow_down

      Syam Sasi / Jerry Zhao - How to build a device lab in your office in 48 hours!

      45 Mins
      Talk
      Intermediate

      Continuous testing is an integral part of continuous delivery pipeline. When it comes to mobile application, the testing become increasingly complex.

      As part of our internal quarter hackathon at Carousell, we developed an automation testing framework and device lab in 48 hours which has both parallel and distributed mode of running.

      We will share about how you can set up a similar device lab in your organization and the best practices to be followed.

    • Siddharth Kulkarni
      keyboard_arrow_down

      Siddharth Kulkarni - Dr Culture Shock - Or How I stopped worrying and embraced Org Culture

      45 Mins
      Talk
      Intermediate

      The org culture mantra is usually considered a silicon valley mumbo jumbo. Although many companies and teams rant about culture, very few in my opinion take it seriously. In this talk I would like to discuss the importance of Org culture and how it makes or breaks businesses and teams. I will lay out some key pointers that will help the influencers in the audience make decisions about their org or team culture. The talk will be in the context of culture in tech companies.

    help