Testing Progressive Web Apps | PWA Framework | Perfecto

Your Guide to Testing Progressive Web Apps

/, export, Progressive Web Applications/Your Guide to Testing Progressive Web Apps

Test Automation Strategy for Testing Progressive Web Apps on Real Devices

 

“Always be testing on real world hardware”

~ Owen Campbell-Moore, @owencm — From the article: Designing Great UIs for Progressive Web Apps

In our recent webinar, we took a look at some of the issues related to testing progressive web apps. We offered a full testing strategy consisting of 6 pillars.

Validate PWA Manifest
Validate PWA Service Workers
Validate PWA Specific Capabilities
Properly Test Across Platforms (Responsive Web Design)
Object Identification Strategy
Google's PWA Checklist Compliance

In addition, we specifically highlighted the various options and differences for testing web apps as they relate to iOS and Android. The PWA framework for iOS and Android are implemented and “installed” differently on each platform, making their test automation activities different.

For Android, an APK file is installed on the device; on iOS, a light version of the Safari web browser-based app is installed. Due to unique app characteristics on each platform, a standard Appium approach — as well as other common test frameworks — fails to identify their app objects, to launch them, and to handle other typical mobile scenarios.

In the webinar, Perfecto offered 2 methods for testing these apps on the mobile OS:

  • Visual-based testing across iOS and Android
  • Unique mobile native commands that support the PWA framework (see below screenshots)

A survey that was conducted during the webinar; it seems clear that curiosity in the market is ramping up and people are starting to explore the emerging PWA technology. Given that PWAs are on the rise, having the know-how and tools to develop, debug and test these apps is obviously a key to success.

Summary

Progressive web apps are about to revolutionize the digital landscape. Many organizations are either shifting their current responsive web apps to a PWA framework or considering making the change in the near future. While it’s clear that there are many advantages to using a PWA framework, the technology is still maturing; it is important to familiarize yourself with their capabilities, their inherent cross-platform differences, and with the supported technologies that can help your organization make the shift to PWA.

To learn more about progressive web apps and how to build a complete PWA test strategy — and to see demos of testing web apps – check out our webinar below.

Want More On Progressive Web Apps?

About the Author:

Eran Kinsbruner is the Chief Evangelist at Perfecto and Author of the Digital Quality Handbook and Continuous Testing for DevOps Professionals books. He is formerly the CTO for mobile testing and Texas Instruments project manager at Matrix, Eran has been in testing since 1999 with experience that includes managing teams at ADT, Sun Microsystems, General Electric, and NeuStar. You can find Eran on Facebook, Twitter @ek121268, LinkedIn, and on his professional continuous testing blog at http://continuoustesting.blog/.

Leave A Comment