Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Testing Progressive Web Apps (PWA) in 2018 — Part 3

DZone's Guide to

Testing Progressive Web Apps (PWA) in 2018 — Part 3

Perfecto presents two different methods of testing progressive web apps, or PWAs, in their recent webinar.

· Performance Zone ·
Free Resource

xMatters delivers integration-driven collaboration that relays data between systems, while engaging the right people to proactively resolve issues. Read the Monitoring in a Connected Enterprise whitepaper and learn about 3 tools for resolving incidents quickly.

In a recent webinar, Perfecto CTO Uzi Eilon and I took a look at some of the issues related to PWA testing; we offered a full testing strategy consisting of 6 pillars.

  1. Validate PWA Manifest

  2. Validate PWA Service Workers

  3. Validate PWA Specific Capabilities

  4. Properly Test Across Platforms (Responsive Web Design)

  5. Object Identification Strategy

  6. Google's PWA Checklist Compliance

In addition, we specifically highlighted the various testing options and differences as they relate to iOS and Android. PWAs 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

Image title

  • Unique mobile native commands that support the PWA app types (see below screenshots)

Image title

Image title

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.

Image title

Summary

Progressive web apps are about to revolutionize the digital landscape; many organizations are either shifting their current responsive web apps to PWA or considering making the change in the near future. As we learned in parts 1 and 2 of this series, while it’s clear that there are many advantages to PWAs, 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 such apps – check out our webinar.

Discovering, responding to, and resolving incidents is a complex endeavor. Read this narrative to learn how you can do it quickly and effectively by connecting AppDynamics, Moogsoft and xMatters to create a monitoring toolchain.

Topics:
performance ,tutorial ,pwa ,web apps

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}