Interface and interface automatic test integration method based on deep learning

Through the integrated method of interface and interface automation testing based on deep learning, the comprehensiveness and low efficiency of the test system in the existing technology is solved, and the unified management of test equipment and data is realized, and the integration of manual testing and automated testing is improved, which improves testing efficiency and quality analysis.

CN119557209APending Publication Date: 2025-03-04MINMETALS INT TRUST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411600502.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The failure of the automation testing and interface automation testing in the prior art can effectively cooperate, resulting in problems such as comprehensiveness and low testing efficiency of the test system.

Method used

The integrated method of interface and interface automation testing based on deep learning is adopted. Through the automated test settings of the interface and interface, the testing equipment, tested applications, test cases, test scripts and test data are unified to realize the integrated management of manual testing and automated testing.

Benefits of technology

It improves testing efficiency and experience, realizes unified quality and process measurement analysis, and solves the problems of inconsistent data sharing methods, differences in testing environments, limitations in scenarios and untimely information feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119557209A_ABST
    Figure CN119557209A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of user interface and interface automatic testing, in particular to an interface and interface automatic testing integration method based on deep learning. The scheme comprises the steps of creating a new user and distributing a user role; newly building a project and associating the project with a user; newly establishing an application environment and inputting an environment address; obtaining test equipment according to the test requirements, and creating a test scene; capturing user operation, and generating a test script in an automatic mode; and analyzing a test result, and determining defects and optimization points. According to the scheme, through automatic test setting of the interface and the interface, a user can pay more attention to front-end experience and interaction, and the test efficiency and the experience degree are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of user interface and interface automation testing, and more specifically, to an integrated method for integrating interface and interface automation testing based on deep learning. Background Art

[0002] Interface automation testing focuses on the application's API (Application Programming Interface), that is, the interaction between the application and external systems or components. Its core theme functions include: Interface call: The automation tool simulates the client sending a request to the server to verify whether the interface's response meets expectations. Data verification: Verify the data returned by the interface to ensure the correctness and integrity of the data. Parameterized testing: Improve test coverage by testing different scenarios of the interface using different input parameters. Assertions and verifications: Use assertions to verify whether the interface's response status code, response time, data format, etc. meet expectations. User interface automation testing focuses on the user interface (User Interface), that is, the graphical interface for users to interact with applications. Its core theme functions include: Element positioning: The automation tool needs to be able to accurately locate elements on the page, such as buttons, input boxes, links, etc. Interactive operations: Simulate user operations, such as clicking, inputting, dragging, etc., to test the functions of the user interface. Business process testing: Simulate the user's business process through automated test scripts to ensure the correctness of the entire process. Assertions and verifications: Verify whether the status, attributes, content, etc. of the user interface elements meet expectations. Cross-browser testing: Make sure your app works properly on different browsers and operating systems. Responsive design testing: Test how your app looks on different devices and screen sizes.

[0003] Prior to the present invention, the existing technologies of automated testing and interface automation testing failed to work together effectively, resulting in low comprehensiveness and testing efficiency of the testing system. Specifically, the data sharing method is not unified, the data testing environment is different, the testing has scenario limitations, and the information feedback is not timely. Summary of the invention

[0004] In view of the above problems, the present invention proposes an integrated method of interface and interface automated testing based on deep learning. Through the interface and interface automated testing settings, users can pay more attention to the front-end experience and interaction, thereby improving testing efficiency and experience.

[0005] According to a first aspect of an embodiment of the present invention, a method for integrating interface and interface automation testing based on deep learning is provided.

[0006] In one or more embodiments, preferably, the deep learning-based interface and interface automation test integration method includes:

[0007] Create a new user and assign a user role;

[0008] Create a new project and associate it with a user;

[0009] Create a new application environment and enter the environment address;

[0010] Obtain test equipment according to test requirements and create test scenarios;

[0011] Capture user operations and generate test scripts in an automated manner;

[0012] Analyze test results and identify defects and optimization points.

[0013] In one or more embodiments, preferably, the creating a new user and assigning a user role specifically includes:

[0014] Create a new user and fill in basic user information, including user name, password, and email address;

[0015] Select the user to be assigned a role in the user list, and grant the preset role and permissions to the user;

[0016] Saves the user and their corresponding role assignment settings.

[0017] In one or more embodiments, preferably, the creating a new project and associating it with a user specifically includes:

[0018] Create a new project and enter the project name, description, and start and end dates;

[0019] Select project members to associate the project with the corresponding users of the project members;

[0020] Save the project information and exit.

[0021] In one or more embodiments, preferably, the creating a new application environment and entering the environment address specifically includes:

[0022] Configure a new application environment, including the environment name, description, and environment access address information;

[0023] Save application environment information.

[0024] In one or more embodiments, preferably, acquiring a test device according to test requirements and creating a test scenario specifically includes:

[0025] Fill in an application form, which includes the type, quantity and usage time of the required equipment;

[0026] Create test scenarios, add test cases under specific scenarios, and complete the testing process according to the flow of the test cases.

[0027] In one or more embodiments, preferably, capturing user operations and generating test scripts in an automated manner specifically includes:

[0028] Start the script recording function and run the corresponding test case;

[0029] In the script, the execution process of the corresponding test case is selected through analysis of the business scenario and interface.

[0030] In one or more embodiments, preferably, analyzing the test results to determine defects and optimization points specifically includes:

[0031] Get the corresponding test data;

[0032] Select the report type corresponding to the test scenario;

[0033] Automatically input test data and record test results, including successful and failed test cases and error messages.

[0034] According to a second aspect of an embodiment of the present invention, a deep learning-based interface and interface automation test integration integrated system is provided.

[0035] In one or more embodiments, preferably, the deep learning-based interface and interface automation test integration integrated system includes:

[0036] User management module, used to create new users and assign user roles;

[0037] Project management module, used to create new projects and associate them with users;

[0038] Application environment configuration module, used to create a new application environment and enter the environment address;

[0039] The test equipment management module is used to obtain test equipment according to test requirements and create test scenarios;

[0040] Script recording and execution module, used to capture user operations and generate test scripts in an automated manner;

[0041] View the report module to analyze test results and identify defects and optimization points.

[0042] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.

[0043] According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement any one of the methods described in the first aspect of the embodiment of the present invention.

[0044] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:

[0045] In the solution of the present invention, a standardized application testing management system is established through the unified management of test equipment, tested applications, test cases, test scripts, test data, as well as hierarchical authorization mechanisms for test projects, test personnel, and test tasks.

[0046] In the scheme of the present invention, manual and automatic integrated test management is realized. Both manual testing and automated testing are important means to ensure software quality. Traditional automated testing and manual testing are separated, which has certain drawbacks for statistical analysis of quality caliber. Integrated management of manual testing and automated testing facilitates unified quality and process measurement analysis.

[0047] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 It is a flowchart of an integrated method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0051] Figure 2 This is a flowchart of creating a new user and assigning a user role in a method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0052] Figure 3This is a flowchart of creating a new project and associating it with a user in a method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0053] Figure 4 It is a flowchart of creating a new application environment and entering the environment address in a method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0054] Figure 5 It is a flowchart of acquiring test equipment according to test requirements and creating test scenarios in an integrated method for integrating interface and interface automation testing based on deep learning in one embodiment of the present invention.

[0055] Figure 6 It is a flowchart of capturing user operations in an integrated method for integrating interface and interface automation testing based on deep learning in one embodiment of the present invention to generate test scripts in an automated manner.

[0056] Figure 7 It is a flowchart for analyzing test results, determining defects and optimization points in an integrated method for integrating interface and interface automation testing based on deep learning in one embodiment of the present invention.

[0057] Figure 8 It is a structural diagram of an integrated system for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0058] Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION

[0059] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0061] Interface automation testing focuses on the application's API (Application Programming Interface), that is, the interaction between the application and external systems or components. Its core theme functions include: Interface call: The automation tool simulates the client sending a request to the server to verify whether the interface's response meets expectations. Data verification: Verify the data returned by the interface to ensure the correctness and integrity of the data. Parameterized testing: Improve test coverage by testing different scenarios of the interface using different input parameters. Assertions and verifications: Use assertions to verify whether the interface's response status code, response time, data format, etc. meet expectations. User interface automation testing focuses on the user interface (User Interface), that is, the graphical interface for users to interact with applications. Its core theme functions include: Element positioning: The automation tool needs to be able to accurately locate elements on the page, such as buttons, input boxes, links, etc. Interactive operations: Simulate user operations, such as clicking, inputting, dragging, etc., to test the functions of the user interface. Business process testing: Simulate the user's business process through automated test scripts to ensure the correctness of the entire process. Assertions and verifications: Verify whether the status, attributes, content, etc. of the user interface elements meet expectations. Cross-browser testing: Make sure your app works properly on different browsers and operating systems. Responsive design testing: Test how your app looks on different devices and screen sizes.

[0062] Prior to the present invention, the existing technologies of automated testing and interface automation testing failed to work together effectively, resulting in low comprehensiveness and testing efficiency of the testing system. Specifically, the data sharing method is not unified, the data testing environment is different, the testing has scenario limitations, and the information feedback is not timely.

[0063] In the embodiment of the present invention, a method for integrating interface and interface automated testing based on deep learning is provided. The solution enables users to pay more attention to the front-end experience and interaction through the interface and the automated testing setting of the interface, thereby improving the testing efficiency and experience.

[0064] According to a first aspect of an embodiment of the present invention, a method for integrating interface and interface automation testing based on deep learning is provided.

[0065] Figure 1It is a flowchart of an integrated method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0066] In one or more embodiments, preferably, the deep learning-based interface and interface automation test integration method includes:

[0067] S101. Create a new user and assign a user role;

[0068] S102, creating a new project and associating it with a user;

[0069] S103, create a new application environment and enter the environment address;

[0070] S104, obtaining test equipment according to test requirements and creating a test scenario;

[0071] S105, capturing user operations and generating test scripts in an automated manner;

[0072] S106. Analyze the test results and identify defects and optimization points.

[0073] In the embodiment of the present invention, both interface automated testing and user interface automated testing are to ensure the quality of the software, but they focus on different levels. Interface testing focuses more on backend logic and data interaction, while user interface testing focuses on frontend user experience and interaction. The two are usually used in combination to provide comprehensive test coverage.

[0074] Figure 2 This is a flowchart of creating a new user and assigning a user role in a method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0075] like Figure 2 As shown, in one or more embodiments, preferably, the creating a new user and assigning a user role specifically includes:

[0076] S201. Create a new user and fill in basic user information, including user name, password, and email address;

[0077] S202, selecting a user to be assigned a role in the user list, and assigning the preset role and authority to the user;

[0078] S203: Save the user and its corresponding role allocation settings.

[0079] In an embodiment of the present invention, first, the system provides a user interface for the administrator to operate, and a "New User" button is provided on the interface. After clicking this button, the system will pop up a form, requiring the administrator to enter the basic information of the new user, including but not limited to the user name, password and email address. For example, if a new employee Zhang San needs to be added to the system, the administrator needs to fill in "zhangsan" as the user name in the corresponding field, set a secure password such as "ZhangSan123!", and enter Zhang San's work email "zhangsan@examp l e.com". After completing the entry of all necessary information, click the Submit or Confirm button to create a new user account. Next, in order to assign appropriate roles and permissions to the newly created user, the system provides a user list view, where all existing user records are listed. Locate the row of Zhang San that has just been added by searching the search box or scrolling to find it, and there will be a drop-down menu next to it for selecting role options. Assume that several different role types (such as ordinary employees, department managers, etc.) are defined within the company, and each role corresponds to a specific set of permissions. At this time, select the role suitable for Zhang San from the drop-down list according to actual needs-"ordinary employee" and confirm the selection. In this way, Zhang San is granted all the default permissions and service access capabilities associated with "ordinary employees". The last step is to save the results of the above operations. When the administrator completes the role assignment for Zhang San, an obvious "Save" or similar button is usually displayed at the bottom of the page. Click this button, and the system background will process the change request, associate Zhang San with his assigned role, and update the relevant information in the database. Once saved successfully, it means that the entire user creation and role configuration process is completed, and Zhang San can now use his credentials to log in to the system and perform corresponding tasks or access resources according to his granted role.

[0080] Figure 3 This is a flowchart of creating a new project and associating it with a user in a method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0081] like Figure 3 As shown, in one or more embodiments, preferably, the creating a new project and associating it with a user specifically includes:

[0082] S301, create a new project and enter the project name, description and start and end dates;

[0083] S302, selecting project members, and associating the project with the users corresponding to the project members;

[0084] S303, save the project information and exit.

[0085] In an embodiment of the present invention, the implementation method of the project management function is as follows: First, the system provides a user interface for the administrator to operate, and a "New Project" button is provided on the interface. After clicking this button, the system will pop up a form and ask the administrator to enter the basic information of the new project, including but not limited to the project name, description and start and end dates. For example, if a new project "Product Development" needs to be added, the administrator needs to fill in "Product Development" as the project name in the corresponding field, the description is "Development of a new mobile application", the start date is "2023-01-01", and the end date is "2023-12-31". After completing the entry of all necessary information, click the Submit or Confirm button to create a new project. Next, in order to assign appropriate members to this project, the system provides a project list view, where all existing project records are listed. Locate the "Product Development" line that has just been added by searching the search box or scrolling to find it, and there will be a drop-down menu next to it for selecting member options. Assume that several different role types (such as project managers, developers, etc.) are defined within the company, and each role corresponds to a specific set of permissions. At this point, select members suitable for the project from the drop-down list according to actual needs - "Li Si (developer)" and "Wang Wu (tester)", and confirm the selection. In this way, the "Product Development" project is given all the default permissions and service access capabilities associated with these members. The last step is to save the results of the above operations. When the administrator has completed the assignment of members to the "Product Development" project, an obvious "Save" or similar button will usually be displayed at the bottom of the page. Click this button, and the system background will process the change request, associate the "Product Development" project with its assigned members, and update the relevant information in the database. Once saved successfully, it means that the entire project management process is completed, and now you can use your credentials to log in to the system and perform corresponding tasks or access resources according to the role you have been granted.

[0086] Figure 4 It is a flowchart of creating a new application environment and entering the environment address in a method for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0087] like Figure 4 As shown, in one or more embodiments, preferably, the creating a new application environment and entering the environment address specifically includes:

[0088] S401, configure a new application environment, including the environment name, description and environment access address information;

[0089] S402: Save application environment information.

[0090] In an embodiment of the present invention, first, the system provides a user interface for the administrator to operate, and a "New Application Environment" button is provided on the interface. After clicking this button, the system will pop up a form, requiring the administrator to enter the basic information of the new application environment, including but not limited to the environment name, description and access address. For example, if a new test environment "Development and Test Environment" needs to be added, the administrator needs to fill in "Development and Test Environment" as the environment name in the corresponding field, and describe it as "an environment used for daily testing by the development team", and the access address is "http: / / dev.example.com". After completing the entry of all necessary information, click the Submit or Confirm button to create a new application environment.

[0091] Figure 5 It is a flowchart of acquiring test equipment according to test requirements and creating test scenarios in an integrated method for integrating interface and interface automation testing based on deep learning in one embodiment of the present invention.

[0092] like Figure 5 As shown, in one or more embodiments, preferably, acquiring a test device according to a test requirement and creating a test scenario specifically includes:

[0093] S501, fill in an application form, the application form includes the type, quantity and usage time of the required equipment;

[0094] S502: Create a test scenario, add a test case in a specific scenario, and complete the test process according to the flow of the test case.

[0095] In an embodiment of the present invention, the implementation method of the test device management function is as follows: First, the system provides a user interface for the administrator to operate, and a "fill in the application form" button is provided on the interface. After clicking this button, the system will pop up a form, requiring the administrator to fill in the required equipment type, quantity and usage time and other related information. For example, if the administrator needs to prepare the environment for the upcoming load test, he may need to fill in "5 servers, the usage time is from January 1 to January 7", and submit or confirm the entry of all necessary information. After completing the filling of all necessary information, click the submit or confirm button to create a new test scenario. Next, in order to ensure that the newly created test device can be correctly identified and used, the system provides a test scenario list view, where all existing test scenario records are listed. Locate the line of the test scenario just added by searching the search box or scrolling to find it, and there will be a drop-down menu next to it for selecting member options. Assume that several different role types (such as developers, testers, etc.) are defined within the company, and each role corresponds to a specific set of permissions. At this time, select members suitable for the application environment from the drop-down list according to actual needs-"Zhang San (developer)" and "Li Si (tester)", and confirm the selection. In this way, the test scenario is given all the default permissions and service access capabilities associated with these members. The last step is to save the results of the above operations. When the administrator has completed the assignment of members to the test scenario, an obvious "Save" or similar button will usually be displayed at the bottom of the page. Click this button, and the system background will process the change request, associate the test script with its assigned members, and update the relevant information in the database. Once saved successfully, it means that the entire test equipment management and test scenario configuration process is completed, and now you can use your credentials to log in to the system and perform corresponding tasks or access resources according to your granted role.

[0096] Figure 6 It is a flowchart of capturing user operations in an integrated method for integrating interface and interface automation testing based on deep learning in one embodiment of the present invention to generate test scripts in an automated manner.

[0097] like Figure 6 As shown, in one or more embodiments, preferably, capturing user operations and generating test scripts in an automated manner specifically includes:

[0098] S601, start the recording script function and run the corresponding test case;

[0099] S602: In the script, the execution process of the corresponding test case is selected through analysis of the business scenario and the interface.

[0100] In an embodiment of the present invention, first, the system provides a user interface for the administrator to operate, and a "Start Recording Script" button is provided on the interface. After clicking this button, the system will start to capture all operations of the user on the interface, including clicks, inputs, scrolling and other behaviors, and record them. For example, if the administrator needs to create an automated test script for a new business process, he can manually execute the process once, and the system will record all operation steps and corresponding data input in the background. After the recording is completed, the system will automatically generate a test script file containing detailed operation steps. This script file is usually saved in a specific directory and named according to certain naming rules to facilitate subsequent search and management. At this time, the administrator can further modify and improve the generated test script through the editing tool, such as adding comments, adjusting parameter values ​​or deleting unnecessary steps. Next, in order to ensure that the newly created test script can be correctly identified and used, the system provides a test scenario list view, where all existing test scenario records are listed. Locate the line of the test scenario just added by searching in a search box or scrolling search, and there will be a drop-down menu next to it for selecting member options. Assume that several different role types (such as developers, testers, etc.) are defined within the company, and each role corresponds to a specific set of permissions. At this time, select the members suitable for the application environment from the drop-down list according to actual needs - "Zhang San (developer)" and "Li Si (tester)", and confirm the selection. In this way, the test scenario is given all the default permissions and service access capabilities associated with these members. The last step is to save the results of the above operations. When the administrator completes the assignment of members to the test scenario, an obvious "Save" or similar button is usually displayed at the bottom of the page. Click this button, and the system background will process the change request, associate the test script with its assigned member, and update the relevant information in the database. Once saved successfully, it means that the entire test equipment management and test scenario configuration process is completed, and now you can use their credentials to log in to the system and perform corresponding tasks or access resources according to their granted roles.

[0101] Figure 7 It is a flowchart for analyzing test results, determining defects and optimization points in an integrated method for integrating interface and interface automation testing based on deep learning in one embodiment of the present invention.

[0102] like Figure 7 As shown, in one or more embodiments, preferably, analyzing the test results to determine defects and optimization points specifically includes:

[0103] S701, obtaining corresponding test data;

[0104] S702, selecting a report type corresponding to the test scenario;

[0105] S703: Automatically input test data and record test results, which include successful and failed test cases and error information.

[0106] In an embodiment of the present invention, first, the system provides a user interface for the administrator to operate, and a "Get Test Data" button is provided on the interface. After clicking this button, the system will automatically retrieve relevant test data from a database or other storage medium. For example, if the administrator needs to analyze the results of the most recent load test, he can specify the time range and relevant parameters of the test in the corresponding fields, such as the test case ID, execution time, etc. After completing the input of all necessary information, click the Submit or Confirm button to initiate a data retrieval request. Next, in order to ensure that the newly created test device can be correctly identified and used, the system provides a test scenario list view, where all existing test scenario records are listed. Locate the row of the test scenario just added by means of a search box or scrolling search, and there will be a drop-down menu next to it for selecting a report type option. Assume that several different report types (such as summary reports, detailed reports, etc.) are defined within the company, and each report type corresponds to a specific display format and content. At this time, select the report type suitable for the application environment from the drop-down list according to actual needs-"Summary Report" and confirm the selection. In this way, the test scenario is given all the default permissions and service access capabilities associated with these members. The system then automatically enters the retrieved test data into the selected report and records the execution results of each test case. These results usually include successful and failed cases and detailed error information. For example, if a test case fails, the system will indicate the reason for the failure in the report and provide corresponding screenshots or log files as evidence. In addition, the system will classify and count the test results according to preset rules for subsequent analysis and processing. The last step is to save the results of the above operations. When the administrator completes the assignment of members to the test scenario, there is usually an obvious "Save" or similar button at the bottom of the page. Click this button, and the system background will process the change request, associate the test script with its assigned members, and update the relevant information in the database. Once saved successfully, it means that the entire test equipment management and test scenario configuration process is completed, and now you can use their credentials to log in to the system and perform corresponding tasks or access resources according to their granted roles.

[0107] According to a second aspect of an embodiment of the present invention, a deep learning-based interface and interface automation test integration integrated system is provided.

[0108] Figure 8 It is a structural diagram of an integrated system for integrating interface and interface automation testing based on deep learning according to an embodiment of the present invention.

[0109] In one or more embodiments, preferably, the deep learning-based interface and interface automation test integration integrated system includes:

[0110] User management module 801, used to create new users and assign user roles;

[0111] Project management module 802, used to create new projects and associate them with users;

[0112] Application environment configuration module 803, used to create a new application environment and enter the environment address;

[0113] The test equipment management module 804 is used to obtain test equipment according to test requirements and create test scenarios;

[0114] The script recording and execution module 805 is used to capture user operations and generate test scripts in an automated manner;

[0115] The report viewing module 806 is used to analyze the test results and identify defects and optimization points.

[0116] In the embodiment of the present invention, a system suitable for different structures is realized through a series of modular designs. The system can achieve closed-loop, reliable and efficient execution through collection, analysis and control.

[0117] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspect of the embodiment of the present invention is implemented.

[0118] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided. Fig. 9 It is a structural diagram of an electronic device in one embodiment of the present invention. Fig. 9 The electronic device shown is a general deep learning-based interface and interface automation test integration integrated device. The electronic device can be a smart phone, tablet computer and other devices. As shown, the electronic device 900 includes a processor 901 and a memory 902. Among them, the processor 901 is electrically connected to the memory 902. The processor 901 is the control center of the terminal 900, which uses various interfaces and lines to connect the various parts of the entire terminal, and executes various functions of the terminal and processes data by running or calling the computer program stored in the memory 902, and calling the data stored in the memory 902, so as to monitor the terminal as a whole.

[0119] In this embodiment, the processor 901 in the electronic device 900 will load the instructions corresponding to the processes of one or more computer programs into the memory 902 according to the following steps, and the processor 901 will run the computer program stored in the memory 902 to implement various functions: create a new user and assign a user role; create a new project and associate it with the user; create a new application environment and enter the environment address; obtain test equipment according to test requirements and create test scenarios; capture user operations and generate test scripts in an automated manner; analyze test results to determine defects and optimization points.

[0120] The memory 902 may be used to store computer programs and data. The computer programs stored in the memory 902 include instructions that can be executed in the processor. The computer programs may constitute various functional modules. The processor 901 executes various functional applications and data processing by calling the computer programs stored in the memory 902.

[0121] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:

[0122] In the solution of the present invention, a standardized application testing management system is established through the unified management of test equipment, tested applications, test cases, test scripts, test data, as well as hierarchical authorization mechanisms for test projects, test personnel, and test tasks.

[0123] In the scheme of the present invention, manual and automatic integrated test management is realized. Both manual testing and automated testing are important means to ensure software quality. Traditional automated testing and manual testing are separated, which has certain drawbacks for statistical analysis of quality caliber. Integrated management of manual testing and automated testing facilitates unified quality and process measurement analysis.

[0124] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0125] 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.

[0126] 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.

[0127] 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 A step that specifies a function in one or more boxes.

[0128] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. An integrated method for interface and interface automation testing based on deep learning, characterized in that: The method includes: Create a new user and assign a user role; Create a new project and associate it with a user; Create a new application environment and enter the environment address; Obtain test equipment according to test requirements and create test scenarios; Capture user operations and generate test scripts in an automated manner; Analyze test results and identify defects and optimization points.

2. The method for integrating interface and interface automation testing based on deep learning as claimed in claim 1, characterized in that: The creation of a new user and the assignment of a user role specifically include: Create a new user and fill in basic user information, including user name, password, and email address; Select the user to be assigned a role in the user list, and grant the preset role and permissions to the user; Saves the user and their corresponding role assignment settings.

3. The method for integrating interface and interface automation testing based on deep learning as claimed in claim 1, characterized in that: The creating a new project and associating it with a user specifically includes: Create a new project and enter the project name, description, and start and end dates; Select project members to associate the project with the corresponding users of the project members; Save the project information and exit.

4. The method for integrating interface and interface automation testing based on deep learning as claimed in claim 1, characterized in that: The creating of a new application environment and entering the environment address specifically includes: Configure a new application environment, including the environment name, description, and environment access address information; Save application environment information.

5. The method for integrating interface and interface automation testing based on deep learning as claimed in claim 1, characterized in that: The step of obtaining test equipment according to test requirements and creating test scenarios specifically includes: Fill in an application form, which includes the type, quantity and usage time of the required equipment; Create test scenarios, add test cases under specific scenarios, and complete the testing process according to the flow of the test cases.

6. The method for integrating interface and interface automation testing based on deep learning as claimed in claim 1, characterized in that: The capturing of user operations and generating test scripts in an automated manner specifically includes: Start the recording script function and run the corresponding test case; In the script, the execution process of the corresponding test case is selected through analysis of the business scenario and interface.

7. The method for integrating interface and interface automation testing based on deep learning as claimed in claim 1, characterized in that: The analysis of test results to determine defects and optimization points specifically includes: Get the corresponding test data; Select the report type corresponding to the test scenario; Automatically input test data and record test results, including successful and failed test cases and error messages.

8. The interface and interface automation test integration system based on deep learning is characterized by: The system is used to implement the method according to any one of claims 1 to 7, and the system comprises: User management module, used to create new users and assign user roles; Project management module, used to create new projects and associate them with users; Application environment configuration module, used to create a new application environment and enter the environment address; The test equipment management module is used to obtain test equipment according to test requirements and create test scenarios; Script recording and execution module, used to capture user operations and generate test scripts in an automated manner; View the report module to analyze test results and identify defects and optimization points.

9. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-7.