[Share] The difference between Web testing and App testing

1. Test process
WEB test and app application test have no difference in process. All need to go through related activities such as test planning, use case design, test execution, defect management, and test reports. Technically speaking, the test types of WEB test and APP test are basically similar, and both test types such as functional test, performance test, security test, GUI test, etc. are required.

2. The specific difference between web test and app test
1. The difference between compatibility test

On the WEB side, it is compatible with browsers. On the application side, it is compatible with mobile devices and the corresponding compatibility test tools are also different. Because WEB is for testing compatible browsers, it is necessary to use different browsers for compatibility testing (common It is compatible with IE6, IE8, Chromium, Firefox) If it is a mobile phone, then it needs to be compatible with different brands, different resolutions, different Android versions and even different operating systems.

2. The app also needs a special test of the mobile device

Such as cross event test, operation type test, network test (weak network test, network switch)

Cross-event test: when operating a certain software, incoming calls, text messages, low battery prompts and other external events.

Operation type test: such as horizontal screen test, test gesture

Network test:. Including weak network and network switching tests, you need to test the user experience caused by the weak network. The key point is to consider whether the rollback and refresh will cause the simulation of the second submission of the weak network. It is said that the setting can be achieved with 360wifi

3. Differences in system structure

As long as the WEB test updates the server side, the client side will be updated synchronously. And the client can ensure that each user's client is completely consistent. However, the APP side cannot guarantee complete consistency, unless the user updates the client. If the server side is modified under the APP, it means that the core version used by the client user needs to be regression tested.

There is also an upgrade test: a reminder mechanism for the upgrade test, whether the cancellation of the upgrade will affect the use of the original functions, and whether the user data is cleared after the upgrade

Third, the difference between
web interface testing and app interface testing The main difference between web interface testing and app interface testing is the difference in headers

The web interface test header header user-agent sends the request information of the browser

The app interface tests the request information sent by the user-agent in the header header of the mobile phone. The user-agent sent by Android and ios is not the same, as shown in the figure:
Insert picture description here

The format of the Android user-agent is: Mozilla/5.0 (Linux; U; Android 8.1.0; zh-cn; BLA-AL00 Build/HUAWEIBLA-AL00) Chrome/57.0.2987.132 Mobile Safari/537.36

The iOS user-agent request format is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36

Interface testing tool: apipost

Download link: https://www.apipost.cn

Guess you like

Origin blog.csdn.net/weixin_47719617/article/details/111357584