Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Automated testing process

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Resource recommendations:

Video resources: series of videos related to software testing

Community Resources: automated Test Communication Group

Automated testing process

1. Develop a test plan

Before launching automated testing, it is best to make a test plan to clarify the test object, test purpose, test project content, test method, test progress requirements, and ensure that the manpower, hardware, data and other resources required for testing are fully prepared. After making the test plan, send it to the use case designer.

two。 Analysis and testing requirements

According to the test plan and requirement specification, the use case designer analyzes the test requirements and designs the test requirements tree so that all the requirement points can be covered in the use case design. Generally speaking, functional testing based on Web needs to cover the following aspects:

1)。 Page link test to ensure that each link is normal

2)。 Page control testing to ensure that each control is reliable

3)。 Page function test to ensure that all operations are normal

4)。 Data processing testing to ensure accurate data display, accurate and reliable processing

5)。 Module business logic testing to ensure that each business process is smooth.

3. Design test cases

By analyzing the test requirements, a test case that can cover all the demand points is designed, and a special test case document is formed. Since not all test cases can be executed with automation, an assembly of use cases that can perform automated tests is needed to automate test cases. When necessary, the user, password, product, customer and other parameter information of the login system should be independently formed to form test data, which is convenient for script development.

4. Set up a test environment

Automated testers can start to build a test environment while the use case design work is carried out. Because scripting automated tests requires recording page controls and adding objects. The construction of the test environment, including the deployment of the system under test, the call of the test hardware, the installation box setting of the test tools, the layout of the network environment, and so on.

5. Write test scripts

According to the degree of difficulty of automated test cases and problems, it is relatively thin to adopt appropriate script development methods to write tests. Generally, the page controls needed for testing are obtained by recording, and then structured statements are used to control the execution of scripts, insert checkpoints and exception decision feedback statements, and separate common functions into shared scripts. wake up and parameterize the data if necessary. Of course, you can also use other advanced features to edit scripts. After the script has been written, it needs to be executed repeatedly and debugged until it is running normally. Scripts should be written and named in accordance with management specifications for unified management and maintenance.

6. Analyze test results and record test problems

The automated test results should be analyzed in time, and testers are advised to set aside a certain amount of time every day to analyze the automated test results in order to find defects as soon as possible. If the open source automated testing tool is used, it is recommended to redevelop it in order to be closely integrated with the defect management tool selected by the testing department. Ideally, after the automated test case fails, the automated test platform will automatically report a defect. The tester only needs to set aside one time each day to determine whether these automatically escalated defects are real system defects. If it is a system defect, submit it to the developer for repair, and if it is not a system defect, check the automated test script or test environment.

Click the link to join the group [Yue sharing testing Alliance]: https://jq.qq.com/?_wv=1027&k=5DiePik

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report