App testing and web testing are no different in business process and functional testing!
But the two carriers are different, there are differences in the following aspects:
System structure Aspects:
Web project, b/S architecture, browser-based, web testing as long as the server-side updates, the client will be updated synchronously;
App Project, c/s architecture, must have a client, the app modifies the server, then all core versions of client users need to be tested again.
Performance aspects:
Web project, the need to monitor response time, CPU, Memory;
App projects, in addition to monitoring response time, CPU, memory, but also to monitor the flow, power and so on.
Compatibility aspects:
Web Project,
1, browser (Firefox, Google, ie, etc.);
2, operating system (WINDOWS7, WINDOWS10, Linux, etc.).
App Project,
1. Device System: IOS (iphone, ipad) Android (Samsung, Huawei, Lenovo, etc.), Windows (Win7, Win8), OSX (MAC)
2, mobile phone equipment can be based on the phone model, different resolution to test.
In contrast to Web projects, the app has a special test:
1, interference test: Interrupt, call, SMS, shutdown, restart and so on.
2, weak network test: (Analog 2g, 3g, 4g,wifi network status and packet loss situation);
Network switching test: (re-connect after network disconnection, 3g switch to 4g, WIFI, etc.).
3, install, update, uninstall
Installation: You need to consider the installation of the interruption, weak network, after installation, such as the removal of installation files;
Updates: Sub-mandatory updates, non-mandatory updates, incremental package updates, breakpoint continuation, update under weak network conditions;
Uninstall: Consider whether to delete app-related files after uninstalling.
4. Interface operation
On the mobile phone side test, you need to pay attention to gestures, screen switching, multi-touch, front and rear switch;
5. Safety Test
Whether the installation package can decompile code, whether the installation package is signed, permission settings, such as access to contacts, and so on.
6. Boundary test
Less available storage space, no SD card/dual SD card, flight mode, System time error, third-party dependency (QQ, login), etc.
7. Permission Test
Set whether an app can get that permission, such as whether you have access to contacts, albums, cameras, and so on.
Test tool Aspects:
Automation tools: Apps generally use appium;web selenium;
Performance testing tools: Apps generally use jmeter;web LR, Jmeter.
This article from "Learning to change the Fate" blog, declined reprint!
The difference between app testing and web testing