Python automated testing learning-basic understanding of automated testing

Python automated testing learn what is automated testing

1. Change the human-driven test behavior to machine execution. Through the designed test case, the machine will automatically operate it according to the execution steps of the test case, output the result, and compare it by the tester.

2. Automated testing often uses some testing tools or frameworks to write automated test cases to simulate manual testing.

3. Automated testing can greatly save manpower, time and hardware resources and improve testing efficiency.

Advantages of automated testing

1. Automated testing tools can prepare a large amount of test data as needed.

2. A large number of test cases can be prepared using related scripting technology.

3. The test results sometimes require corresponding data processing.

4. It can quickly compare large amounts of data or data formats.

Disadvantages of automated testing

1. Compared with manual testing, automated testing requires relatively high abilities of testers.

2. Automated test cases need to be updated according to version iteration, which has a certain maintenance cost.

3. You can't expect automated testing to find more new BUGs. The defects that automated testing can find are far fewer than manual testing.

4. The output value of automated testing often lies in long-term regression testing, and its role in the short term may not be obvious.

5. Automated testing cannot improve the effectiveness of the test, it can only be used to improve the efficiency of the test.

Misunderstandings about automated testing

1. With automated testing, manual testing is no longer required.

2. Automated testing For some tests such as: localization testing, user experience testing, exploratory testing, the construction of the test environment cannot completely replace manual testing.

3. Automated testing is the operation of the product, and there must be a certain manual testing basis for the test points. Automated testing and manual testing complement each other.

4. Automated testing does not only refer to automated running test products, data processing is also a very important link.

Prerequisites and principles of automated testing

1. The project cycle is long, and the demand is stable and unchanged recently.

2. Front-end development of pages that do not need to be modified multiple times, and modules without defects.

3. Automated test scripts can be reused and frequent regression tests (due to more modules, the scope of temporary regression tests is limited to the main module process).

4. Manual testing is difficult to achieve, requiring the same test cases and a large number of repetitive tasks to be run on multiple platforms.

5. Early-stage automation implementation should avoid extremely complex modules

How to implement automated testing

1. Obtain information and test requirements analysis: grasp the system architecture and design as a whole, and analyze the test requirements of the system.

2. Design: Design test cases and select test cases that need to be automated.

3. Realization: writing, debugging and realizing test scripts.

4. Execution: The process of executing scripts requires constant analysis of exceptions during execution.

5. Test result analysis: analyze which are bugs and which are the problems of the test framework itself.

6. Maintenance: The maintenance of automated test scripts is a difficult and necessary problem to be solved.

7. Summary: Summarize the input-output ratio of automation practice in the process of automation testing.

Hierarchy of automated testing

1. The higher you go, the closer you are to QA, business/end users, and the lower you go, the closer you are to development.

2. The higher the upper, the slower the test execution; the lower the lower, the faster the test execution.

3. The higher the upward, the higher the test cost (the more time-consuming, the more obscure the information at the time of failure, and the harder it is to track), the lower the test cost, the lower.

If you want to learn more about the professional knowledge of python automated testing, you can communicate together: 313782132, there are peers, use your every minute and every second to learn to improve yourself, don’t use "no time" to cover up Laziness in my mind! Try hard while you are young, and give your future self an explanation!

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 exchanges.

Guess you like

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