With the Internet, the era of big data continues to evolve. Mobile development is gaining popularity, and app development is emerging as a tidal wave. Here are the test points for the finishing app:
First we are familiar with the basic process of app testing:
1.1 Test cycle
The test cycle can be determined by the project development cycle to determine the test time, the general test time is two or three weeks (that is, 15 working days), depending on the project situation and version quality can be properly shortened or extended test time. Confirm the project schedule with the supervisor before the formal test.
1.2 Testing Resources
Before the test task begins, examine the test resources.
--product function requirement document;
--the product prototype diagram;
--Products;
--Behavioral statistical analysis definition document;
--Test equipment (ios3.1.3-ios5.0.1;android1.6-android4.0;winphone7.1 and above; Symbianv3/v5/nokiabelle, etc.);
--Other.
1.3 daily newspaper and product launch report
1) Testers are required to send test daily to the project.
2) The contents of the test daily include:
--Grading the current test version quality;
--The more serious problems are cited, prompting the developers to change first;
--Evaluate the overall situation of the version.
3) before the product goes live, the tester sends the product on-line report.
4) The contents of the online report include:
---to rank the current version quality;
---Attach test report (Functional test report, Compatibility test report, Performance test report, and app available performance standard results);
--summarize the basic situation of the on-line version. If you have a legacy issue, you must list and record the solution.
Tools/Materials
? Mobile Device (Android,ios ... )
? APP
? Network communication devices (routers, etc.)
Method/Step
First, safety testing:
1. Software permissions
1) The risk of deduction: including text messages, telephone calls, network connections and so on.
2) Privacy disclosure risk: including access to mobile phone information, access to contact information and so on.
3) Check the input validity of the app, authentication, authorization, data encryption, etc.
4) Restrict/allow access to the Internet using mobile phone function
5) Restrict/allow use of mobile phone to send receive information function
6) Restrict or use local connections
7) Restrict/allow use of mobile phone photo or recording
8) Restrict/allow use of mobile phone to read user data
9) Restrict/allow use of phone to write user data
10) Restrict/Allow application to register auto-start Application
2. Installation and uninstallation security
1) The application should be properly installed on the device driver
2) Ability to locate the appropriate icon for the application on the installation device driver
3) The installation path should be able to specify
4) without the user's permission, the application cannot be pre-programmed to start automatically
5) Whether the uninstall is safe, and whether the files installed in it are all uninstalled
6) Whether the files generated during user use are prompted
7) Whether the modified configuration information is restored
8) Whether the uninstall affects the functionality of other software
9) Uninstall should remove all files
3. Data security
1) When a password or other sensitive data is entered into the application, it is not stored in the device and the password is not decoded.
2) The password entered will not be displayed in clear text.
3) Passwords, credit card details, or other sensitive data will not be stored in their pre-entered locations.
4) the individual xxx or password length of the different applications must be at least between 4-8 digit lengths.
5) When the application processes credit card details or other sensitive data, the data is not written in clear text to other separate files or temporary files. To prevent an application from terminating unexpectedly without deleting its temporary files, the file may be attacked by the intruder and then read the data information.
6) Party building sensitive data is not stored in the device when it is entered into the application.
7) Applications should consider either user-prompted information or security warnings generated by the virtual machine
8) The application should not ignore user prompts or security warnings generated by the system or virtual machine, nor can it deceive the user by displaying misleading information before the security warning is displayed, and the application should not impersonate a security warning to mislead the user.
9) Before the data is deleted, the application should notify the user or the application to provide a "cancel" command operation.
10) The application should be able to handle situations where the application software is not allowed to connect to personal information management.
11) When you perform a read or write user information operation, the application will send the user an error message.
12) Do not damage the deletion of any content in the personal information management application without the user's explicit permission.
13) If important data in the database is being rewritten, the user should be notified in time.
14) can reasonably deal with the errors that occur.
15) Unexpected circumstances should prompt the user.
4. Communication Security
1) in the process of running the software, if there is a call, SMS, Bluetooth and other communications or charging, whether it can suspend the program, the priority of processing communications, and after the processing is completed to resume the software normally, continue its original function.
2) When the connection is established, the application can handle the interruption of the connection due to the interruption of the network connection.
3) should be able to handle communication delay or interruption.
4) The application will remain working until the communication expires, giving the user an error message indicating that there is a link error.
5) should be able to deal with network anomalies and timely notify users of anomalies.
6) The application shuts down when the network connection is no longer in use should be closed and disconnected.
5. Human-machine Interface safety test
1) The return menu should always remain available.
2) command has priority order.
3) Sound settings do not affect the ability to use the program.
4) Sound settings do not affect the functionality of the application
5) The application must be able to handle unpredictable user actions, such as wrong actions and pressing multiple keys at the same time.
Second, installation, unloading test:
Verify that the app is properly installed, running, uninstalled, and used for system resources before and after the operating process and operation:
1. Installation
1) Whether the software can run properly after installation, the folder after installation and whether the file is written in the specified directory.
2) Whether the combination of the various options for software installation conforms to the summary design instructions.
3) UI test of the Software Installation Wizard
4) No redundant directory structures and files are generated after installation.
2. Uninstall
1) test the system directly uninstall the program if there is a prompt message.
2) After testing the uninstall file, delete all the installation folders.
3) Uninstall whether to support the cancellation feature, click Cancel after the software uninstall situation.
4) The system directly uninstall the UI test, whether there is an uninstall status progress bar hint.
Third, UI testing:
1) test the layout of the user interface (such as menus, dialogs, Windows, and other controls), whether the style meets the requirements, whether the text is correct, whether the page is beautiful, the text, the picture combination is perfect, whether the operation is friendly, etc.
2) The goal of the UI test is to ensure that the user interface provides the user with the appropriate access or browsing capabilities by testing the functionality of the object. Ensure that the user interface complies with company or industry standards. Including user-friendly, humanized, easy to operate test.
1. Navigation test
1) Buttons, dialog boxes, lists and windows, etc., or navigation between different connection pages.
2) is easy to navigate, navigation is intuitive.
3) Whether a search engine is required.
4) navigation help is accurate and intuitive.
5) The style of navigation and page structure, menu, Connection page is consistent.
2. Graphics Testing
1) Horizontal comparison, each control operation mode is unified.
2) Adaptive interface design, the content according to the window size adaptive.
3) the page label style is unified.
4) the page is beautiful.
5) The picture of the page should have its actual meaning and require the overall orderly appearance.
3. Content Testing
1) The input box indicates whether the content of the text is consistent with the system function.
2) Whether the length of the text is limited.
3) The text content is unclear.
4) Whether there is a typo.
5) Whether the information is displayed in Chinese.
Iv. Functional Testing:
According to the software description or user requirements to verify the implementation of the various features of the app, the following methods to implement and evaluate the functional testing process:
1) Use the time, place, object, behavior and background five elements or business analysis methods to analyze and refine the user usage scenarios of the app, compare instructions or requirements, collate the internal, external and non-functional directly related requirements, build test points, and define test criteria.
2) The corresponding types of test cases are covered according to the characteristics of the measured function points, such as: the place of design input needs to consider equivalence, boundary, negative, exception, illegal, scene rollback, association test and other test types to overwrite it.
3) keep track of the coverage of the test implementation and requirements input at all stages of the test implementation, and revise the business or demand comprehension errors in a timely manner.
1. Running
1) After the app installs the test run, can open the software normally.
2) app open test, whether there is a progress prompt to load status.
3) The switch between the app pages is smooth and the logic is correct.
4) Registration
Same Form Editing page
User name Password length
Post-Registration Tips page
The front registration page and background Management page data is consistent
After registering, in the Background management page prompt
5) Login
Using a legitimate user login system
Whether the system allows multiple illegal logins, and whether there are times limit
Log in to the system using an account that is already logged in to correct processing
User name, password (password) error or missing fill in the login can
Deleted or modified users, the original user name login
Do not enter user password and duplicate point "OK/Cancel" button, whether to allow login
After landing, the login information on the page
There is a logout button on the page
Processing of logon Timeouts
2. Front and rear switch of the application
1) The app switches to the background and back to the app, checking to see if it stays on the last user interface.
2) The app switches to the background, then back to the app, check the function and application status is normal.
3) The app switch to the background, and then back to the foreground, notice whether the program crashes, functional status is normal, especially for switching back from the background to the foreground data has automatic updates.
4) Mobile phone lock screen after unlocking into the app note whether it will crash, functional status is normal, especially for switching back from the background to the foreground data has automatic updates.
5) When the app is in use, the phone comes in and then switches to the app, the function status is normal.
6) When the app process is killed, the App,app can start normally.
7) The prompt box must be processed, switch to the background, and then switch back, check whether the prompt box is still there, and sometimes the application will automatically skip the hint box defects.
8) for the data exchange of the page, each page must be the front and rear switch, lock screen test, this page is most prone to crash.
3. Limitation of landing
Many apps offer a no-sign-on feature that automatically uses the app as soon as the app is turned on with the user's identity.
1) Consider the ability to enter the non-logon state normally without network conditions.
2) After the user login, to verify the user login information and data content is updated to ensure that the original user exit.
3) According to the existing rules of Mtop, an account is allowed to log on only one machine. Therefore, it is necessary to check the situation of one account login to multiple phones. The original mobile phone users need to be exited, give a friendly hint.
4) The app switches to the background and switches back to the foreground check.
5) switch to the background and switch back to the foreground test.
6) After the password change, check if there is a valid identity verification when the data exchange.
7) An application that supports automatic login checks that the system can log on successfully and that the data is operating correctly when the data is verified.
8) Check that the user is actively logged out, the next time you start the app, you should stay in the login screen.
4. Offline browsing
Many apps support offline browsing, where local clients cache part of the data for users to view.
1) Local data can be browsed in wireless network conditions.
2) When you exit the app and then open the app, you'll be able to navigate.
3) switch to the background and back to the front desk can be viewed normally.
4) lock screen and then unlock back to the application foreground can be viewed normally.
5) When the data on the server segment is updated, the corresponding prompt is given offline.
5.APP Update
1) There is an update prompt when the client has a new version.
2) When the version is a non-mandatory upgrade version, users can cancel the update, the old version can be used normally. The update prompt will still appear the next time the user launches the app.
3) Exit the client when the version is a mandatory upgrade, but the user does not make an update after the mandatory update is given. The next time you start the app, a mandatory upgrade prompt still appears.
4) If the client has a new version, the direct update check will update properly if the client is not deleted locally.
5) When the client has a new version, if the client is not deleted locally, check whether the updated client features are new versions.
6) When the client has a new version, if the client is not deleted locally, check whether the file with the same name can be updated to the latest version properly. If the above cannot be updated successfully, also belong to the flaw.
6. Positioning, Camera services
1) app is useful to camera, when location service, need to pay attention to system version difference.
2) useful to the camera service place, need to carry out front and rear switch test, check whether the application is normal.
3) When testing the camera service, you need to test it with a real machine.
7.PUSH Test
1) Check that the push message is sent according to the specified business rule.
2) The user does not receive a push message when it checks that the message is not received.
3) If the user has set a time-out period, the user cannot receive push during the time-free period. During a non-intrusive time period, the user receives the push normally.
4) When the push message is for the logged-on user, it is necessary to check that the received push is consistent with the user's identity and that no errors are pushed over the other person's message. In general, only the last logged-on user on the phone is sent a message push.
5) test push, you need to use a real machine to test.
Five, performance test:
1) Responsiveness test: Test whether the various types of operations in the app meet user response time requirements.
Response time for app installation and uninstallation
Response time for various functional operations of the app
2) pressure test, repeated/long-term operation, system resources whether the use of abnormal.
The app repeats the loading and unloading, checking the system resources are normal
Other functions are repeated to check if system resources are normal
Vi. Cross-Event testing:
This paper presents a test method for the classification of service level and real-time characteristics of intelligent terminal applications. Cross-testing, also known as an event or conflict test, is a test in which a feature is executing while another event or operation interferes with the process. Such as: The app in front/background running state with the call, file download, music listening and other key applications such as interactive testing.
Cross-event testing is important to identify potential performance issues in many applications.
1) Whether multiple apps run at the same time affect normal functionality.
2) whether the app runtime pre/background switch affects the normal function.
3) make/Receive phone calls while the app is running.
4) Send/Receive information when the app is running.
5) Send/Receive mail when the app is running.
6) Browse the network while the app is running.
7) Use Bluetooth to transmit/receive data while the app is running.
8) When the app is running, use the camera, calculator and other mobile phone to bring your own device.
Seven, compatibility test:
Main test internal and external compatibility
1) compatibility with local and mainstream apps
2) compatibility with various devices, if there is cross-system support, it is necessary to check whether the behavior is consistent under a system.
Compatibility of different cell phone screen scaling ratios
Compatibility of different phone brands
Viii. regression test:
1) After a bug is fixed and a regression test is required after the new version is released.
2) regression testing after a bug fix is performed before delivery, with a large number of use case regression tests.
Nine, user experience testing:
To perceive the comfort, usefulness, ease of use and friendliness of a product or service in the perspective of a subjective, ordinary consumer. Through different individuals, independent space and non-empirical statistical multiplexing methods to effectively evaluate the product experience characteristics, proposed to improve product potential customer satisfaction.
1) Whether there is an empty data interface design, to guide users to perform operations.
2) Whether user guidance is abused.
3) Whether there is a non-clickable effect, such as: Your button is not available at this time, then must be gray, or take off the button, otherwise it will mislead users.
4) The menu level is too deep.
5) Whether there are too many branches of the interaction process.
6) Whether the relevant options are far away.
7) Whether to load too much data at a time.
8) The button in the interface can be clicked in a moderate range.
9) Whether the tab is not affiliated with the content, when switching the label, the content is then switched.
10) The operation should have primary and secondary affiliation.
11) Whether to define back logic. When it comes to hardware/software interaction, the back key should be defined specifically.
12) Whether there is a horizontal screen mode design, applications generally need to support horizontal screen mode, that is, adaptive design.
Ten, gesture Operation test:
1) The impact of the mobile phone unlock screen on the running app.
2) The impact of the running app before and after the switch.
3) Switching of multiple running apps.
4) The app shuts down when it runs.
5) Restart the system when the app is running.
6) Charging when the app is running
7) When the app is running, kill the process and open it.
XI. Client Database testing:
1) General increase, delete, change, check test.
2) If the table does not exist, whether it can be automatically created, when the database table is deleted and can be self-built, data can be automatically retrieved from the server and saved.
3) The client can save data locally when the business needs to retrieve data from the server to the client.
4) When the business needs to fetch data from the client, can the app data be automatically removed from the client data when the client data is checked, or will it still be fetched from the server side? Check whether the app data is automatically fetched from the server side and saved to the server side when the client data does not exist.
5) If the business changes the data, after the deletion, the client and the server side will have the corresponding update.
Grooming of mobile app test points