How to quickly advance software testing? Five major differences between popular science Web and App testing!

With the upgrading of various mobile devices, the mobile Internet is developing rapidly, and at the same time, mobile applications are growing exponentially. Because of this situation, the demand for app testing has also risen, and it has gradually surpassed web testing. I have been testing for almost three years, and I have been testing app most of the time, and web testing has been done for about half a year. Let's combine my work experience and briefly talk about the difference between web testing and app testing.

1. First, introduce the key points of web testing and app testing respectively:

WEB test focus

1. Function test:

Whether the realized function is consistent with the requirement;

2. Interface test:

Whether the interface is beautiful, whether the style is consistent, and whether the text content is correct;

3. Connection test:

Whether the opening link speed is reasonable; whether it is connected to the correct page; whether there is a blank page;

4. Performance test:

How many users can the system support at the same time; what response will the system give if the number of users exceeds these numbers;

5. Compatibility test:

Whether the function of the project can be used normally on different operating systems and different browsers;

6. Safety test:

Whether the user's login name and password are encrypted during transmission;

If the user has not operated the page for a long time, will the session expire and require the user to log in again;

Whether the user name and password in the log file cookies are encrypted;

Whether there are restrictions on the number of logins and login devices, and whether multiple device logins with one account are supported;

APP test focus

1. Installation and uninstallation

Verify whether the App can be installed, run, uninstalled correctly, as well as the operation process and the usage of system resources before and after the operation.

2. Update

1) When the client has a new version, there should be an update prompt;

2) When the version is a non-mandatory upgrade version, the user can cancel the update, and the old version can be used normally. When the user starts the app next time, the update prompt will still appear;

3) When the version is a mandatory upgrade (app cannot be used without upgrade), when the user does not update after the mandatory update is given, exit the client. The next time you start the app, the mandatory upgrade prompt will still appear;

4) When the client has a new version, without deleting the client locally, directly update to check whether it can be updated normally;

5) The new version can be installed offline to cover the current version;

6) The upgrade cannot overwrite the user's data.

3. Software button

Whether the functions of the relevant buttons in the software are actually realized, such as the return button.

4. Physical buttons:

Refers to the test of the function realization of the function key buttons of the mobile phone.

5. Registration

1) User registration function test: check whether unregistered and registered users can successfully register, and whether the registration information is complete;

2) Same as form editing page;

3) User name and password length;

4) The prompt page after registration;

5) Whether the data of the front-end registration page and the back-end management page are consistent;

6) After registration, the page prompts in the background management.

6. Log in

1) Functional test of user login;

2) Use a legal user to log in to the system;

3) Whether the system allows multiple illegal logins and whether there is a limit on the number of times;

4) Is it correct to log in to the system with the account that has been logged in;

5) Can you log in when the user name and password (password) are wrong or missing;

6) After deleting or modifying the user, log in with the original user name;

7) Do not enter the user password and repeatedly click the "OK/Cancel" button to allow login;

8) After logging in, the login information on the page;

9) Handling of login timeout.

7. Exit

Pay attention to the exit function. On Android phones, double-click the return button to see whether it can exit. IOS system apps generally have an exit button.

8. Personal information management:

It is mainly for the management of registered users and related information after login, and the content of the information is related to the needs.

2. Next, understand the difference between web testing and app testing:

Speaking purely from the level of functional testing, there is no difference in process and functional testing between APP testing and web testing.

According to the difference between the two carriers, the difference is as follows:

1. System structure

Web project, b/s architecture, browser-based; as long as the web test updates the server side, the client side will be updated synchronously.

The app project, c/s structure, must have a client; if the app modifies the server, all core versions of client users need to perform regression testing.

2. Performance

Web projects need to monitor response time, CPU, Memory

In addition to monitoring response time, CPU, and Memory, the app project also needs to monitor flow, power, etc.

3. Compatibility

(1) Web project:

1. Browser (Firefox, Google, IE, etc.)

2. Operating system (Windows7, Windows10, Linux, etc.)

(2) App project:

1. Device system: iOS (ipad, iphone), Android (Samsung, Huawei, Lenovo, etc.), Windows (Win7, Win8), OSX (Mac)

2. Mobile phone equipment can be different according to mobile phone model and resolution

4. Compared with the Wed project, APP has a special test

1. Interference test: interruption, incoming call, text message, shutdown, restart, etc.

2. Weak network test (simulate 2g, 3g, 4g, wifi network status and packet loss); network switch test (reconnect after network disconnection, switch from 3g to 4g/wifi, etc.)

3. Install, update, uninstall

Installation: Need to consider the interruption during installation, weak network, deletion of installation files after installation, etc.

Uninstallation: Need to consider whether to delete app-related files after uninstallation

Update: It is divided into mandatory update, non-mandatory update, incremental package update, resumable upload, and update under weak network status

4. Interface operation: Regarding the mobile phone test, you need to pay attention to gestures, horizontal and vertical screen switching, multi-touch, front and back switching

5. Security test: whether the installation package can decompile the code, whether the installation package is signed, permission settings, such as access to the address book, etc.

6. Boundary test: less available storage space, no SD card/dual SD card, flight mode, system time error, third-party dependence (QQ, WeChat login), etc.

7. Permission test: Set whether a certain App can obtain the permission, such as whether it can access the address book, photo album, camera, etc.

5. In terms of testing tools

Automation tools: App generally uses Appium; Web generally uses Selenium

Performance testing tools: APP generally uses JMeter; Web generally uses LR, JMeter

to sum up:

This is just a rough difference, and there are some things I haven't understood yet. So it can only be written like this.

In general, the difference is not that big. The products tested are ever-changing, and the thinking of testing remains the same. Even if the tools are different, as long as you understand the principle, it is not difficult to do it.

Even if the road is curved, you have to walk to know it. Because you don't have a choice, which line of business, you will perish if you don't advance, and learning and accumulating experience is what we should do.

The following is my collection and sorting in recent years, the whole is organized around [software testing], the main content includes: python automation test exclusive video, Python automation details, a full set of interview questions and other knowledge content.
Insert picture description hereInsert picture description here
For software testing friends, it should be the most comprehensive and complete interview preparation warehouse. In order to better organize each module, I also refer to many high-quality blog posts and projects on the Internet, and strive not to miss every knowledge point. Friends relied on these contents to review, and got offers from big factories such as BATJ. This warehouse has also helped many software test learners, and I hope it can also help you.

Follow the WeChat public account [Programmer Erhei] to receive the super hard core resources for Python automated testing

Guess you like

Origin blog.csdn.net/m0_53918927/article/details/113268647