MindMap Gallery Mobile app test summary mind map
Mobile phone test summary mind map, including classification, differences between APP and PC, Android and iOS, App classification, special tests on the App, etc.
Edited at 2023-11-03 10:53:19This is a mind map about bacteria, and its main contents include: overview, morphology, types, structure, reproduction, distribution, application, and expansion. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about plant asexual reproduction, and its main contents include: concept, spore reproduction, vegetative reproduction, tissue culture, and buds. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about the reproductive development of animals, and its main contents include: insects, frogs, birds, sexual reproduction, and asexual reproduction. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about bacteria, and its main contents include: overview, morphology, types, structure, reproduction, distribution, application, and expansion. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about plant asexual reproduction, and its main contents include: concept, spore reproduction, vegetative reproduction, tissue culture, and buds. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about the reproductive development of animals, and its main contents include: insects, frogs, birds, sexual reproduction, and asexual reproduction. The summary is comprehensive and meticulous, suitable as review materials.
Mobile phone test
Classification
hardware test
Whole machine test
Drop resistance test
High and low temperature testing
High humidity test
Hundred grid test
flip test
Torque test
Static electricity test
button test
Sand and dust test
software test
System test
Customized system, specifically Android
Huawei EMUI
Xiaomi MIUI
OPPO Color OS
VIVO Funtouch OS
Meizu Flyme
A hydrogenated OS
APP test
function test
interface
Function
Ease of use
globalization
Configuration
safety
...
Performance Testing
load
pressure
capacity
concurrent
reliability
...
The difference between APP and PC
Screen sizes are different (screen adaptation)
PC
The screen is relatively unified and cannot be switched, which has little impact on the application.
Mobile terminal
There are many screen sizes and they can be switched, which has a great impact on the application
System resource limitations (memory, power, CPU, signal, network)
PC
Basically not limited by system resources
Mobile terminal
Resources are limited and subject to many constraints
Different operation methods (touch, gravity sensing, etc.)
PC
Usually traditional keyboard and mouse operation
Mobile terminal
Touch and various sensors to operate
multi-touch
Applications vary in complexity and focus
PC
Can have very complex applications, pay attention to the integrity of the application
Mobile terminal
Usually very small applications, focusing on the mobile convenience of the application
Different operating systems
PC
Linux, Windows...
Mobile terminal
Android、iOS
App types
PC
Client and Web
Mobile terminal
native apps, web apps and hybrid apps
Interface layout
PC
Complex operation interface and process
Mobile terminal
Few operation interfaces and simple process
Function
PC
Support all functions
Mobile terminal
Emphasize main functions and commonly used functions by users
Device network connection method
PC
Wired and WIFI
Mobile terminal
Mainly 2G/3G/4G/WIFI, etc.
App device restrictions
PC
The storage space is relatively large, the bandwidth is wide, the connection is generally stable, and various security software are available.
Mobile terminal
Small storage space, unstable connection, small bandwidth, traffic fee restrictions, risks of mobile Internet, etc.
User habits
PC
Users generally use PC applications in fixed locations
Mobile terminal
Mobile users can use software applications anytime and anywhere, which is portable
Android vs. iOS
Android
Version and release time
Android 7.0
2016.8.22
Android 8.0
2017.8.22
Android 9.0
2018.5.9
Android 10.0
2019.9.3
Android 11.0
2020.9.9
system structure
application
Application (application layer)
application framework
Application Framework (application framework layer)
function library
Libraries
Linux kernel
Four major components
basic framework
ActivityActivity
ServiceService
Broadcastreceiver broadcast receiver
Content ProviderContent provider
Development language
Java
Kotlin
iOS
Version and release time
iOS 11
2017
iOS 12
2018
iPhone XS/iPhone XS Max
iOS 13
2019
iPhone 11
system structure
touchable layer
Cocoa Touch layer
media layer
Media layer
core service layer
Core Services layer
core operating system layer
Core OS layer
prison Break
Obtain root permissions for iOS devices
Advantages and Disadvantages
advantage
Get higher permissions
Modify and manage system files
Install some uncertified applications, such as some cracked versions
Change themes, icons, etc.
Easy to test! Such as openssh, display recorder, some command line tools
shortcoming
System is unstable
Easily poisoned
There is a certain probability of failure
Invalid after upgrade
Can't get Apple warranty
Development language
Swift
Objective-C
Operating mechanism
Android
Linux at the core
Applications generally use Java
Use virtual machines
iOS
Objective-C
apple
Sandbox
Beauty and safety
Android
more diverse
More auxiliary tools
More safety risks
Compatibility needs to be considered more
iOS
Version iteration
Android
Can be raised or lowered
iOS
Can only be upgraded (except jailbreaking)
App classification
Classification
native app
web app
Most are developed using h5 standards
hybrid app
Built-in browser in native app
For example, some marketing pages of JD.com
Advantages and Disadvantages Analysis
native app
advantage
Provide the best user experience, the highest quality user interface, and smooth interaction
Can access local resources
Can call mobile hardware devices, such as cameras, microphones, etc.
shortcoming
Development costs are high. Each mobile operating system requires a separate development project to provide different experiences for different platforms
Release of new versions is slow. Downloads are controlled by users. Many users are unwilling to download updates and need to continue to maintain the old version of the API.
App store release review cycle is long. The Android platform takes about 1~3 days, while the iOS platform takes longer.
web app
advantage
No installation package required, saving space on your phone
Overall lightweight, low development cost
There is no need for users to update manually. The application developers update directly in the background. What is pushed to users are all new versions, which is more convenient for business development.
Browser-based and cross-platform
shortcoming
Page jumps are laborious and the feeling of instability is greater. When the network speed is limited, lags or freezes often occur, and the interaction effect is limited.
Security is relatively low and data is easily leaked or hijacked
hybrid app
advantage
On the premise of realizing more functions, the app installation package will not be too large.
Open web pages within the application, eliminating the trouble of jumping to the browser
While the main functional areas are relatively stable, the added functional areas are in the form of web, making iteration more convenient.
Summarize
Hybrid apps are closer to native apps, but are quite different from web apps.
Just because it also uses web language coding, the development cost and difficulty are much smaller than native apps.
Therefore, hybrid apps have all the advantages of native apps, as well as the low-cost advantages of web apps using HTML5 cross-platform development.
Start mode
Cold start
Hot Start
Warm start
Special testing on the App side
Compatibility testing
Screen compatibility
screen size
Pixel density
dpi (dots per inch)
resolution
2560*1440
1920*1080
1280*720
960*640
800*400
opposite sex screen
Horizontal and vertical screens
language culture
Platform version
Android native version
iOS
ROMs from different manufacturers
network
WIFI
5G
4G
3G
2G
China Unicom, Telecom, China Mobile
Top X principles
Choose mainstream models for testing
Baidu device statistics
iResearch mobile device analysis
Tencent Mobile Analytics
Cloud test
testin cloud test
https://www.testin.cn/
BaiduMTC
http://mtc.baidu.com/
Ali MQC
mqc.aliyun.com
Public testing
wetestTencent public test
https://wetest.qq.com/
mtc baidu public test
http://mtc.baidu.com/
buglyTencent
https://bugly.qq.com/v2/
testbirdChengdu Zhongyun Tianxia
https://www.testbird.com/
Network test
Classification
No network
Weak network
Network switching (pay attention to hotspots, wifi, etc.)
focus point
Timeout processing
Restore network and request again
Restore network after multiple requests
Submit copy
Weak network simulation
iOS
Developer Options-->Network Link Conditioner
Select a profile for testing. Common ones include 3G/high latency/low rate, etc.
Android
qnet
Building a weak network environment is simple and fast
Support automated weak network testing
Network protocol packet capture
Real global network and weak network scenarios
Criteria for measuring network quality
bandwidth (throughput)
bps
Packet loss
Delay
Jitter
out of order
Internet terminology
up/downlink bandwidth
kbps---kilobits per second
The uplink rate is not equal to the downlink rate
The ratio of downlink to uplink bandwidth can reach 10:1
Uplink/downlink packet loss rate (%)
Up/downlink delay (ms)
1-30ms
Extremely fast, almost no noticeable delay
31-50ms
Good, no noticeable lag
52-100ms
Normal, you can feel the obvious delay in the network
greater than 100ms
Poor, there are lags, packet loss and disconnection.
Performance Testing
flow
Power
Memory
According to the background analysis
Front-end performance
web page
native app
Backend interface performance
according to dimensions
timeliness
responding speed
pinch watch
RBI Timing: Log
For web: packet capture tools such as HTTPWatch/fiddler, etc.
Screen recording: such as display recorder
Fluency FPS
stability
Stability in random testing
Resource occupation
Memory
flow
Power
Hardware (power consumption tester/Agilent)
GSam Battery Monitor Pro(Android)
tool
Solopi
Safety test
Installation package testing
Can it be decompiled?
Whether the installation package is signed (Android)
jarsigner
apksigner
md5 check
Are the permissions reasonable?
Sensitive information
Database information
For example, whether the password of the account is in clear text?
Log information
Configuration file
Data communication security
Component security
Server interface security
SQL injection
XSS cross-site scripting attack
CSRF cross-site request forgery
Unauthorized access
interference test
Classification
received a call
Short message
Notification messages from other applications
System prompt (battery is lower than...)
power outage
Abnormal restart
Premise
First evaluate the correlation between the function itself and interference before testing.
Processing method
Suspended software (or parts of software)
Pause immediately and resume automatically or manually after switching back
Cannot be paused
Permission test
other
storage
space
For applications that need to read, write and save files
Very little storage space
Clear storage space when it is full
SD card
Multiple SD cards
model
airplane mode
power saving mode
system time
third party dependencies
Positioning test
sensor
light
Automatically adjust backlight
distance
gravity
Horizontal and vertical screens
acceleration
Count steps
magnetic field
compass
Gyro
Somatosensory
shake
fingerprint
Hall
heart rate
GPS
blood oxygen
UV rays
Install
upgrade
uninstall
adb
Base
Android Debug Bridge
C/S architecture command line tool
effect
PC can operate mobile phone through adb
The main function
Run device shell (command line)
Manage port mappings for an emulator or device
Data transfer between computers and devices
Install local apk file to emulator or Android device
Nature
Client--Server
client
PC version
server
Mobile terminal
Environment setup
Universal
Download Android studio
Configure environment variables
install driver
emulator
night God
Download Night God Simulator
Configure environment variables
Add the bin directory under the installation directory to PATH
Enter adb version in cmd
Configure port
Yeshen default port: 62001
Command basics
basic format
adb [-e|-d|-s <device serial number>|...] <subcommand>
Global options
-e
Using TCP/IP devices
If there are multiple devices, an error will be reported (general simulator)
adb -e shell
Connect to the emulator and execute the shell
-d
Only runs on real devices
adb -d shell
If there are 2 -d connections, the real machine will be found and entered.
-s
<SERIAL-NUMBER>
Specify device
adb -s emulator -5554 shell
Enter the shell of the specified device
global command
devices [-l]
List connected devices, -l displays long format
Generally there are only 3 states
device means normal connection
offline
device not found
version
Check adb version number
help
View adb help
connect command
adb connect 127.0.0.1:62001
Connect to Night God Simulator
Android Studio's emulator does not require manual connection
Execute adb devices and it will automatically connect
Order
Installation and uninstallation
adb install package name.apk (absolute path to the installation package path, with drive letter)
adb uninstall package name
adb -k uninstall package name
If you want to retain the data after uninstalling, you need to add the -k parameter
Uninstall package name, you can use adb shell pm list packages to query
-s
Only output system packages
-3
Only export third-party packages
-e "xxx"
Set filter conditions and fuzzy query
Upload Download
adb push computer file path mobile phone storage path
adb pull mobile phone storage path computer file path
Screenshots
adb shell screencap /sdcard/screen1.png
adb shell screencap /sdcard/pictures/screenshots/screen1.png
adb shell linux
Android directory structure
adb shell then pwd, ls view
/system/app
system applications
/system/bin
System components (commands)
ps top ping netstat cp mv pwd touch mkdir rm cd ls
/data/app
User-installed apps
/data/data
Information about apps installed by users
/data/system
Various system information of mobile phone
dumpsys
User system diagnostics
Runs on the device and provides system service status information
Command format
adb shell dumpsys [system service]
adb shell dumpsys -l
-h
For most services, you can add -h to see textual help
dumpsys meminfo -h
-c
For some services, you can add -c to view the data, which will be more friendly
Network related
connectivity
Internet connection
adb shell dumpsys connectivity
netpolicy
network strategy
adb shell dumpsys netpolicy
netstats
network status
adb shell dumpsys netstats
network_management
network management
adb shell dumpsys network_management