Table of contents
A collection of operations for popup windows
Foreword:
Popups are an important testing point when testing mobile apps, as they are the elements that the user interacts with directly.
Mobile App pop-up windows are currently a popular form of content display. According to the nature of the content, it can be divided into news, notifications, advertisements, marketing, etc. The display forms are also quite changeable. It is very easy to be in a hurry when you just get started with the test. In order to help newcomers get started quickly , the author here lists the common test points of the pop-up window one by one. If there are any omissions, please feel free to advise.
Types of popups
From the perspective of the system, the types of pop-up windows can be roughly divided into the following three categories:
1. App native pop-up window
2. H5 pop-up window
3. System bullet box
A collection of operations for popup windows
The operation actions of the pop-up window will be as follows. Common test methods include single action and combination actions, which need to be flexibly allocated according to your own time. The specific combination methods will not be described here.
1. close
2. Move left and right, up and down
3. Click Click, double click, click to jump and return
4. Press
5. Stretch, zoom in, zoom out
Some conventional testing methods (gestures) are listed above, but it does not rule out that there will be other types of actions. When designing a test plan, you must combine business requirements and user scenarios to cover as many test scenarios as possible.
Popup loading and display
In order to find the problem node more accurately, it is necessary to set the time point for loading and displaying the pop-up window:
1. Triggered when entering the page
Test point a: In the case of simulating a weak network, clicking on other elements on the page will affect the loading of the pop-up window.
Test point b: In the case of a simulated weak network, click to jump to other pages, whether the pop-up window will still pop up.
Test point c: The pop-up window has not been loaded and pops up. At this time, click to jump to other pages and return. Whether the pop-up window will still pop up.
Test point d: The pop-up window has not been loaded and popped up, and other elements on the block page cannot be clicked and displayed, that is, the pop-up window should be loaded asynchronously.
2. Triggered when leaving the page
3. User activity trigger (swipe event, click event)
elements of the popup
Here are some basic elements of popups and what test points they have:
1、title
Test points: display, color, click
2. button
Test points: whether the button is displayed, button size, button copy, button color, button function (button click, button double click, button long press)
3. Pictures
Test points: file size, color difference, full screen or not
4. Animation
Test points: file size, playback compatibility test, business effect test (whether it can be played completely, whether it jumps to the active page after playing), whether it is full screen
5. Video
Test points: file size, playback compatibility test, business effect test (whether it can be played completely, whether it jumps to the active page after playing), whether it is full screen, whether it can pause and resume playback, zoom and fast forward and other common video functions
6. Background
Test points: background color, background text, border stripes
properties of the popup
Many times we often need to pay attention to the properties of pop-up windows. Although this activity may belong to UED, it is possible to pay attention to these properties in the process of finding problems, so these common properties are also listed:
1. Height
2. Width
3. Color
4. Location
5. Automatic shutdown (yes, no)
6. Automatic jump (yes, no)
7. Automatic hijacking
8. Automatic full screen
9. Autoplay
Compatibility of popups
The cost of compatibility testing is relatively high, so I won’t discuss it here, and I will find an opportunity to write a separate article in the future. The common test dimensions are briefly listed below:
1. Mobile phone manufacturers
2. Mobile phone resolution
3、IOS and Android
4. Operating system version
Risk of pop-ups
Finally, pay attention to the risk of pop-up windows:
1. Company compliance requirements
2. National legal policy
3. Appstore and Android market specifications
4. Industry regulatory requirements
There are a lot of pop-up advertisements, some of which are wrong, or play around the edges of the law. These are relatively risky, and may lead to consequences such as the removal of the app, rectification, and even legal liability. The gain outweighs the gain.
As someone who has been here, I also hope that you will avoid some detours. Here I will share with you some necessities on the way forward for automated testing, hoping to help you. (WEB automated testing, app automated testing, interface automated testing, continuous integration, automated test development, big factory interview questions, resume templates, etc.), I believe it can make you better progress!
Just leave [Automated Test] [Automated Test Communication]: 574737577 (remark ccc) http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=mDKyfdjYNAeufGp8xdITLYX82oszfcAW&authKey=WrZ1YMYKla5sOgXugyqBWmcAJglmktIVxA fVRtY1Hwt1Y7JTcse%2BT6u5PiF1D9aw&noverify=0&group_code=574737577