System test case generation method and system, processing equipment and storage medium

By identifying and classifying elements in web pages, building hyperlink association diagrams and metatest case sets, the problem of low degree of system test automation is solved, efficient system test case generation and automated testing is achieved, and product quality and test coverage are ensured. Spend.

CN119473896APending Publication Date: 2025-02-18CRSC COMM & INFORMATION GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411573598.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing technology has low degree of automation in system testing and mainly relies on manual testing, resulting in low testing efficiency and delayed product delivery. Automation is mainly concentrated in performance testing and regression testing, and the degree of automation of system testing is insufficient.

Method used

By traversing the HTML code of the web page, obtaining and identifying all elements, building a hyperlink collection and hyperlink jumping adjacency matrix of the association graph, generating operable interactive code, packaging it into a metatest case set, and assigning it to the software product Requirements specifications in the functional points.

Benefits of technology

It realizes the automated generation of system test cases, improves testing efficiency, ensures product quality, fully covers the functional points and business processes of software products, and avoids the incompleteness of automated test cases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473896A_ABST
    Figure CN119473896A_ABST
Patent Text Reader

Abstract

The invention relates to a system test case generation method and system, a processing device and a storage medium, and the method is characterized in that the method comprises the steps: traversing HTML codes of a whole Web page, obtaining all elements in the Web page, carrying out the recognition and classification of the obtained elements, and constructing a hyperlink set; determining an adjacent matrix of the hyperlink jump association graph based on the hyperlink set; traversing the next page of the software product pointed by each hyperlink, generating an operable interaction code, and packaging the interaction code into a meta test case set based on the adjacent matrix of the hyperlink jump association graph; according to the method, interaction codes in the meta-test case set are distributed to all the function points in the requirement specification of the software product, and the interaction codes form test cases for verifying the function points, so that the matching efficiency of the meta-test case set and the function points in the requirement specification can be improved; the method can be widely applied to the technical field of automatic testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated testing technology, and in particular to a system test case generation method, system, processing equipment and storage medium. Background Art

[0002] With the rapid development of information software technology, a large number of application software have been put into production to serve all aspects of social life. Before software delivery, internal testing is often required to ensure that the performance of the application software meets customer expectations and needs. The importance of the testing link is not only reflected in the quality assurance of the application software, but also in the verification of the performance of the application software product, such as usability, operability and compatibility, so as to improve user experience and satisfaction and adapt to social development and market changes. In today's era of rapid development of information technology, new technologies emerge in an endless stream, and the testing requirements for information software are becoming more and more refined and standardized. For example, Figure 1 As shown in the figure, for common V-model software structures, the testing process accounts for nearly half of the software life cycle. In the fierce market competition, companies with strong testing capabilities can launch high-quality products faster and gain market advantages. High-quality testing helps improve customer satisfaction with products and enhance brand loyalty.

[0003] Automated testing is a key component in the software development process. It verifies various aspects of the software by executing predefined test cases through automated tools. Automated testing can quickly execute a large number of test cases. Compared with manual testing, it can significantly increase the speed and frequency of testing and cover a wider range of test scenarios, thereby reducing the time and human resources required for manual testing and reducing costs. Automated testing provides consistent test results, and the same results can be obtained every time the same test case is executed. Currently, automation in the testing phase is using artificial intelligence and machine learning to achieve super automated testing and discover defects early in the development life cycle. Unit test automation focuses on testing the smallest testable part of the software, usually a single function or method, to ensure that each unit of the code works as expected and to find errors and problems in the code. Unit testing has strong independence and repeatability. Automated unit testing can cover a large number of test cases and can be easily integrated into the continuous integration / continuous deployment process. Therefore, unit testing often has a high degree of automation. Integration test automation checks the interaction and function of multiple software units or components when they are integrated together, ensuring that different components or modules can work together correctly and discovering problems at the interface and integration level. Although integration testing can also be automated, the construction of the test environment and the preparation of test data may be more complicated due to the involvement of more components. Therefore, the degree of automation of integration testing may be lower than that of unit testing, but it can still be achieved through automation tools and frameworks. System test automation tests the complete, integrated software system to verify that the system meets the specified requirements, ensures that the entire system runs correctly as a whole, and meets the needs of users. System testing includes user interface testing, end-to-end testing, and performance testing, which often require simulating real user behavior and complex test scenarios. Due to the complexity and wide coverage of system testing, automated system testing may face more challenges.

[0004] At present, most of the existing automated testing methods are concentrated in the unit testing and integration testing process. In system testing, the complex scenarios faced are mainly carried out by manual testing. A large amount of repetitive testing work not only consumes manpower and material resources, but also is not conducive to timely delivery of products. Automation of system testing is only common in performance testing and regression testing. In order to improve the efficiency of the entire testing phase, ensure product quality, and accelerate the advancement of the life cycle, it is particularly important to gradually and comprehensively improve the automation level of the system testing process. Summary of the invention

[0005] In view of the above problems, the purpose of the present invention is to provide a system test case generation method, system, processing device and storage medium, which can realize the generation of automated test cases for system testing and improve the efficiency of the testing phase.

[0006] To achieve the above object, the present invention adopts the following technical solutions: In a first aspect, a method for generating a system test case is provided, comprising: Traverse the HTML code of the entire web page, obtain all elements in the web page, identify and classify the obtained elements, and build a hyperlink set; Based on the hyperlink set, determine the adjacency matrix of the hyperlink jump association graph; Traverse the next page of the software product pointed to by each hyperlink, generate operable interactive code, and package the interactive code into a meta-test case set based on the adjacency matrix of the hyperlink jump association graph; All functional points in the software product's requirement specification are assigned interaction codes in the meta-test case set, and the interaction codes constitute test cases to verify the functional points.

[0007] Furthermore, the traversal of the HTML code of the entire Web page, obtaining all elements in the Web page, identifying and classifying the obtained elements, and constructing a hyperlink set includes: Use a script written in Python to traverse the HTML code of the entire web page and obtain all elements of the web page through Web Crawler; Extract element information from the HTML code of a web page through the Python library; According to the obtained element information of all elements, all elements are identified and classified, and a hyperlink set is constructed.

[0008] Furthermore, the Python library uses Beautiful Soup.

[0009] Furthermore, the step of determining the adjacency matrix of the hyperlink jump association graph based on the hyperlink set includes: The hyperlink set composed of all hyperlinks constitutes a hyperlink jump association graph; The hyperlink jump association graph is labeled to form an adjacency matrix of the hyperlink jump association graph to provide logical relationships.

[0010] Furthermore, labeling the hyperlink jump association graph to form an adjacency matrix of the hyperlink jump association graph includes: Assign a value to each hyperlink. Assume that there are n hyperlink jump pages in total, and the kth hyperlink page is set to H k , establish the adjacency matrix A of the hyperlink jump association graph according to n hyperlink pages; The adjacency matrix A is an n×n dimensional square matrix. If the i-th hyperlink page can jump to the j-th hyperlink page, the value of the i-th row and j-th column of the square matrix is ​​1, and the value of the j-th row and i-th column is -1; if there is no direct jump relationship between the hyperlink pages, the value in the square matrix is ​​0.

[0011] Furthermore, the traversal of the next page of the software product pointed to by each hyperlink generates operable interactive code, and based on the adjacency matrix of the hyperlink jump association graph, packages the interactive code into a meta-test case set, and packages the interactive code into a meta-test case set, including: Traverse the next page of the software product pointed to by each hyperlink, obtain the elements in the page pointed to by the hyperlink, and mark each element with a label; Create an XPath path for all the marked elements under each hyperlink, and generate operable Selenium interaction code based on the attributes of each element; Based on the adjacency matrix of the hyperlink jump association graph, the selenium interaction code is packaged into a meta-test case set and numbered according to the corresponding element labels and framework structures.

[0012] Furthermore, if the meta-test case set can cover all functional points in the software product's requirement specification, then the meta-test case set can fully cover all functional points and business processes; If the meta-test case set cannot fully cover all functional points in the software product's requirement specification, then the software product has functional points that do not meet the requirement specification, and these functional points need to be supplemented and improved to meet the requirements of the requirement specification.

[0013] In a second aspect, a system test case generation system is provided, comprising: A hyperlink set building module is used to traverse the HTML code of the entire Web page, obtain all elements in the Web page, identify and classify the obtained elements, and build a hyperlink set; An adjacency matrix building module is used to determine the adjacency matrix of the hyperlink jump association graph based on the hyperlink set; A meta-test case set generation module is used to traverse the next page of the software product pointed to by each hyperlink, generate operable interactive code, and package the interactive code into a meta-test case set based on the adjacency matrix of the hyperlink jump association graph; The test case determination module is used to assign interaction codes in the meta-test case set to all functional points in the requirement specification of the software product, and the interaction codes constitute test cases for verifying the functional points.

[0014] According to a third aspect, a processing device is provided, comprising computer program instructions, wherein the computer program instructions are used to implement the steps corresponding to the above-mentioned system test case generation method when executed by the processing device.

[0015] In a fourth aspect, a computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions, when executed by a processor, are used to implement the steps corresponding to the above-mentioned system test case generation method.

[0016] The present invention adopts the above technical solution, which has the following advantages: 1. The present invention provides an automated means for generating test cases, thereby improving test efficiency, reducing test time, and ensuring product quality.

[0017] 2. The present invention can obtain the adjacency matrix of the hyperlink association graph by traversing all hyperlinks in the software program, obtain and identify the dependencies between the elements in the software program and the connections between the modules they belong to, which is helpful for the division of elements and improves the matching efficiency of the meta-test case set with the functional points in the requirement specification.

[0018] 3. The present invention provides original materials for the generation of test cases by identifying information such as element tags in HTML, which helps to fully cover the test cases on the web pages.

[0019] 4. The meta-test case set of the present invention can not only ensure the integrity of the test cases, but also cover all functional points and business processes when the software product meets the requirements to ensure comprehensive testing. At the same time, it can also verify whether there are any missing functional items in the software product, thereby preventing the occurrence of incomplete test cases generated automatically from the software side.

[0020] In summary, the present invention can be widely applied in the field of automated testing technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings: Figure 1 It is a schematic diagram of a software life cycle V model provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of a flow chart of a generator test case provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0023] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0024] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.

[0025] At present, most of the existing automated testing methods are concentrated in the unit test and integration test process. In system testing, the complex scenarios faced are mainly carried out by manual testing. A large amount of repeated testing work not only consumes manpower and material resources, but also is not conducive to the timely delivery of products. The automation of system testing is only common in performance testing and regression testing. In order to improve the efficiency of the entire testing phase, ensure product quality, and accelerate the advancement of the life cycle, it is particularly important to gradually and comprehensively improve the automation level of the system testing process. An embodiment of the present invention provides a system test case generation method, including: traversing the HTML code of the entire Web page, obtaining all elements in the Web page, and identifying and classifying the obtained elements to construct a hyperlink set; based on the hyperlink set, determining the adjacency matrix of the hyperlink jump association graph; traversing the next page of the software product pointed to by each hyperlink, generating operable interactive code, and based on the adjacency matrix of the hyperlink jump association graph, packaging the interactive code into a meta test case set; allocating the interactive code in the meta test case set to all functional points in the software product's requirement specification, and the interactive code constitutes a test case for verifying the functional point. The present invention can obtain the adjacency matrix of the hyperlink association graph by traversing the HTML code of the entire Web page and traversing all hyperlinks in the software program, and obtain and identify the dependency relationship between each element in the software program and the connection between the modules to which they belong, which is helpful for the division of elements and improves the matching efficiency of the meta-test case set with the functional points in the requirement specification.

[0026] Example 1 like Figure 2 As shown, this embodiment provides a method for generating a system test case, comprising the following steps: 1) Traverse the HTML (Hypertext Markup Language) code of the entire Web page, obtain all elements in the Web page, identify and classify the obtained elements, and build a hyperlink set, specifically: 1.1) Use a script written in Python to traverse the HTML code of the entire web page and obtain all elements in the web page through WebCrawler.

[0027] Specifically, elements refer to the basic building blocks that make up a web page. The information displayed on a web page is composed of elements. Each element has different attributes and different functions. Elements can be classified according to their tags, and hyperlinks are a special element in HTML that can jump from one page to another. These reachable hyperlinks can obtain related hyperlink information after being visited.

[0028] 1.2) Extract element information from the HTML code of a web page through the Python library.

[0029] Specifically, element information includes tags, attributes, text content, closing method, global attributes and event attributes, etc. The element information is in the HTML code of the Web page.

[0030] Specifically, the Python library may employ Beautiful Soup.

[0031] 1.3) Based on the element information of all elements obtained, all elements are identified and classified, and a hyperlink set is constructed.

[0032] Specifically, the categories of elements include text content (paragraph p, headings h1 to h6, line breaks br), metadata (title title, link link), grouped content (partition div, section section, header header, footer footer), forms (table table, control label label, input input, button button, image img), multimedia (audio audio, video video, media source), and others (hyperlink a, superscript sub, subscript sup), etc.

[0033] 2) Based on the hyperlink set, determine the adjacency matrix of the hyperlink jump association graph, specifically: 2.1) A hyperlink set consisting of all hyperlinks is constructed into a hyperlink jump association graph to determine the association relationship between the hyperlinks.

[0034] Specifically, for the hyperlink set obtained by the Web Crawler traversal, each derived hyperlink is jumped by clicking a button on the page led by the previous hyperlink, so in the hyperlink set, each hyperlink points to the previous parent hyperlink and multiple child hyperlinks it can lead to. All hyperlinks are connected together in a graph to form a hyperlink jump association graph.

[0035] 2.2) Label the hyperlink jump association graph to form an adjacency matrix of the hyperlink jump association graph to provide logical relationships.

[0036] Specifically, the hyperlink jump association graph is labeled, that is, each hyperlink is assigned a value. Assuming that there are n hyperlink jump pages in total, the kth hyperlink page is set to H k, the adjacency matrix A of the hyperlink jump association graph is established based on n hyperlink pages. The adjacency matrix A is an n×n dimensional square matrix. If the i-th hyperlink page can jump to the j-th hyperlink page, the value of the i-th row and j-th column of the square matrix is ​​1, and the value of the j-th row and i-th column is -1; if there is no direct jump relationship between the hyperlink pages, the value in the square matrix is ​​0. Due to the above characteristics, the adjacency matrix of the hyperlink jump association graph is an antisymmetric matrix, which can clearly describe the logical relationship between each hyperlink page in the Web page. This logical relationship can not only reflect the dependency relationship between each element, but also reflect the connection between the module to which the element belongs and the functional point.

[0037] 3) Traverse the next page of the software product pointed to by each hyperlink, generate operable selenium interaction code, and package the selenium interaction code into a meta-test case set based on the adjacency matrix of the hyperlink jump association graph, specifically: 3.1) Traverse the next page of the software product pointed to by each hyperlink, obtain the elements in the page pointed to by the hyperlink, and mark each element with a label.

[0038] Specifically, traverse the next page pointed to by all hyperlinks. If there are still hyperlink elements in the next page, continue to traverse iteratively until all pages in the entire software product are traversed. Each individual page includes several elements to display the information of the page, and multiple pages are connected through hyperlink jumps. If you want to obtain information from all pages through one page, you must first traverse the first page, and then traverse the pages pointed to by the hyperlinks in the page in turn. Since the relationship between all pages is reachable (the concept of graph theory), the information of all pages and the elements they contain can be obtained through hyperlink traversal.

[0039] 3.2) Create an XPath (XML Path Language) path for all the annotated elements under each hyperlink, and generate operable Selenium interaction code based on the attributes of each element.

[0040] Specifically, operable selenium interaction codes are generated, for example, elements of text labels can establish operations such as clearing text and inputting text information, and elements of clickable labels can establish click operations.

[0041] 3.3) Based on the adjacency matrix of the hyperlink jump association graph, the selenium interaction code is packaged into a meta-test case set and numbered according to the corresponding element tags and framework structures. The meta-test case set can represent the process of each operation of the Web page.

[0042] 4) Assign interaction codes in the meta-test case set to all functional points in the software product's requirement specification, and the interaction codes constitute test cases to verify the functional points.

[0043] Specifically, each element can realize several functions in the meta-test case set through the corresponding interaction code it generates, while the functional points in the requirement specification need to be fully covered by the test cases.

[0044] Specifically, if the meta-test case set can cover all functional points in the software product's requirement specification, then the meta-test case set can fully cover all functional points and business processes to ensure comprehensive testing; if the meta-test case set cannot fully cover all functional points in the software product's requirement specification, then the software product has functional points that do not meet the requirements of the requirement specification, and these functional points need to be supplemented and improved to meet the requirements of the requirement specification.

[0045] Example 2 This embodiment provides a system test case generation system, including: The hyperlink set building module is used to traverse the HTML code of the entire Web page, obtain all elements in the Web page, identify and classify the obtained elements, and build a hyperlink set.

[0046] The adjacency matrix building module is used to determine the adjacency matrix of the hyperlink jump association graph based on the hyperlink set.

[0047] The meta-test case set generation module is used to traverse the next page of the software product pointed to by each hyperlink, generate operable interactive code, and package the interactive code into a meta-test case set based on the adjacency matrix of the hyperlink jump association graph.

[0048] The test case determination module is used to assign interaction codes in the meta-test case set to all functional points in the requirement specification of the software product, and the interaction codes constitute test cases for verifying the functional points.

[0049] The system provided in this embodiment is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for specific processes and detailed contents, which will not be repeated here.

[0050] Example 3 This embodiment provides a processing device corresponding to the system test case generation method provided in Embodiment 1. The processing device can be applicable to a client processing device, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of Embodiment 1.

[0051] The processing device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The memory stores a computer program that can be run on the processing device, and the processing device executes the system test case generation method provided in this embodiment 1 when running the computer program.

[0052] In some implementations, the memory may be a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage.

[0053] In some other implementations, the processor may be a central processing unit (CPU), a digital signal processor (DSP), or other general-purpose processors of various types, which are not limited herein.

[0054] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0055] Those skilled in the art will understand that the structure of the above-mentioned computing device is only a partial structure related to the solution of the present invention, and does not constitute a limitation on the computing device to which the solution of the present invention is applied. The specific computing device may include more or fewer components, or combine certain components, or have a different arrangement of components.

[0056] Example 4 This embodiment provides a computer program product corresponding to the system test case generation method provided in Embodiment 1. The computer program product may include a computer-readable storage medium on which computer-readable program instructions for executing the system test case generation method described in Embodiment 1 are loaded.

[0057] Computer readable storage media can be tangible devices that hold and store instructions used by instruction execution devices. Computer readable storage media can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any combination thereof.

[0058] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.

[0059] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0060] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0061] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0062] The above embodiments are only used to illustrate the present invention, wherein the structure, connection mode and manufacturing process of each component may be changed. Any equivalent transformations and improvements based on the technical solution of the present invention should not be excluded from the protection scope of the present invention.

Claims

1. A method for generating system test cases, characterized in that: include: Traverse the HTML code of the entire web page, obtain all elements in the web page, identify and classify the obtained elements, and build a hyperlink set; Based on the hyperlink set, determine the adjacency matrix of the hyperlink jump association graph; Traverse the next page of the software product pointed to by each hyperlink, generate operable interactive code, and package the interactive code into a meta-test case set based on the adjacency matrix of the hyperlink jump association graph; All functional points in the software product's requirement specification are assigned interaction codes in the meta-test case set, and the interaction codes constitute test cases to verify the functional points.

2. A system test case generation method as claimed in claim 1, characterized in that: The traversal of the HTML code of the entire Web page, obtaining all elements in the Web page, identifying and classifying the obtained elements, and constructing a hyperlink set includes: Use a script written in Python to traverse the HTML code of the entire web page and obtain all elements of the web page through Web Crawler; Extract element information from the HTML code of a web page through the Python library; According to the obtained element information of all elements, all elements are identified and classified, and a hyperlink set is constructed.

3. A method for generating system test cases according to claim 1, characterized in that: The Python library uses Beautiful Soup.

4. A method for generating system test cases according to claim 1, characterized in that: The step of determining the adjacency matrix of the hyperlink jump association graph based on the hyperlink set includes: The hyperlink set composed of all hyperlinks constitutes a hyperlink jump association graph; The hyperlink jump association graph is labeled to form an adjacency matrix of the hyperlink jump association graph to provide logical relationships.

5. A method for generating system test cases as claimed in claim 4, characterized in that: The step of labeling the hyperlink jump association graph to form an adjacency matrix of the hyperlink jump association graph includes: Assign a value to each hyperlink. Assume that there are n hyperlink jump pages in total, and the kth hyperlink page is set to H k , establish the adjacency matrix A of the hyperlink jump association graph according to n hyperlink pages; The adjacency matrix A is an n×n dimensional square matrix. If the i-th hyperlink page can jump to the j-th hyperlink page, the value of the i-th row and j-th column of the square matrix is ​​1, and the value of the j-th row and i-th column is -1; if there is no direct jump relationship between the hyperlink pages, the value in the square matrix is ​​0.

6. A system test case generation method as claimed in claim 1, characterized in that: The traversal of the next page of the software product pointed to by each hyperlink generates operable interactive code, and based on the adjacency matrix of the hyperlink jump association graph, packages the interactive code into a meta-test case set, and packages the interactive code into a meta-test case set, including: Traverse the next page of the software product pointed to by each hyperlink, obtain the elements in the page pointed to by the hyperlink, and mark each element with a label; Create an XPath path for all the marked elements under each hyperlink, and generate operable Selenium interaction code based on the attributes of each element; Based on the adjacency matrix of the hyperlink jump association graph, the selenium interaction code is packaged into a meta-test case set and numbered according to the corresponding element labels and framework structures.

7. A method for generating system test cases according to claim 1, characterized in that: If the meta-test case set can cover all functional points in the software product's requirement specification, then the meta-test case set can fully cover all functional points and business processes; If the meta-test case set cannot fully cover all functional points in the software product's requirement specification, then the software product has functional points that do not meet the requirement specification, and these functional points need to be supplemented and improved to meet the requirements of the requirement specification.

8. A system test case generation system, characterized in that: include: A hyperlink set building module is used to traverse the HTML code of the entire Web page, obtain all elements in the Web page, identify and classify the obtained elements, and build a hyperlink set; An adjacency matrix building module is used to determine the adjacency matrix of the hyperlink jump association graph based on the hyperlink set; A meta-test case set generation module is used to traverse the next page of the software product pointed to by each hyperlink, generate operable interactive code, and package the interactive code into a meta-test case set based on the adjacency matrix of the hyperlink jump association graph; The test case determination module is used to assign interaction codes in the meta-test case set to all functional points in the requirement specification of the software product, and the interaction codes constitute test cases for verifying the functional points.

9. A processing device, characterized in that: The method comprises computer program instructions, wherein the computer program instructions are used to implement the steps corresponding to the system test case generation method according to any one of claims 1 to 7 when executed by a processing device.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, wherein the computer program instructions, when executed by a processor, are used to implement the steps corresponding to the system test case generation method according to any one of claims 1 to 7.