Joke Collection Website - Public benefit messages - What are the toolbox methods for testing mobile app?

What are the toolbox methods for testing mobile app?

The following tools can be used for mobile application testing:

1, Android black box testing tool

1) comes with monkey, which is a command-line tool in Android, and can be run in the simulator or the actual device;

2)robotium and appium, these tools are used for automated testing of black boxes. You can use the source code or just APK to test the target application.

2. White-box test, Android integrates JUnit framework in SDK. So we can develop the white-box test code of Android based on JUNIT framework.

3. Actually, the testing method of Android is similar to that of Otawa web, except for some special testing scenarios.

4. Compatibility test. First, virtual machines can be used to ensure the compatibility between systems, but more need to rely on real machines for testing;

Extended data:

Application test point:

1, functional test

The most basic test is mainly to test the function points and business logic of the software app; Relevance (mainly testing the interaction between the client and the PC to ensure that the data on the PC is synchronized and consistent after being processed by the client)

2. Characteristic test

Cpu, occupying no more than 10%, response time (including app startup and exit), meeting the principle of 258, users feel fast within 2 seconds, average within 2-5 seconds, slow within 5-8 seconds, but acceptable, and users can't accept it after 8 seconds, so they choose to leave or send the request again;

3. Compatibility testing

Mobile apps need to focus on different operating systems: different mobile phone manufacturers such as Android and iOS, different mobile phone screen resolutions such as Xiaomi and Huawei, and compatibility with other third-party apps;

4. Installing and Uninstalling Update Tests

It is also specifically aimed at the test point of mobile app, installation path, mobile phone or sd card, high and low versions of cover the installation, installation when memory is insufficient, interruption during installation, uninstallation of app in third-party management software, and interruption during uninstallation;

5. Interrupt or crash testing

Interrupt testing is mainly to test whether the app will crash. Incoming call, short message, alarm clock, low battery, etc. The network environment changes suddenly, or the network is interrupted, such as tunnels and elevators (offline support), and the network is switched, such as switching data to connect to wifi external devices.

For example, charging, insufficient earphone memory, changing the direction of the device and changing the language of the mobile phone, such as switching English multi-background programs and opening the app for a long time, can also be used to test the stability of apk and detect some crashes;

6. Safety test

7. User interface testing