Software testing-test case and mind map display

Table of contents

Test case for vending machine

A cup test case

A test case for a pen

Test case for likes in circle of friends

login module

Test case for shopping cart

Test case for Windows' copy and paste function of files


Test case for vending machine

A cup test case

A test case for a pen

Test case for likes in circle of friends

Functional test
1. Whether the result is displayed after
the like is given; 2. Whether the like can be canceled after the like;
3. Whether the like can be repeated after the like is cancelled;
4. After the mutual friend likes, whether there is a message reminder;
5. Non-common friends like the like 6. If
you click on the nickname of the person who liked it, whether you can jump to his/her homepage;
7. Whether you can give yourself a like;
8. If you block the user, whether you will be prompted if you like it with a mutual friend;
9. When the liker has a comment, whether to display the nickname of the comment;
10. After deleting the friend after liking, whether to continue to display his like;

UI interface test
1. Whether the interface is simple and beautiful;
2. Whether the dynamic special effects are displayed normally after liking;
3. Whether the picture of the Moments interface is displayed normally;
4. Whether the text of the Moments interface is displayed normally;

Performance test
1. Whether there are too many likes can be displayed normally;
2. Whether there are too many likes at the same time and whether it is normal to receive a prompt;

Security test
1. Send part of the visible circle of friends, and the rest are invisible;
2. Send part of the visible circle of friends, and mutual friends will not be visible after liking;

Weak network test
1. In a weak network environment, whether the like is successful;
2. In a weak network environment, the time of the like;

Ease of use test
The sending part is visible, whether the last list can be used;

login module

Interface UI test
1. Whether the layout is reasonable, the alignment of input boxes and buttons
2. Whether the height and length of input boxes and buttons meet the requirements
3. Whether the design style of the interface is consistent with that of Ul
4. The text of the interface is simple and easy to understand,
Functional test without typos
1. The user name and password are empty, click to view the prompt information
2. Enter the correct user name and password, click to verify that the login is successful
3. After the login is successful, verify whether it jumps to the correct page
4. User name, If the password is too long or too short, is there a prompt?
5. Handling of spaces before and after the user name and password
6. There are special characters or other non-English characters in the user name and password
7. The function of remembering the user name
8. After the login fails, The function of not being able to remember the password
9. Whether the password is encrypted and displayed
10. Is the registration on the login page, forgetting the password, logging out, etc. using another account login link correct? 11.
When entering the password, whether there is a prompt message when the uppercase keyboard is turned on.
Wrong user name and password, check the prompt information
Performance test
1. It takes a few seconds to open the login page 2.
Enter the correct user name and password, and the login is successful within 5 seconds
Compatibility test
1. Whether the mainstream browsers display success (IE8, 9, 10,11, Firefox, Chrome, Safafi)
2. Can different platforms show success (Mac, Windows)
3. Can mobile devices show success (Android, lOS) 4. Different resolution
usability tests
1. Whether it supports full keyboard operation, whether there is a shortcut key
2. Enter the user name and password, press Enter, whether you can log in
3. Whether the input box can be switched by the Tab key
Security test
1. Whether the cookie generated after successful login is Http only
2. Whether the user name and password are encrypted and sent to the web server
3. The verification of the user name and password should be on the server side, not on the Javascript front end
4. The input box of the user name and password should block SQL injection
5. User The input box of name and password should prohibit the input of scripts
6. Limit the number of wrong logins
7. Consider whether to support multiple users logging in on the same machine
8. Consider a user logging in on multiple machines

Test case for shopping cart

1. Functional test

Are all connections to the shopping cart page normal?
Items added from the item information page can be displayed in the shopping cart.
If you are not logged in, and you click on an item in the shopping cart to proceed directly to settlement, the user will be prompted to enter a user name and password, or to register.
If no product is selected and click settlement, the user will be prompted "Please add the product to be settled".
After selecting the product, the total price of the selected product (and the full discount activity) will be displayed.
Check the item, click the checkout button, and enter the order confirmation page.
On the shopping cart page, you can modify the added product information and save it automatically.
Product specifications can be re-modified in the shopping cart.
There is a limit to the number of items that can be added to the shopping cart.
When checking out, you can select all the products, and select the select all button at the bottom.
The baby can be managed on the shopping cart page.

2. Interface testing

After opening the Taobao shopping cart page, whether the layout of the page is reasonable and complete.
The products of different sellers are displayed in different table areas, and the distinction is obvious.
The function buttons on the page can be displayed normally.
The bottom of the product shows the invalid baby.
The bottom of the page says "You might like"
Scroll down the page to show "Shopping Cart" at the top of the cart.
If there is a product price reduction, insufficient inventory, purchase limit, etc. in the shopping cart, the corresponding font will be displayed below the product details.

3. Performance testing

Whether the open cart time is within the established time frame can be tricky for the user.
Edit shopping cart: the time required to delete and add items.
When selecting the items to be purchased on the shopping cart page for settlement, can the settlement amount be displayed in real time.
The amount of time it takes to clear expired items.
How long does it take to open the shopping cart page
? Do you know if the shortcut key function is supported?

4. Compatibility testing

iOS: Different models, different iOS systems.
Android: Different brands, different models, different Android systems.
Whether the test function is normal on different browsers

5. Network test

All functions of the application can operate normally under 3G, 4G, and WiFi network environments.
When the network is abnormal, whether there will be a reminder for data exchange.
If the network is disconnected halfway and then connected to the network soon, can the data be automatically restored and loaded normally?
Will there be a reminder when connecting to an external network for an app that only allows internal network access?

6. Usability testing

Is it possible to pay in batches
? Is there a function of selecting all or not selecting all? Is it possible
to delete items ? Can I move the items
in the shopping cart into favorites? Is there a total number of items? Display of whether there are store activities, full discounts, and price reduction display Whether each product has a store name reminder Can click on the product store to enter the store to view the product Click on the product name to enter the product details page Whether there is a text prompt for coupons will be displayed The preferential price after receiving the coupon Whether the expired product will still appear in the history of the shopping cart Whether there is a display of the corresponding product picture for each product Whether there is a reminder to make an order Can you select the type of product again on the shopping cart page and go to shopping At the bottom of the cart page, is there a display of recommended products ? Whether there will be a reminder for regions that do not support delivery, and whether the check boxes for selecting all or not selecting all in front of the product will turn gray. When there is no check box for selecting all or selecting nothing, When no product is selected, whether clicking the checkout button will jump to the page Whether there is a function of deleting products and batch deletion Is there a function of finding similar products

















7. Exception testing

When there is no memory, whether the APP can respond normally.
Horizontal and vertical screen switching display.
The network is interrupted when the APP is running.
Repeatedly operate a certain function, click and refresh continuously, and check whether there is a crash.
When the APP is running, it can run normally when receiving information prompts from phone calls, text messages, and social software.

Test case for Windows' copy and paste function of files

interface test

Whether the document is complete and free of typos.
Whether the icon is concise and clear, and whether it can be displayed normally.

Functional test
Whether the file can be copied and pasted with Ctrl+C and Ctrl+V.
Whether the file can be copied and pasted by right-clicking and dragging.
Whether files can be copied from one folder to another.
Whether files can be copied and pasted from one hard drive to another.
Whether the file can be copied and pasted to the USB flash drive.
Whether files can be copied and pasted into the chat dialog.
Whether different types of files (txt, pdf, doc, etc.) can be copied successfully.
Whether the content of the file has changed after copying and pasting.
Whether there is a file with the same name in the target location can be copied and pasted.
Whether the file can be executed during the copy and paste process.

Performance testing
How long does it take to copy and paste.
How much CPU resources are occupied by the process of copying and pasting.
Is it possible to copy and paste multiple files at the same time.

Compatibility testing
Whether different versions of Windows support this feature.

Security test
Whether the file content will be lost during the copy and paste process.
Whether copying and pasting will directly overwrite files with the same name with different content in the target file.

Guess you like

Origin blog.csdn.net/Liuyanan990830/article/details/130266426