What is a Progressive Web Application

Progressive Web Applications are web apps that work in a web browser, use modern technologies and deliver an app-like experience for users. Moreover, since PWAs work within a browser, users can access PWAs using the most popular browsers: Chrome, Safari, Firefox, and Edge. PWAs can be installed on m

25th Apr 2019
  • +0
Share on
close
  • +0
Share on
close
Share on
close


More about PWAs:



What are the requirements for PWAs:

  1. Progressive - work for all users on different types of OS and browser versions;
  2. Responsive - responsive on the desktop, mobile, and tablets;
  3. Offline - work offline or with a poor internet connection;
  4. Safe - served over HTTPS;
  5. Push notifications - receive push notifications; and
  6. Fast - take no longer than 3 seconds to load.

The best examples of PWAs are:

1) Twitter Lite

2) Forbes 

3) Lancôme’s

4) Nikkei

5) AliExpress 

What are the differences between PWAs and native apps:

Compare PWAs with Native Apps


What to choose: PWA or Native app?


It depends on the project and business needs. Here is why you would need to choose building a PWA:


  1. If you want your app works on desktop. PWAs work in the Chrome browser within Windows, Mac, and Linux.
  2. If you don’t need your app to support location - based push notifications. PWAs do not support receiving location-based push notifications, but standard push notifications work the same as on native apps.
  3. If you don’t want to publish your app to the Google and Apple stores and pay extra money for publishing. PWAs do not need to publish to the app store.
  4. If you want your app to be available for Android and iOS users, and you don’t want to build native Android and iOS apps. PWAs are available on iOS and Android platforms within Safari and Chrome.
  5. If you want to save money and time. You need to have only one development team for building a PWA instead of having two separate teams for creating native Android and iOS apps.

PWAs testing strategy. What should be tested?

PWA installation


1) Test PWA installation on desktop devices using Chrome 70+ browser.

In order to install PWA on a desktop, you need to:


  • Open the PWA URL in Chrome 70+ (for example, https://mobile.twitter.com/home).
  • Click on “More” menu in the top right corner.
  • Click on “Install PWA...”.
  • The app icon should be added and you should be able to open the web app.
  • Here is an example of Progressive Web App for desktop:



2) Test PWA installation on mobile devices using different types of browsers. Test device: iPhone 6, iOS



The app icon should be added to the home screen and you should be able to open the web app.

Here is an example of Progressive Web App for mobile:


Cross-browser testing

PWAs for desktop supported only in Chrome 70+. As for mobile and tablets, PWAs supported in Chrome 40+, Safari 11.3+, Firefox 66+. Use the newest and older browser builds for testing Progressive Web Apps. Generally, you need to verify that the main functionality and design are the same on specified browsers and that there are no specific browser issues.

OS versions

Test PWAs on all desktop and mobile platforms and ensure that there is no difference in the functional experience of the PWA on different OS version and platforms, such as:

  • Linux;
  • Mac;
  • Windows;
  • iOS;
  • Android;
  • Chrome OS.

Offline mode

Test how the PWA works offline or if the internet connection is poor. The web app should use and display the cached data. All taken data in offline should be synced properly after the connection is remade. PWAs should work offline the same as a native mobile app.

Push notifications

Test different types of push notifications: regular and scheduled (ensure that receiving push notifications are enabled in the app). Make sure that the regular and scheduled push notifications (except location-based) are received on the PWA. Verify that text and attached media files are displayed properly. Ensure that the notification pop up appears when a push notification has been received.

Responsive

Test the PWA on different screen sizes and devices: mobile (Android/iOS), tablets, and laptops. The PWA app should be responsive to small, medium, and large screens. There should not be any UI issues related to the screen size.

Safe

Verify that the site has been served over HTTPS and make sure that SSL certificate is not expired. Use an SSL certificate checker or analyzer, such as comodoca: https://sslanalyzer.comodoca.com

Main functionality

Verify that the main functionality works as expected and matches acceptance criteria.

Therefore, PWAs have specific cases to verify compared to native apps, and testers should take into consideration the differences when performing verification.

Conclusion

To sum up, the popularity of PWAs is increasing very fast. A lot of successful and popular companies, such as Forbes, Pinterest, and Twitter, are focused on developing PWAs. PWAs give users an app-like experience with a lot of benefits. Users do not need to search for an app in the app store, tap on install and wait for the download, then open the app;, they only need to open the PWA URL and add it to their home screen. In addition, all pages in PWA have a direct link which can be shared and users will have direct access to it. Moreover, customers do not need to go to the app store to update the app - PWA is always up-to-date. Thus, having a PWA gives the business an opportunity to reduce costs on developing an app and develops a web application that is supported on the most popular devices and OS versions.



  • Facebook Icon
  • Twitter Icon
  • LinkedIn Icon
  • WhatsApp Icon
  • Facebook Icon
  • Twitter Icon
  • LinkedIn Icon
  • WhatsApp Icon
  • Share on
    close
    This is a YourStory community post, written by one of our readers.The images and content in this post belong to their respective owners. If you feel that any content posted here is a violation of your copyright, please write to us at mystory@yourstory.com and we will take it down. There has been no commercial exchange by YourStory for the publication of this article.
    Report an issue
    Authors
    DeviQA

    DeviQA is Independent Software Testing Company with 10+ Years of Experience in Manual & Automated Testing. Our offerings include Automated testing for Web / Mobile and API, Full-cycle testing, QA process design and setup, Performance / Load and Stress testing, Responsibility for quality of your project, API testing, QA consultancy & Audit, etc.



    Related Tags