Automatic test case design method

By establishing a test data center and defining data rule sets in automated testing, dynamic data generation and adaptation are achieved, which solves the problems of data staticity and complexity in automated test case design and maintenance, and improves testing efficiency and quality.

CN118760602APending Publication Date: 2024-10-11SHANGHAI STOCK COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410913870.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing automated test case design and maintenance has problems such as static data, high maintenance difficulty, strong binding between data and use cases, complex data relationships, and lack of flexibility and scalability, making it difficult to guarantee test efficiency and quality.

Method used

By establishing a test data center, defining data rule sets and application variables, generating business data, and using dynamic data reference and rule-based processing, automatic data generation and dynamic adaptation of test cases are achieved, reducing manual intervention and error risks.

Benefits of technology

It improves the efficiency of automated test case generation and data coverage, reduces manual testing costs and automated testing thresholds, and improves test quality and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760602A_ABST
    Figure CN118760602A_ABST
Patent Text Reader

Abstract

The invention relates to the field of automatic testing, in particular to an automatic test case design method, which comprises the following steps of: generating business data through a test data service, associating data reference by defining a search rule, and establishing a mapping relationship with the search rule by defining a business variable. And finally, performing business variable configuration in the field of the test case to determine the relationship of the business data, wherein the data searched through the business rule has randomness in each test execution. The method has the advantages that full coverage of test service data is realized, the data can be generated as required under the condition of insufficient data, and the consumption demand of the test data is met; the data design process and the data selection error problem are shielded, the test coverage range is expanded, the test case readability is improved, and the test case is easy to maintain; by defining a rule application component, dynamic adaptation of use case data parameters is achieved, and usability and visualization of use case design functions are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of automated testing, and in particular to an automated test case design method. Background Art

[0002] As the scale of software continues to expand, new business demands are increasing rapidly, and the number of software version releases is increasing in a step-by-step manner. Conventional testing methods are too dependent on the accumulation of manpower and are no longer able to match the production and release speed of growing companies. Testing efficiency and software quality are increasingly not guaranteed. While demanding productivity from technology, the improvement of testing process methods is also an effective means to promote the advancement of testing technology. Automated testing has greatly improved software testing efficiency. However, old automated testing still faces many challenges in use case design and maintenance. In order to promote the upgrade of testing methods and achieve the expected results of automated testing with limited resource investment, how to optimize the testing process, adjust the testing strategy, and introduce advanced technical means, improve testing efficiency and quality, match the current status and future trends of testing, and promote the upgrading of the testing industry has become an urgent problem for major software development companies.

[0003] The development of automated testing technology has gone through four important stages, such as Figure 1 As shown. The first generation of automated testing technology is mainly manual, with some scripts to assist testing. The automated use cases are designed based on Excel tables, and the use case maintenance is difficult. In order to solve the problem of insufficient automation, the second generation of automated testing technology is based on scripts and code frameworks. Although the automation rate has been improved, the integration of business into the code has increased the difficulty of use case maintenance. Test developers need to have rich business capabilities to develop more suitable test scripts, and testers need to master more development technologies to complete independent execution. The third generation of automated testing technology is applied to the organization through global design and architecture by specialized architects through research and combined with the characteristics of the system under test. Its test management and execution are based on a static automated testing platform. Test scripts and test frameworks rely on platform management. Use cases and test data are included in the platform, and management and execution are standard and flexible. The fourth generation of automated testing technology is based on the third generation, fully considering the independence of data and the dynamic characteristics of data references. The data is independently designed, and the scalability and effectiveness of the data are fully considered. Through regular processing based on business characteristics, automated testing is more flexible and random. It can not only cover the scope of the third generation of testing, but also make the test process scalable through the reference of random data, and detect whether random characteristics cause uncertainty to the system under test.

[0004] Excel has rich data processing and analysis capabilities. Excel uses localized operations, which are simple to operate, easy to modify, and highly efficient in single management. However, the use case data managed by Excel is usually static data, and the data is strongly bound to the use case. The larger the test data volume and the more complex the data relationship, the more difficult it is to maintain and manage the use case management using Excel. The design and management of use cases through automated scripts can improve the efficiency and accuracy of testing, while reducing manual operations and human errors, with certain flexibility and increasing the dynamic nature of data. However, the design and management of use cases through scripts requires testers to have script development, maintenance, and management capabilities, or requires management and maintenance through a dedicated test development team, and requires increased communication between script developers and test business personnel. The functions will be more complete when using professional tools or platforms to design, manage, and execute use cases. For example, the automated testing platform includes functions such as test case management, test plan management, defect tracking, and report generation. This method improves test efficiency and accuracy, and can provide better project management and collaboration capabilities. However, the methods used by the old platform are insufficient in terms of data dynamics, functional portability, and easy operation of the online interface, and cannot meet the growing and rapidly changing testing needs. Summary of the invention

[0005] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method for designing automated test cases to improve the efficiency of generating automated test cases and increase test data samples, thereby reducing manual testing costs and automated testing thresholds and improving test quality.

[0006] In order to achieve the above objectives, an automated test case design method is designed. The method generates business data through a test data service, associates data references by defining search rules, establishes a mapping relationship with the search rules by defining business variables, and finally configures business variables in the fields of the test case to determine the relationship to the business data. The data searched by the business rules are random in each test execution.

[0007] Preferably, the specific steps described in the present invention are as follows: S1. Establish a data center: analyze data types, design data models, generate basic data, and import the above basic data into a data warehouse; S2. Plan a data rule set: define number selection rules, define application variables, and establish a mapping link between number selection rules and application variables, wherein the number selection rules include general rules and complex rules; S3. Design test cases: design test cases through a case management module, and replace variables through dynamic data requirements; S4. Generate and use data: generate test data and prepare for test execution, wherein the test data generated according to the rules includes two generation modes: generation before execution and generation during execution.

[0008] Preferably, the specific steps for establishing the data center in S1 of the present invention are as follows: S11. Analyze data types: Test analysts count and classify data through different dimensions of the tested system, including business functions, processes, technical rules, properties and uses, and determine data instances according to the importance and frequency of use of the data; S12. Design data model: Through step S11, business specifications of data are manually formulated according to business classification, basic data is automatically generated initially, and then the rules are matched in the use case to selectively call the collection of basic data. For the business types and belonging ranges of different systems, corresponding business specification data models are designed to generate test data, analyze the basic attributes of the tested system and the test plan, and directly generate basic data sets according to system characteristics and the system data model and business rules; S13. Abstract number selection rules: abstract the rules for selecting data from the basic data set, analyze the current business test requirements and future expansion requirements, concretize the data requirement items, and establish a condition library for obtaining data through the data center. The logical layer is SQL splicing, and the bottom layer is SQL query. These rules need to consider business specifications and use case requirements. In each test case, these rule statements are used to call the specified data in the basic data set; S14 generates basic data and imports it into the data warehouse: the data is divided into basic data and derived data. The basic data includes the most basic entity information. The basic data participates in the most basic business process of the system. The derived data is derived and generated with the support of the basic data to meet higher-level business and functional requirements.

[0009] Preferably, the specific planning and design method of the data planning set of the present invention is as follows: S21. Data rule definition: Data rules are visual SQL components created by the test platform data management module through the visual rule definition module according to the test case business data requirements. Users define rule attributes by analyzing the basic data of the system and combining business characteristics; S22. Data selection: Select fields with typical characteristics and define them as candidate conditions; S23. Test case visualization: Set up an online interface including a convenient case writing module, an execution module and a result viewing module such as Excel used locally. The writing module provides a visual interface design tool for testers to easily write and adjust test cases. The execution module provides a multi-mode automated execution function for testers to quickly execute test cases. The result viewing module provides detailed result display and report generation; S24. Dynamic data application solution: The automated test includes two data application modes: independently generating full test data and generating local data according to variable rules during execution. Independently generating full test data means generating test data for all test cases in the test plan according to data rules at one time into the test data plan library, and then allocating the generated data according to tasks during execution to realize the test execution process. Generating local data according to variable rules during execution means finding the set rules according to the set variables when executing a certain step of the test plan, and obtaining data in real time according to the rules, and then completing the test execution process.

[0010] Compared with the prior art, the present invention has the following advantages: 1. Public data is uniformly managed through the test data center to achieve full coverage of test business data. When data is insufficient, it can be generated on demand to meet the test data consumption needs.

[0011] 2. Data and number selection behavior are separated through data rules. Test data is dynamically selected through rules, which shields errors in the data design process and data selection. The test coverage is expanded, the readability of test cases is improved, and the test case maintenance is simple.

[0012] 3. By defining rule application components, dynamic adaptation of use case data parameters can be achieved, improving the usability and visualization of use case design functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 , is a schematic diagram of the development stages of automated test case design; Figure 2 , is a test case design flow chart based on configurable rules; Figure 3 , is the basic data, and the derived data generation process diagram; Figure 4 , is a rule definition list diagram; Figure 5 , is the product rule condition setting diagram; Figure 6 , is the use case designer instance diagram; Figure 7 , is the actual calling code instance diagram of the underlying rules; Figure 8 , is an example of how the rules are presented in the use case. DETAILED DESCRIPTION

[0014] In order to make the purpose, principle and structure of the present invention more clear, it is further described below in conjunction with the drawings and specific embodiments.

[0015] The present invention provides an automated test case design method, the main path of which is to generate business data through test data services, associate data references by defining search rules, establish a mapping relationship with the search rules by defining business variables, and finally configure business variables in the fields of the test case to determine the relationship to the business data, and the data searched by the business rules are random in each test execution. This method introduces the concepts of business rules and variable references, a new test case design pattern, and has been improved in terms of visualization, ease of operation, readability and maintainability, and automatic generation of test data. The present invention aims to improve the generation efficiency of automated test cases and increase test data samples, significantly reduce the cost of manual testing and the threshold of automated testing, thereby improving test quality. Its specific implementation is described as follows: 1. Test case implementation process based on new automated testing concepts See also Figure 2 The entire design solution includes the following steps: Step S01: Establish a data center. Analyze data types, design data models, generate basic data, and import them into the data warehouse.

[0016] Step S02: Plan the data rule set, define the number selection rules, define the application variables, and establish the rule and variable mapping link, where the number selection rules are divided into general rules and complex rules.

[0017] Step S03: Design test cases. Design test cases based on the case management module and perform variable substitution based on dynamic data requirements.

[0018] Step S04: Generate and use data. Generate test data and prepare for test execution, wherein the test data generated according to the rules supports two generation modes: generation before execution and generation during execution.

[0019] 2. Test case design implementation plan based on configurable rules To establish a test case design method based on configurable rules, it is necessary to define and configure the data center and data rule set, and to cover the data required for the business scenario through technical classification, process summary, data calculation, etc. This proposal is designed and implemented from the aspects of data center, rule design, test case configuration, etc.

[0020] 2.1. Data Center Implementation Plan The construction of a data center mainly involves the definition, storage, generation, conversion, management, and use of test data-related rules. Its main purpose is to reduce the difficulty of data maintenance through automated component technology and ensure that test data remains synchronized. Building a data center and providing unified data services can ensure the centralized and unified supply of data and avoid data inconsistency and repeated data construction problems. The construction of a data center is completed in the following steps: Step S01: Analyze data types The systems under test are generally highly professional and their businesses are industry-specific. Their data samples are diverse and their data relationships are intricate. How to collect and clean data and classify commonly used data is related to the accuracy and rationality of data model construction. When designing use cases for third-generation testing technology, the data used is mostly based on certain technical rules (such as permutations and combinations, random numbers). The generated data is separated from business rules and cannot ensure data duplication and conflict when used. This case requires test analysts to count and classify the data that may be used based on different dimensions such as the business functions, processes, technical rules, nature and purpose of the system under test, and determine data instances according to importance and frequency of use.

[0021] Step S02: Design data model Since many professional systems belong to the field of strong data relationship coupling and complex rules, there is a certain probability that duplication and errors will occur if they are randomly generated simply by combining and arranging use cases. Therefore, the strategy selected by this proposal is: through step S01, according to the business classification, the business specifications of the data are manually formulated, the basic data will be automatically generated initially, and then the collection of this part of the basic data will be selectively called in the use case in accordance with the rules. According to the business types and belonging scopes of different systems, the corresponding business specification data model is designed to generate test data.

[0022] Analyze the basic properties of the system under test and the test solution, and generate the basic data set directly according to the system characteristics and the system's data model and business rules. This part of the data needs to strictly follow the data format and attribute requirements. For example, a securities company (each securities company has one or more PBUs, that is, trader participation business units, which are used to log in to the exchange backend to submit orders through the counter system) sends an order application to the exchange's core trading system after receiving a request from a securities buyer (investor). After the stock exchange verifies the account, authority, number of stocks, securities products, etc., it matches the transaction through the securities matching system according to the relevant trading principles, notifies the securities company and the data collection system of the matching results, and synchronizes the transaction price to the securities quotation system. The PBU (trading seat), investor account, and trading product (stocks, funds, bonds, etc.) mentioned here are the basic data models.

[0023] Step S03: Abstract number selection rules: Abstract the rules for selecting data from the basic data set, that is, analyze the current business test requirements and future expansion requirements, and concretize the data requirement items, that is, establish a condition library that can obtain data through the data center. The logical layer is SQL splicing and the bottom layer is SQL query. These rules need to consider business specifications and use case requirements. In each test case, these rule statements are used to call the specified data in the basic data set. Some commonly used rules can be extracted for reuse in use cases.

[0024] For example, for "Account Rules", first add the common screening rules for all accounts in the "Public Account Rules", such as filtering "Accounts are designated" accounts, and then create new rules for each different type of account to distinguish "A Account", "H Account", etc.

[0025] Step S04: Generate basic data and import into the data warehouse: See also Figure 3 ,Data can be roughly divided into two categories: basic data and derived data.

[0026] Basic data includes the most basic entity information, such as PBU information, account information, and product information in the stock exchange bidding trading system. These data participate in the most basic business processes of the system. Derivative data is derived and generated with the support of basic data to meet higher-level business and functional requirements, such as PBU permissions for different businesses and product portfolio permission allocation.

[0027] Each system needs to clarify the business scenarios that need to be covered and the basic data types involved according to its own testing requirements. Then, the necessary basic data is generated using random and other algorithms. The generation process needs to consider multiple factors such as data type, quantity, and dependencies to achieve a balance between authenticity and randomness.

[0028] After the basic data is generated, the system will continue to generate the corresponding derivative data in sequence based on the internal logical relationship. For example, after generating several PBUs, you can configure the connection circle and permission information of these PBUs. During the generation of all basic data and derivative data, format and business rule verification is required to ensure that the generated data is valid.

[0029] In addition, we also need to consider the data interaction closed loop between systems. If there is a coupled data demand between the upstream and downstream systems, this part of the data can be generated step by step in an iterative manner from upstream to downstream. If it is unrelated data, it can be generated together in the initial stage.

[0030] The generated data will all be imported into the data warehouse based on the created data model, and the data warehouse will uniformly manage the status, application, and return of the data.

[0031] 2.2. Data rule set design In the process of generating dynamic test data, the test data is processed in a regularized manner by establishing a data rule base. Specifically, the flexibility, accuracy and consistency of the test data are ensured according to the test requirements and business rules. Then, when generating dynamic test data, the data is verified and corrected according to the data rules to improve the accuracy and quality of the test. The design of the data rule set mainly involves the identification, definition, condition selection, management and use of data rules. Compared with the dynamic data design scheme, the data is defined by rules, which is more flexible and loose.

[0032] Step S01: Data rule definition Data rules are visual SQL components created by the test platform data management module based on the test case business data requirements and the visual rule definition module. Users define rule attributes by analyzing the basic system data and combining business characteristics, such as A-share accounts. Figure 4 .

[0033] Number selection rules are divided into general rules and complex rules.

[0034] General rules refer to SQL statements that can be constructed directly in the rule configuration module through the interface, and are formed through direct data table association and common conditional statements. It is a rule that can be summarized using conventional methods such as classification and aggregation. It is universal and is often cited when designing use cases. This type of rule is usually applicable to a single data query, or a simple association relationship query between multiple tables, such as supporting left and right join queries of tables. General rules will be encapsulated into a selection component for use case data attributes through common code. In essence, it is to dynamically combine the conditions in the association code and data dictionary into a SQL statement that meets the requirements of the test case execution process. The rule needs to define a variable name (or alias). When designing the test case, the attributes in the use case refer to the rule selection through the variable. When the test is executed, the rule selection function will be triggered to dynamically obtain the data finally obtained by the rule.

[0035] Complex rules refer to SQL statements that cannot be directly constructed in the rule configuration module through the interface, and require users to indirectly associate data tables according to business needs, or use complex conditional statements to construct SQL statements. In the use case design process, the selected data and the test scenarios involved are relatively complex. When selecting numbers, the selected tables and the conditions involved have exceeded the scope of using general methods. There are complex relationship processing of data, combination and screening within conditions, or the efficiency of general rules is extremely low, which cannot meet the timeliness requirements of testing. For such selection, the conditions cannot be met through the general selection components defined by the platform, but this type of selection needs to be achieved through custom SQL. This type of selection is usually used in a very small number of specific use cases and is not universal.

[0036] Step S02: Data selection Select fields with typical characteristics and define them as candidate conditions. For example: the range of data is 1000-10000, the permission is normal, and there is a specified relationship.

[0037] Define the data condition filtering method. This proposal needs to design an interface that supports editing "rules" to select data. Figure 5 This is an example of setting product rule conditions. Figure 5 The rule editing function of the platform is used here. The left side supports the classification of rules, and the right side is the individual rules under each specific classification. The filter conditions used by each rule can be summarized from the filter conditions on the right.

[0038] When you need to select qualified products from the data, you can edit the "Product Rules" to specify the values ​​of each field item and the matching conditions. Each field can cover the attribute information of the product, and the names of these fields are more standardized to facilitate business personnel to understand.

[0039] In order to match different types of field values, the platform provides a variety of matching methods. For numeric field values, you can specify greater than, less than, or equal to a specific value. For character field values, in addition to exact matching, you can also use fuzzy matching and regular expression matching. In addition, it also supports matching using simple SQL conditional statements.

[0040] Once the "Product Rules" are saved, the use cases that use the Product Rules will automatically filter out products that meet the rules based on the specified field values ​​and matching conditions. By setting product rules in this way, you can quickly select the required products according to business needs.

[0041] 2.3. Test case visualization design scheme In the process of implementing automated test cases, by designing a concise and clear online interface, testers can easily and quickly write, execute and view test cases. Specifically, the online interface includes a case writing module, an execution module and a result viewing module that are as convenient as using Excel locally. The writing module provides a visual interface design tool, allowing testers to easily write and adjust test cases. The execution module provides multi-mode automated execution functions, allowing testers to quickly execute test cases. The result viewing module provides detailed result display and report generation functions, allowing testers to easily view test results and analysis reports. This proposal is universal, and the specific implementation needs to vary according to the properties of the system under test.

[0042] The rule designer is designed based on the advantages of Excel, has Excel operation features, and supports mutual copy and paste functions. The designer supports display, reminder, selection, and verification according to component features through rule component binding. By introducing rule variables, the test case has good readability and lowers the threshold for test case design. The test case is separated from the test data, and the test data is dynamically generated through the rules introduced by the test case.

[0043] See also Figure 6 Test cases are managed through data structures or lists. Each type or subtype supports setting rule references and variable references, and supports downward transmission. Test cases are separated from test data. Test data is associated with data retrieval rules through defined data variables, or fixed data is directly determined. Data variables support basic mathematical operations. Test cases reference specific data by associating test data row numbers or groups, and implement test execution through association with keywords in test steps.

[0044] See also Figure 7, the figure shows the actual handling of variables by the automated test platform. In essence, it is to encapsulate the use case design module and shield the technical requirements of the tester. This part is implemented by the platform development and maintenance personnel in the background. What the tester actually sees is Figure 8 , which is achieved by selecting or editing the rule-based configuration in the use case designer.

[0045] The introduction of configurable rule-based components has greatly enhanced the readability and maintainability of test cases, completely separated test cases from data, and adjusted the previous method of maintaining test cases and data at the same time to maintaining test cases and associated rules, which will also improve the ability of testers to quickly respond to changes in requirements. The rule-based design of the test case has high cohesion and low coupling, which can greatly improve the reusability and execution success rate of the test case.

[0046] Overall, the input of the test case is a two-dimensional table with the same structure, field order, type, etc. The two-dimensional table of the old test case maintains static data, while the two-dimensional table maintained in this case maintains various data rules. The fields of the two-dimensional table are the parameters of the test case, some of which are conditional restrictions of the test case, usually filled with static data, and the other fields can be referenced by referring to the defined rule variables, or by combining rule variables with basic mathematical operations to achieve reference to the rule definition.

[0047] In the two-dimensional table, rule variables need to be referenced. The test case design module should provide an interface-based association function to support field association with rule definition. In addition, when selecting field rules, the module should provide intelligent prompts and predict the associated rules to facilitate users to quickly locate and select.

[0048] 2.4. Dynamic data application solutions The automated testing platform should support two data application modes: generating full test data independently and generating partial data according to variable rules during execution. Generating full test data independently means that the platform generates test data for all test cases in the test plan according to data rules at one time into the test data plan library, and then distributes the generated data according to tasks during execution to implement the test execution process. Generating partial data according to variable rules during execution means that when executing a certain step of the test plan, the set rules are found according to the set variables, and data is obtained in real time according to the rules, and then the test execution process is completed.

[0049] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent substitutions or changes according to the technical solutions and novel concepts of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for designing automated test cases, characterized in that The method generates business data through test data services, associates data references by defining search rules, establishes a mapping relationship with the search rules by defining business variables, and finally configures business variables in the fields of the test case to determine the relationship to the business data. The data searched through the business rules are random in each test execution.

2. The method for designing an automated test case according to claim 1, characterized in that The specific steps are as follows: S1. Establish a data center: analyze data types, design data models, generate basic data, and import the above basic data into the data warehouse; S2. Plan data rule set: define number selection rules, define application variables, and establish mapping links between number selection rules and application variables. Number selection rules include general rules and complex rules. S3. Design test cases: Design test cases through the case management module and replace variables through dynamic data requirements; S4. Generate and use data: Generate test data and prepare for test execution. The test data generated according to the rules includes two generation modes: generation before execution and generation during execution.

3. An automated test case design method as claimed in claim 2, characterized in that The specific steps for establishing the data center in S1 are as follows: S11. Analyze data types: Test analysts count and classify data based on different dimensions of the system under test, including business functions, processes, technical rules, properties and uses, and determine data instances based on the importance and frequency of use of the data; S12. Design data model: through step S11, according to the business classification, the business specifications of the data are manually formulated, the basic data is automatically generated initially, and then in the use case, the rules are matched to selectively call the collection of basic data, and the corresponding business specification data model is designed for the business types and belonging scopes of different systems to generate test data, analyze the basic attributes of the tested system and the test plan, and directly generate the basic data set according to the system characteristics and the system data model and business rules; S13. Abstract selection rules: Abstract the rules for selecting data from the basic data set, analyze the current business test requirements and future expansion requirements, concretize the data requirement items, and establish a condition library for obtaining data through the data center. The logical layer is SQL splicing, and the bottom layer is SQL query. These rules need to consider business specifications and use case requirements. In each test case, use these rule statements to call the specified data in the basic data set; S14 generates basic data and imports it into the data warehouse: the data is divided into basic data and derived data. The basic data includes the most basic entity information. The basic data participates in the most basic business processes of the system. The derived data is derived and generated with the support of the basic data to meet higher-level business and functional requirements.

4. An automated test case design method as claimed in claim 2, characterized in that The specific planning and design method of the data planning set is as follows: S21. Data rule definition: Data rules are visual SQL components created by the test platform data management module based on the test case business data requirements through the visual rule definition module. Users define rule attributes by analyzing the basic system data and combining business characteristics. S22. Data selection: select fields with typical characteristics and define them as candidate conditions; S23. Test case visualization: Set up an online interface including a convenient test case writing module, execution module and result viewing module such as using Excel locally. The writing module provides a visual interface design tool to enable testers to easily write and adjust test cases. The execution module provides a multi-mode automated execution function to enable testers to quickly execute test cases. The result viewing module provides detailed result display and report generation. S24. Dynamic data application scheme: The automated test includes two data application modes: independent generation of full test data and generation of local data according to variable rules during execution. Independent generation of full test data means generating test data into the test data plan library at one time for all test cases in the test plan according to data rules, and then allocating the generated data according to tasks during execution to realize the test execution process. Generating local data according to variable rules during execution means finding the set rules according to the set variables when executing a certain step of the test plan, and obtaining data in real time according to the rules, and then completing the test execution process.