Actual combat of software testing projects, core business testing and analysis of e-commerce projects (full coverage)


foreword

How to test the login function?

1. Login function test
①Enter the correct user name and password, click the submit button, verify whether you can log in correctly, and whether you can jump to the correct page ②If you
enter a wrong user name, the verification login fails, and a corresponding error message is
prompted③ If you enter a wrong password, the verification login fails, and a corresponding error message is prompted
④ If the user name is empty, the verification login fails, and a corresponding error message is prompted
⑤ If the password is empty, the verification login fails, and a corresponding error message is prompted
⑥User name and password All are empty, click to log in⑦There
are spaces before and after the user name and password

2. Performance test
① How long does it take to open the login page?
② How long does it take to log in and jump to a new page after entering the correct user name and password?

3. Security testing
①Whether the password is encrypted at the front end and whether it is encrypted during network transmission ②Can the
input box of user name and password prevent SQL injection attacks
③Can the input box of user name and password prevent XSS
attacks④ Limit the number of wrong logins (to prevent brute force cracking)
⑤Whether multiple users can log in on the same machine
⑥One user logs in on different terminals
⑦Users log in from different places

4. User experience test
①Whether the page layout is reasonable, whether the input box and the button are aligned
②Whether the size of the input box and the length and height of the button are reasonable ③Whether
it can be operated with the keyboard, whether there is a shortcut key
④Enter the user name and password and press Enter, whether you can log in
⑤If the verification code is involved, you should also consider whether the text is too distorted, making it difficult to recognize, consider the color (for color-blind users), whether it is easy to use the refresh or change button

5. Compatibility test
BS architecture: different browser tests, such as: IE, Firefox, Google, 360 and so on.
APP: Tested on mainstream mobile phones of different types, different resolutions, and different operating systems, such as Huawei, vivo, oppo, etc.

How to test the payment function (especially important)

1. From the aspect of function:
① User usage scenarios: including the process of completing the payment normally; the process of continuing to pay after the payment is interrupted; the process of ending the payment after the payment is interrupted; the process of single order payment;

The process of combined payment for multiple orders; insufficient balance; unbound bank card; wrong password; wait;

② Payment on different terminals: including PC payment, laptop payment, tablet payment, mobile phone payment, etc.; ③ Different
payment methods: bank card online banking payment, Alipay payment, WeChat payment, etc.;
④ From the perspective of product fault tolerance : Including whether payment can be made again and refunded after payment failure;

2. From the perspective of performance:
whether multiple users can pay concurrently;
the response time of payment;

3. From the perspective of security:
use Fiddler to intercept the order information, and modify the order amount, or modify the order number, (place two orders A, B, intercept order B when paying, and change the order number of order B to order A order number) cannot complete the payment;

4. From the aspect of user experience:
①Whether the shortcut key function is supported;
②Whether there is a prompt when clicking the payment button;
③Whether there is a prompt when canceling the payment; ④Whether the
UI interface is clean ;

5. Compatibility:
BS architecture: tested in different browsers.
APP: Tested on mobile phones of different types, different resolutions, and different operating systems

How to test the shopping cart? (very important)

1. Functional test
① When not logged in:
add the product to the shopping cart, and the page will jump to the login page. After successful login, the number of shopping carts will increase.

② After login:
whether all the links are redirected correctly;
whether the product can be successfully added to the shopping cart;
whether there is a limit on the
total number of products in the shopping cart
;
whether
the total number of products is counted correctly
; Whether the text is displayed completely when the text is too long;
whether the off-shelf products in the shopping cart have logos, and whether they can still be paid for;
sorting of new items added to the shopping cart (add items from stores that exist in the shopping cart and items from stores that do not exist in the shopping cart) );
whether it supports quick TAB, ENTER and other shortcut keys; whether
the total number of products decreases after the product is deleted;
whether the collection function is available;
whether the shopping cart settlement function is available.

2. Compatibility test
BS architecture: different browser tests, such as: IE, Firefox, Google, 360 and so on.
APP: Tested on mainstream mobile phones of different types, different resolutions, and different operating systems, such as Huawei, vivo, oppo, etc.

3. User experience test
Whether there is a prompt to delete the product;
whether it supports the shortcut key function;
whether there is a function of returning to the top; whether
the checkout button can be displayed floatingly when there are too many products;
when there are multiple products in the shopping cart, can it only be settled for a single product? ;
Whether the interface layout and typesetting are reasonable;
whether the text is displayed clearly;
whether the products of different sellers are clearly distinguished.

4. Performance test
How long does it take to open the shopping cart page

How to test order management? (very important)

① Functional testing
② Performance testing
③ User experience testing
④ Security testing
⑤ Compatibility testing

The following is the most complete software test engineer learning knowledge architecture system diagram in 2023 that I compiled

1. From entry to mastery of Python programming

Please add a picture description

2. Interface automation project actual combat

Please add a picture description

3. Actual Combat of Web Automation Project

Please add a picture description

4. Actual Combat of App Automation Project

Please add a picture description

5. Resume of first-tier manufacturers

Please add a picture description

6. Test and develop DevOps system

Please add a picture description

7. Commonly used automated testing tools

Please add a picture description

Eight, JMeter performance test

Please add a picture description

9. Summary (little surprise at the end)

Every effort will not be in vain, because they are gradually accumulating energy for growth; even if you are frustrated for a while, don't give up easily, because struggle is the only way to success. Get out of your comfort zone and go forward bravely, and you will be able to usher in the glory of life!

Every effort is to achieve a better self, and sweat waters the flowers of the future. As long as you don't give up, success is waiting for you ahead. Be firm in your beliefs and go forward bravely, and you will find that the process of struggle is also one of the most beautiful scenery in life.

Every challenge is an opportunity for growth, don't be afraid of failure, and face challenges bravely. Only through hard work and struggle can we gain real success and a sense of accomplishment. Believe in yourself and move forward firmly, you will be able to achieve your desired goal!

Guess you like

Origin blog.csdn.net/csdnchengxi/article/details/131272323