In terms of process, there is no difference between WEB testing and APP testing. Experience test planning, use case design, test execution, defect management, test reporting, and other related activities. Technically speaking, the test types of WEB test and APP test are basically similar, including functional test, performance test, security test, GUI test and so on.

Ii. Specific differences between Web testing and APP testing

In WEB side is compatible with the browser, the application is compatible with the mobile device and the corresponding compatibility testing tool is not the same, because the WEB is to test browser compatibility, so you need to use different browser compatibility test (common is compatible with IE6, IE8, chrome, firefox) if it is a mobile terminal, it needs to be compatible with different brand, different resolutions, Different versions of Android and even compatibility with different operating systems.

2. App also needs special testing for mobile devices

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

Cross event test: it is in the operation of a software, to call, to SMS, low battery reminder and other external events.

Operation type test: such as landscape test, gesture test

Network test:. Including weak network and network switching test needs to test the user experience caused by weak network, focusing on whether rollback and refresh will cause secondary submission of weak network simulation, it is said that 360wifi can be set up

3. Differences in system structure

As soon as the server side of the WEB test is updated, the client side is updated synchronously. And the client can ensure that each user’s client is completely consistent. However, the APP side cannot be guaranteed to be completely consistent unless the user updates the client side. If the server side is modified under the APP, it means that the core version used by the client side needs to be regression tested again.

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

3. Difference between Web interface test and APP Interface Test The main difference between Web interface test and APP interface test is header

The Web interface test header header user-Agent sends the request information of the browser

App interface test header User-Agent sends the request information of the mobile phone. Android and ios user-Agent send the request information differently, as shown in the figure below:

For Android, the user-Agent format 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 user-agent request format for iOS 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 test tool: APIPost

Download it at www.apipost.cn