Recently very hot HTML5 app is actually a kind of web app, in the test process can continue the Web App testing part of the method, while taking into account some features of the mobile phone, you can summarize the next HTML5 app-related test Method!
Requirements Design test:
This piece is mainly from the requirements and implementation methods, through the prototype map and real user experience and user habits, to check the rationality of the requirements and whether there is a better way to implement.
The problem is found at the source, reducing the iterative costs of development and testing due to changes in demand later on.
In the requirement phase, the intervention test function points are written and recorded, and also conform to the principle of early interventional testing.
Interface Test
This piece is mainly based on the interface document provided by the development students through the JMeter and other attack distance test
The main points of concern are:
1, the data returned by the interface is expected to be consistent;
2. Boundary value check of interface entry;
3, check the fault tolerance of the interface, such as the transmission of data type errors can be processed, integer input decimal, Chinese and English, etc.;
4, the performance of the interface, the call interface data return time, the interface reaction slow certainly affect the user experience.
5, the security of the interface: the interface part of the sensitive information is encrypted transmission, etc.
Functional Testing
Usability: The focus of the test can be tested according to the company's business and functions.
User interface Testing
Test development submitted test packages based on test and review of modified ued (user experience design).
style, style, color coordination, not only include HTML5 itself, because HTML5 will be embedded in the app, so to consider H5 style, style, color and the app itself, not incompatible, including user habits and so also best to remain consistent or similar, preferably in the early design of the color, button, Detailed planning and unification of pictures, backgrounds, borders, etc.
But it is because of the portability of H5, the same service will be embedded in the products of n customers, it is difficult to fully unify with each family, so in the design should consider these issues.
Compatibility test
The previous article mentions the PC Web because it is incompatible with IE6.7.8. PC main test in different systems under different browsers Google, Firefox, 360, IE9, IE10, IE11 and other mainstream browser interface compatibility and functional compatibility, because different browsers on HTML, SVG, XHTML, The parsing of CSS and JavaScript can be different.
For example, some browsers can send a verification code, and some will fail, the page layout will be garbled, and so on.
Mobile phone HTML5 main application is embedded in the app or the public number inside, so compatibility is mainly iOS, Android 2 systems of various mainstream models of adaptation.
Network test
Because many of the H5 systems are cloud services, all response times are generally slower. We usually use WiFi when we test, the speed will be relative to the point of view.
We should look at the 4G, 3G, or even 2G nets to see if the response time is within tolerance.
If the time is too long, you need to be prompted to optimize the code for improvement.
Security testing
Because our corresponding product department uses HTML5 to make some common functions into the cloud service, can embed many customer's app, according to the channel division, so security appears especially important.
Performance testing
As the docking customer increases, the performance requirements for the service will increase. The module for the cloud service needs to be tested for performance.
Here are some mixed app test FAQs:
1, because HTML5 embedded in the app, the input box needs to call the native keyboard. Due to the difference of andriod different phones, the native keyboard function will be different.
Have found that Samsung's Android version of a call to the native numeric keypad does not have a decimal point, after the touch of Samsung Machine to call the full keyboard;
2, the app bottom navigation bar is brought into the H5 page, whether to open the keyboard will affect the navigation bar position changes. Generally in the HTML5 page should delete the app navigation bar;
3, the app and HTML5 docking parts need to encrypt transmission;
4, the app head after the click to return to the previous page or return to the app main interface, need attention;
5, IOS, Android part of the model due to the keyboard opening and collection will appear prompt or confirm that the page is not centered on the frame;
6, because the network problem even the error of the app needs to be packaged;
7, from the app every entrance into the HTML5 interface are free login, the entry login, log out of normal;
8, in each model, the screen smaller and larger machine will appear can not display all or part of the blank situation.
9, long time do not operate HTML5 or app, need to re-login, or need to re-enter the password;
10, the screen smaller mobile phone submission parameters of the confirmation page, because more words will appear in the case of line change, need to do the matching.
The main is the entrance inconsistency, after the application of the public number, need to use their own browser for compatibility testing, many others are similar, here is not to repeat.
HTML5 App Test Method Summary (this article transferred from Weibo road_testing_ Shanghai)