What are the 8 rules for good APP testing?
When it comes to software testing, testers definitely think of checking files, functions, APIs, performance and determining whether the software is safe, and other things about specific parts of the software. When it comes to mobile testing, testers must consider the way users use mobile devices to test relevant functionality.
Next, we will focus on mobile testing. For products (application software) in mobile phone projects, the focus of testing is system testing. For system testing of mobile application software APP, we usually carry out it from the following perspectives: functional module testing, compatibility testing, installation and uninstallation testing, software update testing, performance testing, user experience testing, cross-event testing, user interface Testing etc.
As a software quality assurance manager, I am devoted to mobile apps and mobile webapps for iPhone, Android, and Windows Phone 7. Through my daily work and communication with other mobile testing experts, I deeply understand the challenges of mobile testing work. I summarized this article based on my work experience, hoping to help readers solve some problems encountered in practice. Regarding the key points of APP testing, I will sort it out and post it for everyone to see.
First look at the picture below:
This picture should be able to clearly show the process of APP testing. Then what needs to be explained is the section of executing the test. Since too many words in xmind will cause the image to shrink, I will explain what each stage corresponds to here.
APP testing process
1. UI testing
Check whether the UI elements match the pictures, icons, text, layout, etc. in the renderings. Generally speaking, there are no particularly serious problems with the UI, so just give them to the product as suggestions.
2. Functional testing
Checking the compliance of functions needs to cover aspects such as UI layer, interface, data, server and code logic. Functional defects are generally defined as serious defects that must be repaired.
3. Robustness test
Test the product’s handling mechanism when exceptions occur. When examining abnormal scenarios or extreme situations, you need to consider whether a crash or ANR will occur. You need to pay attention to some extreme and abnormal scenarios, as well as tests for interruptions and weak networks.
4. Adaptation
It is necessary to test the compatibility of the product under various hardware devices, resolutions, operating systems, screen sizes, mobile phone models, etc. There are too many customized systems in China, and the Android part is not easy to handle, so mainstream model testing standardized methods are generally used.
5. Stability test
Monkey is usually used for testing here. At first I dismissed the monkey, but under the guidance of my seniors, I realized its power. It is also currently in the learning stage. The main method is to perform a large number of clicks, slides and other operations through a pseudo-random event stream, which is mainly used to detect hidden crash and anr defects in the product.
6. Performance Test
Client performance monitoring mainly focuses on data such as CPU, GPU, traffic, power consumption and response time of the client device during operation. Through data analysis, products are optimized to meet client needs, thereby improving product competitiveness. Through further digging, you can analyze the performance bottlenecks on the client and even find out the code that affects client performance.
The data to be monitored when paying attention to server performance includes I/O, throughput, concurrency, pressure, load, etc. Analyze the test results, find performance bottlenecks, and complete performance optimization. Server stability, goal achievement and task completion are the main inspection targets.
7. Regression testing
Regression testing is mainly to test the defects that have been fixed by development. Assess the scope of impact of changes and conduct targeted testing. In fact, it is necessary to return the functions and data of the old version.
8. Online testing
After the release is launched, the final round of system testing must be conducted in the production environment. I usually do everything I've done before at once.
The difference between ios and Android in App testing
1. On Android, long press the home button to call out the application list and switch applications, and then swipe right to terminate the application;
2. Multi-resolution test, there are more than 20 types on Android and less on ios;
3. Mobile phone Operating systems, Android is more common, ios is less and cannot be downgraded, and can only be upgraded in one direction; the resource library in the new ios system is not fully compatible with applications in the lower version ios system, and applications in the lower version ios system call The new resource library will directly cause a crash;
4. Operating habits: Android, whether the Back key has been rewritten, and test whether the feedback after clicking the Back key is correct; after moving the application data from the memory to the SD card Whether it can run normally, etc.;
5. Push test: Android: Click the home button, when the program is running in the background, a push is received at this time, click to wake up the application, whether it can jump correctly at this time; ios, click the home button to close Program and screen lock status (display of red dots);
6. Installation and uninstallation test: Android has many platforms, tools and channels for downloading and installation. iOS mainly includes appstore, iTunes and testflight downloads;
7. Upgrade test: Necessary conditions for being upgraded: the old and new versions have the same signature; the old and new versions have the same package name; there is an identifier to distinguish the old and new versions (such as version number). For Android, if there are built-in applications, check for upgrades. Whether the built-in files match later (such as the built-in input method)
In addition: There are a few points that need to be noted for testing:
1. Concurrent (interruption) test: alarm pop-up box prompt, startup of another application, video Audio playback, incoming calls, user typing, etc., when playing voice, recording, etc., force other playing to pause;
2. Data source testing: input, selection, copy, voice input, install different input methods etc.;
3. Push (push) test: when the push is executed in the power on and off state and in standby state, the message dies first and the correctness of the push jump; the application is in development, unopened state, the application is started and runs in the background The situation is whether the push display and jump are correct; whether the number changes before and after reading the push message are correct; whether the display and jump of the collection of multiple push messages are correct;
4. Share jump: whether the copy after sharing is correct; Check whether the jump after sharing is correct and whether the source of the displayed message is correct;
5. Touch screen test: touch different locations at the same time or perform different operations at the same time to check the processing situation of the client and whether it will crash, etc.
The above is the detailed content of What are the 8 rules for good APP testing?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



How to get real-name authentication on Jingdong Mall APP? Jingdong Mall is an online shopping platform that many friends often use. Before shopping, it is best for everyone to conduct real-name authentication so that they can enjoy complete services and get a better shopping experience. The following is the real-name authentication method for JD.com, I hope it will be helpful to netizens. 1. Install and open JD.com, and then log in to your personal account; 2. Then click [My] at the bottom of the page to enter the personal center page; 3. Then click the small [Settings] icon in the upper right corner to go to the setting function interface; 4. Select [Account and Security] to go to the account settings page; 5. Finally, click the [Real-name Authentication] option to fill in the real-name information; 6. The installation system requires you to fill in your real personal information and complete the real-name authentication

Let's take the Dashen apk as an example. Through the previous analysis of the app decryption Lua script, we can decrypt the Lua script of the Dashen apk. Now let's decrypt its resources (configuration files and pictures, etc.). Let’s take a more important configuration file as an example. Before decryption: the file header also has a signature value: fuckyou!. Seeing this, we first thought about whether it was also encrypted with xxtea. We used the above method to decrypt it with xxtea first, and then decompressed it. We found that it was still garbled, and an error occurred during the operation. Obviously, we have to deny what we just said. conjecture. We continue to decrypt the configuration file step by step. Think about it for a moment, the file header is: fuckyou! If you want to decrypt files, you will inevitably need to process

Microsoft launched SmartAppControl, a Windows 11 security feature, earlier this year. At the time, Microsoft described it as a protection tool that "blocks untrusted or potentially dangerous applications." What was unique about the tool at the time was that it determined whether it should run on a Windows 11 device. SmartAppControl initially runs in evaluation mode; it is in this mode that the application decides whether it should be opened. Microsoft did reveal that users can enable Smart App Control in the App and Browser Controls section of the Windows Security app. According only to Microsoft, SmartAppC

Apple's products and services have always been loved by users around the world. Registering a Hong Kong Apple ID will bring more convenience and privileges to users. Let’s take a look at the steps to register a Hong Kong Apple ID and what you need to pay attention to. How to register a Hong Kong Apple ID When using Apple devices, many applications and functions require using Apple ID to log in. If you want to download applications from Hong Kong or enjoy the preferential content of the Hong Kong AppStore, it is very necessary to register a Hong Kong Apple ID. This article will detail the steps on how to register a Hong Kong Apple ID and what you need to pay attention to. Steps: Select language and region: Find the "Settings" option on your Apple device and enter

The AppStore is a marketplace for iOS-related applications. Here you can also find free apps and paid apps. Apps can be gaming apps, productivity apps, utility apps, social media apps, and many more categories of apps. You may have downloaded or purchased many apps for iPhone from the AppStore. Now you may be wondering how to view the purchase history of apps purchased in the App Store. Sometimes, you may want to hide certain purchases from your purchase history for privacy reasons. In this article, we will guide you to find your purchase history and how to delete/hide purchases from your purchase history if necessary. Part 1

The China Unicom app can easily meet everyone's needs. It has various functions to solve your needs. If you want to handle various services, you can easily do it here. If you don't need it, you can unsubscribe in time here. It is effective. To avoid subsequent losses, many people sometimes feel that the data is not enough when using mobile phones, so they buy additional data packages. However, they don’t want it next month and want to unsubscribe immediately. Here, the editor explains We provide a method to unsubscribe, so that friends who need it can come and use it! In the China Unicom app, find the "My" option in the lower right corner and click on it. In the My interface, slide the My Services column and click the "I have ordered" option

As a shopping voucher, invoices are crucial to our daily lives and work. So when we usually use Duodian app for shopping, how can we easily issue invoices in Duodian app? Below, the editor of this website will bring you a detailed step-by-step guide for opening invoices on multi-point apps. Users who want to know more must not miss it. Come and follow the text to learn more! In the [Invoice Center], click [Multi-Point Supermarket/Free Shopping], select the order that needs to be invoiced on the completed order page, click Next to fill in the [Invoice Information], [Recipient Information], and click Submit after confirming that they are correct. After a few minutes, enter the receiving mailbox, open the email, click on the electronic invoice download address, and finally download and print the electronic invoice.

Recently, the author discovered a deep link vulnerability in the Facebook Android APP. Using this vulnerability, the Facebook Android APP installed on the user's mobile phone can be converted into a backdoor program (Backdoor) to achieve backdooring. In addition, this vulnerability can also be used to repackage the Facebook APP and send it to specific target victims for installation and use. Let’s take a look at the author’s discovery process of this vulnerability, and how to construct it through Payload and finally transform it into a security risk in the actual production environment of Facebook APP. When I usually do public testing when discovering vulnerabilities, I will first carefully understand the application mechanism of the target system. In my last blog, I have shared how to parse Face
