WeChat mini-program test points that software testers must know

WeChat applet:

Apps that can be used without downloading and installing,

Realized the dream of "app at your fingertips", users can scan or search to open the app.

It embodies the concept of "go away after use", and users do not need to care about whether to install too many applications.

Apps will be ubiquitous and available at any time, but there is no need to install or uninstall.

insert image description here

On January 9, 2017, the WeChat applet released by Zhang Xiaolong on the 2017 WeChat Open Class Pro was officially launched.

Today, more than four years have passed:

DAU is 400 million+, GMV is 3 trillion+, the number of small programs is 400w+, and employment is 500w+.

The scope of application covers eating, drinking, playing, music, office, leisure, application and many other aspects.

So how to test the applet?

First of all, Mini Programs rely on WeChat, and all tests on Mini Programs are based on WeChat, so you need a mobile phone and a WeChat ID.

In addition, the applet has the following versions:

Development Version
Using the developer tools, code can be uploaded to the development version. The development version only retains the latest uploaded code of each person.

Click Submit for Review to submit the code for review. The development version can be deleted without affecting the code of the online version and the version under review.

Trial version
You can choose a development version as a trial version, and choose a trial version. Test using more versions.

Review version
Only one copy of the code is under review. After the audit results are available, they can be published online, or they can be directly resubmitted for audit to overwrite the original audit version.

Online version
The code version used by all online users. The code of this version will be overwritten and updated after the new version code is released.

The test work is generally carried out on the "experimental version", and the test points are mainly carried out from the following items:

1. The right to experience

For the non-online version of the Mini Program, users cannot directly use the related functions of the Mini Program.

Before entering the Mini Program, you need to obtain the corresponding authorization. For this operation, you need the Mini Program management account to enter the management background and authorize WeChat users one by one.

After the authorization is added, the functions on the applet can be accessed normally

Mini Program member management includes the management of Mini Program project members and experience members.

Project members - development, operation, etc.:

Indicates that members involved in the development and operation of the Mini Program can log in to the Mini Program management background, including operators, developers and data analysts.

Administrators can add and delete project members and set the roles of project members in "Member Management".

Experience members - development, testing, etc.:

Indicates that members participating in the mini program internal test experience can use the trial version of the mini program, but are not project members. Administrators and project members can add and delete experience members.

2. Function test

There is not much difference from APP, WEB, and H5 tests. Since it is a C-end product, it focuses on interactive experience, design implementation, etc.

3. Interaction test

The small program itself relies on WeChat, and some scenarios that interact with WeChat functions need attention.

Enter, exit, add, search, manage applets; adjust between applets, jump between official accounts, etc.

Share, forward, pay, invoice, coupon package and other functions.

4. Usability test

Whether the prompt is friendly;
whether the typesetting is beautiful and consistent;
whether the layout is reasonable;
whether the hierarchy is clear;
whether the path entrance is easy to find, etc.

5. Compatibility test

Different mobile phone systems [Android and IOS] can be tested according to the market occupancy rate of mobile phones
Different WeChat versions
Different resolutions
Curved screens and flat screens
Different networks [Wireless/4G/5G, etc.]

In addition, the mini program supports the PC side, so the compatibility of the WeChat side on Windows and OS systems must also be considered.

insert image description here

6. User authorization

Authorized, unauthorized, authorization canceled after authorization, etc.
The same WeChat ID is logged in on different mobile phones .
The same mobile phone is logged in with different WeChat
IDs.
insert image description here

Here is an extension of the relationship between appid, openid, and unionid,

It is convenient for the test design of scenarios related to login and authorization of applets.

appid: the unique identification id of each application

openid: the unique identification id of each user under each application

unionid: Under the same subject, the identification id to determine the unique identity between different applications

Three relationship: appid:openid:unionid=N:N:1

7. Cache

Each applet has 10M cache space, which can cache some data and configuration information to reduce server requests and improve user experience.

Pay attention to the impact of the cache during the test: to clear the cache of the applet, you can clear it in the development mode or directly delete the applet and scan the code again to enter.

8. Abnormal test

Disconnected network, weak network, interruption test, server downtime, etc.

9. Performance test

White screen time, first screen time, resource usage, page rendering time, frame rate, etc.

10. Security testing

Mainly for data tampering, encrypted transmission of sensitive information, malicious pull, etc.

 Finally, I would like to thank everyone who has read my article carefully. Reciprocity is always necessary. Although it is not a very valuable thing, you can take it away if you need it:

insert image description here

Software testing interview applet

The software test question bank maxed out by millions of people! ! ! Who is who knows! ! ! The most comprehensive quiz mini program on the whole network, you can use your mobile phone to do the quizzes, on the subway or on the bus, roll it up!

The following interview question sections are covered:

1. Basic theory of software testing, 2. web, app, interface function testing, 3. network, 4. database, 5. linux

6. web, app, interface automation, 7. performance testing, 8. programming basics, 9. hr interview questions, 10. open test questions, 11. security testing, 12. computer basics

These materials should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can help you too! 

Guess you like

Origin blog.csdn.net/lzz718719/article/details/132693090