Looked at the thousands of legs of the blog, plus recently also some students asked me the difference between the Web and app testing. So here also caught dead, write an essay. We hope to help you.
I have been testing for almost three years. Most of the time is doing app testing, web testing has been done for about half a year. In fact, I think there is no big difference between the two.
There is no difference between a process and a functional test, just on the level of functional testing. So where is the difference?
I personally think that because the carrier is not the same, so the system test and some details may be different.
Then we need to first understand the difference between the Web and the app.
Web projects, generally b/s architecture, browser-based, and the app is C/s, must have a client. Then there will be a difference when the system tests the test.
First of all, from the system architecture, the Web test updates the server side as soon as the client synchronizes. And the client can guarantee that each user's client is exactly the same. But the app side is not guaranteed to be exactly the same unless the user updates the client. If the server is modified under the app, it means that the core version used by the client user is required to perform regression testing again.
Next to performance, Web pages may focus on response time, while apps need to be concerned with traffic, power, CPU, GPU, memory. As for the performance of the service side is no difference, here is not talk about.
Then is the compatibility aspect, the Web is browser-based, so more inclined to browser and computer hardware, computer system of the direction of compatibility, but generally the main browser. and browser compatibility is generally to choose a different browser kernel for testing (IE, Chrome, Firefox). App testing must depend on the phone or the pad, not only the resolution, screen size, but also the device system. The system is generally divided into Android and iOS, but the domestic Android customization system too many, it is more prone to problems. General app compatibility test three methods, cloud test, please team Test, real machine test. Cloud Test Let's talk about it later, here's the choice of a real machine. First of all to select the mainstream model, followed by the choice of different resolution, size, and then a different operating system.
Compared to web testing, the app is a few more special tests:
Robustness Test:
Some unusual scenarios and weak network tests are considered. Here is the abnormal scene is interrupted, call, SMS, shutdown, restart and so on.
Weak net testing is a test that must be performed in an app test. Contains weak nets and network switching tests. You need to test the user experience caused by a weak network, with a focus on whether fallback and refresh will cause two commits. It is necessary to test packet loss and delay processing mechanism. Avoid user churn. These are already mentioned in the previous weak net test, which is no longer spoken here.
Install, uninstall, update:
Web tests are browser-based, so you don't have to think about them. While the app is a client, you must test the installation, update, and uninstall. Exception scenarios are taken into account in addition to regular installation, updates, and uninstallation. Including the installation of interrupts, weak nets, after installation to remove the installation files, updated force updates and non-mandatory updates, incremental package updates, breakpoint continuation, weak network, uninstall after the deletion of the app-related files and so on. There are too many things to talk about here, and if you have questions, you can comment or leave a message for me.
Interface operation:
Now the user of the app product is the touch-screen handset that uses, so the test time also must pay attention to gesture, the level screen switch, multi-touch, event trigger area and so on test.
The rest is probably the difference between the tools you use.
In terms of automation, the Web is mostly selenium, Webdriver, and the app is Appium.
The tool web for performance use is a bit more lr,app using JMeter.
Here is just a general distinction to be talked about. There are some things I have not learned so far. So it can only be written in this way.
Overall the difference is not how big. The tested product is constantly changing, and the thought of testing is constant. Even if the tools are different, there is no difficulty in understanding the principle.
The difference between Web testing and app testing