Ten years of experience Daniel talks to you about why automated testing is needed? | Testers must see

Today I will share with you why automated testing is needed? What is the difference between automated testing and manual testing? What are the advantages of automated testing?

Insert picture description here

Why do automated testing?

I have done manual testing for a long time. Although I have also converted manual test cases into automated test cases, my personal understanding is that automated testing is used for the purpose of testing for product maintenance. There are two aspects of automated testing that I came into contact with: one is performance testing (LR) and the other is automated testing (XACC). My personal understanding is that if you want to do these two tests, the interface of the software must be mature, and there will be little change. For example, in the process of later product delivery interface is relatively stable and will not make major adjustments, in order to further improve software performance, performance testing can be carried out. In order to ensure that the basic functions of each version are not affected by other code changes, it can also be used in later versions. Run automated tests. Since we want to overturn and learn from the new, we must understand what is going on online now? In summary, it does not conflict with my previous understanding.

Software automation testing is a part of testing work and a supplement to manual testing. Automated testing exists relative to manual testing, which is mainly realized through developed software testing tools, scripts, etc. It has the characteristics of good operability, repeatability and high efficiency. If you want to exchange experience in software testing, interface testing, automated testing, and interviews. If you are interested, you can add software test communication: 313782132, and there will be technical exchanges with colleagues.

Insert picture description here

Limitations of manual testing:

1. Manual testing cannot cover all code paths.

2. Basic functional test cases are indispensable in each round of testing. Because the workload is often large, it is repetitive, non-intelligent and non-creative, and requires accuracy and meticulousness. Using machines has more advantages than humans.

3. Many deadlocks, resource conflicts, multithreading and other related errors are difficult to capture through manual testing.

4. System pressure and performance testing need to simulate various test scenarios such as big data or large concurrent users, and it is difficult to perform manual testing.

5. The system reliability test needs to simulate the system running for a long time to verify the stable operation of the system, which is difficult to perform through manual testing.

6. If there are a large number (thousands) of test cases that need to be completed in a short time (1 day), manual testing is almost impossible.

The main advantages of automated testing:

1. Avoid duplication of work: For software with complete and mature functions, every time a new version is released, most of the functions and interfaces are similar or identical to the previous version. This part of the function is particularly suitable for automated testing, so that The test achieves the purpose of testing each feature.

2. Improve test efficiency: The release cycle of the DCC version is often relatively short, that is, the development cycle is only a few months, and during the test period, a version is released every day/every 2 days for testers to test, a system There are thousands of function points, and manual testing is very time-consuming and cumbersome, which will inevitably lead to inefficient testing.

3. Ensure the consistency and repeatability of each test: Since the scripts run by each automated test are the same, the tests performed each time are consistent, which is difficult for people to do. Due to the consistency of automated testing, it is easy to find any changes in the software under test.

4. Make better use of resources-weekend/night. The ideal automated test can run completely automatically as planned. In the case that it is impossible for developers and testers to perform three shifts, automated testing can do this task, and it can perform tests on weekends and evenings. This makes full use of the company's resources and avoids waiting between development and testing.

5. Resolve the contradiction between testing and development: usually at the end of development, enter the integration testing stage. Since there are fewer errors in the test system at the beginning of each release, the developers are waiting for the testers to test for errors. . In fact, there are more contradictions in the development model with a short iterative cycle, but automated testing can solve the main contradictions.

The above content hopes to be helpful to you, friends who have been helped are welcome to like and comment.

Software testing is the easiest subject in IT-related industries to get started~ It does not require the logical thinking of developers, and operations and maintenance personnel are not required to be on call 24 hours a day. What is needed is a careful attitude and a broad understanding of IT-related knowledge. The growth path of each tester from entering the industry to becoming a professional expert can be divided into three stages: software testing, automated testing, and test development engineers.

Insert picture description here

Here are some information I have compiled. If you don’t want to experience the self-study again, you can’t find the information, no one answers the question, and you feel like giving up after a few days, you can add our software testing exchange group 313782132, which contains various software Test data and technical exchange

Guess you like

Origin blog.csdn.net/weixin_50271247/article/details/109309685