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 Technology QTP basic Series 5]-Overview of Automation

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

Share

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

Brief introduction of automated testing

Automated testing uses software to control the test execution process, compares whether the actual results are consistent with the expected results, sets test preconditions and other test control conditions, and outputs test reports. In general, automated testing needs to automate the formalized manual testing process at an appropriate time, so automated testing is used for regression testing.

The purpose and scope of automated testing

From the point of view of the automated test team, the purpose of automated testing is to develop a set of tools that can support automated testing. The automation team is not only responsible for and implementing a data-driven automated testing framework, but also designing and building automated test suites for regression testing. From the point of view of enterprises, the purpose of automated testing is to improve testing efficiency, reduce the workload of manual testing, and then achieve the purpose of saving testing costs.

The degree to which automated testing needs to be achieved

To what extent does automated testing need to be achieved? This problem has been raised in the most initial stage of the development of automated testing tools. First of all, we must understand the testing process of automated testing tools and the testing process of the system being tested. Testing tools are different from the testing process. Tools are used to facilitate the testing process. Tools can be used to implement a process and implement various specifications of the testing process. In many cases, the built-in programs that come with tools can be understood as processes, but they are often incomplete and do not correctly reflect the process. The best automated testing tools are the ability to align tools with test requirements and provide highly customizable workflows and tracking reporting capabilities. Secondly, we must understand several links involved in the testing process: test planning, test design, test construction, test execution, capture and analysis of test results, verification of test results and giving test reports. In the whole testing process, these activities are inseparable, only by combining these testing links with the automated testing process, can we better determine the degree that automated testing needs to achieve. Finally, automated testing in all areas should ensure that time and cost are adapted to your organization. The higher the degree of automation, the better and more effective the testing process, but the longer the time it takes, the higher the cost. The progress and cost of the project affect the degree of automated testing.

Automated testing framework

An automation framework is a collection of assumptions, constraints, and tools that support automated testing. The biggest advantage of automated testing framework is that it can reduce the cost of test script implementation and maintenance. That is, if the test case changes, you only need to modify the test case file, not to update the script driver and engine driver. The quality of automated testing framework directly affects the success of automated testing.

Assumptions form the basis of automated testing strategies, and the following are common assumptions.

1. The integration tool suite must be the primary test management, planning, development, and implementation tool.

two。 The tool suite must be used to guide and control the execution of tests and to capture, analyze, and report test results.

3. The tool kit must include an optional tool for defect tracking and resolution.

4. The tool kit must include an optional configuration management tool.

5. Configuration management can only manage manual testing and automated test products.

6. All of the above tools must be combined with desktop tools.

7. The desktop-script-development configuration required by the test engineer must be defined and implemented.

8. Test standards must be followed and documented.

Constraints affect the success of automated testing, if you do not pay attention to the following constraints, automated testing will be difficult to succeed.

9. Automation tool set resources must be independent of any manual test set.

10. Whether there are enough staff in the automated test team.

11. For the use of automated tools, the level of coordination and management of the software development team should not be too low.

twelve。 In creating testable applications, you need to collaborate and exchange information with developers.

13. The main version of automated testing is related to the release schedule of automated testing.

Advantages of automated testing

1. Fast:

two。 Reliability.

3. Repeatability

4. Reusability

5. All-round

6. High efficiency

7. No fatigue

Common problems in automated testing

After the introduction of automated testing, many people find that automated testing does not achieve the function that people imagine. The main reasons are as follows.

1. Expectations are too high

two。 Lack of excellent test engineers with good quality and experience

3. Script quality affects Test quality

4. Lack of adequate training for test engineers

5. Blindly introduce testing tools

6. There is no good environment for using testing tools.

7. The version changes frequently and the maintenance of the script is relatively large

Reference material "Automated testing and Framework"

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