Seven steps and contents of the automated software testing process

Preface

Automated testingGenerally refers to the automation technology of software testing, automation

Software testing process

It is a process of converting human-driven testing behavior into machine language execution. Usually, after a test case is designed and reviewed, the tester performs the test step by step according to the procedures described in the test case to compare the actual results with the expected results. In this process, in order to save manpower, time or hardware resources and improve testing efficiency. When executing automated testing, there is generally the following basic process.

Let’s take a look at automation

Software testing process

1. Develop a test plan

Before starting automated testing, the best way is to make a test plan, clarifying the test object, test purpose, test project content, test method and test progress requirements, etc., to ensure that all the resources required for the test are fully prepared.

2. Analyze test requirements

Use case designers analyze test requirements and design test requirements trees based on test plans and requirements specifications. Use case designers can cover all requirement points during use case design.

3. Design test cases

By analyzing test requirements, we design test cases that cover all requirement points and form specialized test case documents. Because not all test cases can be executed using automation, the test cases that can execute automated tests need to be summarized into automated test cases. Sometimes, it is also necessary to separate the user, password, product, customer and other parameter information of the system to form test data to facilitate script development.

4. Set up a test environment

The automated software testing process can start setting up the test environment when designing use cases. Scripting for automated testing requires recording page controls and adding objects. The construction of the test environment includes the deployment of the system under test, the call of the test hardware, the installation and setup of the test tools, and the layout of the network environment.

5. Write test scripts

Generally, the page controls required for testing are first obtained through recording, and then structured statements are used to control the execution of the script, checkpoints and exception determination feedback statements are inserted, and common common functions are separated into shared scripts, and the data is parameterized when necessary. change. Scripts can also be edited with other advanced features. After the script is written, it needs to be executed repeatedly and debugged until it runs normally. The writing and naming of scripts must comply with management specifications to facilitate unified management and maintenance.

6. Analyze test results and record test problems

Analyze automated test results in a timely manner and analyze automated test results to detect defects as early as possible. If an open source automated testing tool is used, it is recommended that it be redeveloped so that it can be closely integrated with the defect management tool selected by the testing department. If it is a system defect, submit it to the developer for repair. If it is not a system defect, check the automated test script or test environment.

7. Track and test bugs

BUGs recorded in the test should be recorded in the defect management tool for regular tracking and processing. After the developer fixes the problem, he or she needs to perform a regression test on the problem. This means that the problem must be tested repeatedly. If the problem is passed, it will be closed. Otherwise, modifications will continue. If the problem modification plan is agreed with the customer, but deviates from the original requirements, the script needs to be modified and debugged before regression testing.

8. Summary

 Thank you to everyone who reads my article carefully. There is always a courtesy. Although it is not a very valuable thing, if you can use it, you can take it directly:

 

These materials should be the most comprehensive and complete preparation warehouse for [software testing] friends, and this warehouse also accompanies Thousands of test engineers have gone through the most difficult journey, and I hope it can help you!Friends in need can click on the small card below to receive it 

 

Guess you like

Origin blog.csdn.net/kk_lzvvkpj/article/details/134880620