Comprehensive automatic test method and system for voice interaction response system

By automatically executing steps and configuration files, asynchronously processing voice content and text recognition, the full-link automation testing problem of the voice interactive response system is solved, and the comprehensive automated testing of the voice system is realized, which improves the test accuracy and efficiency.

CN119091859APending Publication Date: 2024-12-06CHINA CITIC BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411026758.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing technology cannot realize full-link automation testing of voice interactive response systems, especially lack of verification of output audio content, and interaction testing requires manual participation, making it difficult to achieve synchronous verification of text and audio output results, which affects the test Correctness and efficiency.

Method used

By creating automated execution steps and configuration files, receiving voice content for asynchronous processing, extracting keywords, selecting configuration files to start execution steps, and translating speech into text through the speech recognition model, comparing it with the expected results, realizing text and audio output Synchronous verification of results ensures the success of the transaction.

Benefits of technology

It realizes comprehensive automated testing of the voice interactive response system, improves the accuracy and efficiency of the test, and ensures the full-link automated testing capabilities of the voice system, including synchronous checksum of text and audio output results without interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119091859A_ABST
    Figure CN119091859A_ABST
Patent Text Reader

Abstract

The invention relates to a comprehensive automatic test method and system for a voice interaction response system, and the method comprises the steps: creating automatic execution steps and corresponding configuration files, enabling the configuration files to comprise keywords to guide a test process, and enabling the system to receive voice contents and extract test requirements in the test process, and the voice is translated into a text through asynchronous processing, a corresponding configuration file is selected to start an execution step, and a text result and a voice result are generated and are compared with an expected result set based on a test requirement respectively to verify whether the transaction succeeds or not. Therefore, by adopting the technical scheme, the comprehensive automatic test of the voice interaction response system can be realized, the text result and the voice result in the execution result are respectively compared, the synchronous verification test of the text and audio output result is realized, and the test efficiency is improved. And the audio output stream of the voice content is subjected to asynchronous processing to realize uninterrupted verification, so that the test efficiency and accuracy are improved.
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 comprehensive automated testing method and system for a voice interactive response system. Background Art

[0002] With the continuous development of information technology, voice interactive response systems have been widely used in various industries due to their convenience and intelligence. As a system that relies on voice guidance or response to complete the interactive execution process, it is different from traditional behavioral interaction systems. Its transaction input is not completed through autonomous clicking, selection, etc., but relies on the interaction between the customer's voice input behavior and the system's voice-guided response. Therefore, traditional text, value, image comparison and other methods cannot be used directly to judge the correctness of the results.

[0003] For example, the Chinese invention patent disclosure specification CN109360550B discloses a test method, device, equipment and storage medium for a voice interaction system, including: performing voice interaction with the voice interaction system to be tested according to voice test data corresponding to text test data; obtaining recognition result data from the voice interaction system, the recognition result data being obtained by the voice interaction system in response to the voice interaction recognition; and verifying the recognition result data according to the text test data. However, this method lacks verification of the output audio content, and thus cannot complete full-link automated testing of such systems.

[0004] At the same time, the existing technology requires manual testing during interactive testing, and only uses a single verification test, which makes it difficult to achieve synchronous verification testing of text and audio output results, affecting the correctness of automated testing, and the processing of audio streams cannot achieve uninterrupted verification. Summary of the invention

[0005] In order to solve the deficiencies of the prior art, the present invention proposes a comprehensive automated testing method for a voice interactive response system.

[0006] To achieve the above objectives, the technical solutions adopted by the present invention include:

[0007] A comprehensive automated testing method for a voice interactive response system, comprising:

[0008] S1. Create an automated execution step and a corresponding configuration file, wherein the configuration file is provided with corresponding keywords, wherein the automated execution step includes element positioning and simulated transaction input operations;

[0009] S2, receiving voice content and extracting test requirements, performing text recognition after processing the voice content, and extracting corresponding keywords, wherein the voice interaction content processing is asynchronous processing;

[0010] S3. Selecting a corresponding configuration file based on the keyword to configure and start a corresponding execution step;

[0011] S4. Obtain an execution result based on the execution step, and compare the execution result with the expected result. If the comparison is consistent, the transaction is successful, wherein the expected result is a result set based on the test requirement.

[0012] Further, the voice content processing in step S2 specifically includes:

[0013] Slicing, format splicing, and base64 encoding are performed based on the voice content, and the processed voice content is sent to a voice recognition model through an interface for recognition to obtain a translated text.

[0014] Furthermore, the step S1 further includes:

[0015] The application is run using a startup function and operated through the pywinauto framework to perform automated execution steps.

[0016] Furthermore, the step S2 of processing the voice content and performing text recognition further includes:

[0017] The audio output stream of the voice content is asynchronously processed in an asynchronous form, the processing result is returned, and text recognition is performed in combination with a sound-similar character library.

[0018] Furthermore, the element positioning and simulated transaction input operations in step S1 further include:

[0019] Use spy++ tool to locate application interface elements;

[0020] Mouse operation is simulated through the ID of the application interface element, and type_keys() function is used to simulate keyboard operation to simulate transaction operation.

[0021] Furthermore, in step S4, obtaining an execution result based on the execution step, and comparing the execution result with the expected result further comprises:

[0022] Based on the execution steps, text results and voice results are obtained, and the text results and voice results are compared with expected results respectively.

[0023] Furthermore, comparing the speech result with the expected result further includes:

[0024] The speech information in the speech result is recognized as text and then compared with the expected result.

[0025] In addition, the present invention also relates to a comprehensive automated testing system for a voice interactive response system, characterized in that it comprises:

[0026] An execution step creation module, used to create automated execution steps and corresponding configuration files, wherein the configuration files are provided with corresponding keywords, wherein the automated execution steps include element positioning and simulated transaction input operations;

[0027] A voice processing module receives voice content and extracts test requirements, performs text recognition after processing the voice content, and extracts corresponding keywords, wherein the voice interaction content processing is asynchronous processing;

[0028] A configuration selection module selects a corresponding configuration file based on the keyword to configure and start the corresponding execution step;

[0029] A comparison module is used to obtain an execution result based on the execution step, and compare the execution result with the expected result. If the comparison is consistent, the transaction is successful, wherein the expected result is a result set based on the test requirement.

[0030] In addition, the present invention also relates to an electronic device, characterized in that it comprises a processor and a memory;

[0031] The memory is used to store operation instructions;

[0032] The processor is used to execute the above method by calling the operation instruction.

[0033] In addition, the present invention also relates to a computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and the computer program implements the above method when executed by a processor.

[0034] By adopting the solution provided by the present application, by creating automated execution steps and corresponding configuration files, wherein the configuration files contain keywords to guide the test process, during the test, the system receives voice content, extracts test requirements, and translates the voice into text through asynchronous processing, selects the corresponding configuration file to start the execution step, generates text results and voice results, and compares them with the expected results set based on the test requirements to verify the success of the transaction. Therefore, by adopting the above technical solution, a comprehensive automated test of the voice interactive response system can be achieved, by comparing the text results and voice results in the execution results respectively, a synchronous verification test of the text and audio output results can be achieved, and by asynchronously processing the audio output stream of the voice content, uninterrupted verification can be achieved, thereby improving the test efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A flowchart of a comprehensive automated testing method for a voice interactive response system provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of the structure of a comprehensive automated testing system for a voice interactive response system provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present invention.

[0039] Those skilled in the art can understand that, unless otherwise stated, the singular forms "one", "an", "said" and "the" used herein may also include plural forms, and the "first", "second", etc., are only used to distinguish and define objects for the purpose of introducing the scheme clearly, and do not limit the objects themselves. Of course, the objects defined by "first" and "second" may be the same terminal, device, user, etc., or the same type of terminal, device and user. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0040] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0041] Figure 1 The flowchart of the comprehensive automated testing method for the voice interactive response system provided by the embodiment of the present application is shown, which specifically includes:

[0042] S1. Create an automated execution step and a corresponding configuration file, wherein the configuration file is provided with corresponding keywords, wherein the automated execution step includes element positioning and simulated transaction input operations;

[0043] Specifically, the automated execution steps are mapped to a dedicated configuration file (data / .py), keywords are directly used in the configuration file for process configuration, the startup function start() is used to run the application, and the application is operated through the pywinauto framework to perform automated execution steps;

[0044] Among them, the connect() method of the Application object is used to connect to the existing process on the desktop, the spy++ tool is used to locate the application interface element, the mouse operation is simulated through the ID of the application interface element, and the type_keys() function is used to simulate the keyboard operation to simulate the transaction operation.

[0045] S2, receiving voice content and extracting test requirements, performing text recognition after processing the voice content, and extracting corresponding keywords, wherein the voice interaction content processing is asynchronous processing;

[0046] Specifically, after receiving the voice content, the test requirements are first extracted according to the voice content. Then, the audio content is sliced ​​to meet the specific size of the test, and the sliced ​​content is spliced ​​to form a format corresponding to the test. The content is encoded in base64 and then input into the trained model. The translated text is output for text recognition to extract the corresponding keywords and achieve accurate recognition.

[0047] The audio output stream of the voice content is processed asynchronously in an asynchronous form, the processing result is returned, and text recognition is performed in combination with a sound-similar character library, and uninterrupted verification is achieved through asynchronous processing.

[0048] S3. Selecting a corresponding configuration file based on the keyword to configure and start a corresponding execution step;

[0049] S4, obtaining an execution result based on the execution step, and comparing the execution result with the expected result. If the comparison is consistent, the transaction is successful, wherein the expected result is a result set based on the test requirement;

[0050] Specifically, based on the execution steps, the text result and the voice result are obtained, the text result is compared with the expected result, and the voice result is translated into text and then compared with the expected result, and the two are verified synchronously. If both are consistent, the transaction is successful. If one side is inconsistent, the transaction fails. Through the dual verification of text and voice, the test efficiency and accuracy are increased.

[0051] By adopting the solution provided by this application, by creating automated execution steps and corresponding configuration files, wherein the configuration files contain keywords to guide the test process, during the test, the system receives voice content, extracts test requirements, and translates voice into text through asynchronous processing, selects the corresponding configuration file to start the execution step, generates text results and compares the voice results with the expected results set based on the test requirements to verify the success of the transaction. Therefore, by adopting the above technical solution, it is possible to realize comprehensive automated testing of the voice interactive response system, realize synchronous verification testing of text and audio output results, and realize uninterrupted verification through asynchronous processing of voice content, thereby improving test efficiency and accuracy.

[0052] based on Figure 1 The fully automated testing method for the voice interactive response system shown in FIG. 1 also relates to a fully automated testing system for the voice interactive response system, the structure of which is as follows: Figure 2 As shown, including:

[0053] An execution step creation module 201 is used to create an automated execution step and a corresponding configuration file, wherein the configuration file is provided with corresponding keywords, wherein the automated execution step includes element positioning and input operations of simulated transactions;

[0054] The voice processing module 202 receives voice content and extracts test requirements, performs text recognition after processing the voice content, and extracts corresponding keywords, wherein the voice interaction content processing is asynchronous processing;

[0055] A configuration selection module 203 selects a corresponding configuration file based on the keyword to configure and start a corresponding execution step;

[0056] The comparison module 204 is used to obtain the execution result based on the execution step, and compare the execution result with the expected result. If the comparison is consistent, the transaction is successful, wherein the expected result is a result set based on the test requirement.

[0057] Furthermore, the speech processing module 202 specifically includes:

[0058] Slicing, formatting, and base64 encoding are performed based on the voice content, and the processed voice content is sent to a voice recognition model through an interface for recognition to obtain a translated text;

[0059] The audio output stream of the voice content is asynchronously processed in an asynchronous form, the processing result is returned, and text recognition is performed in combination with a sound-similar character library.

[0060] Furthermore, the execution step creation module 201 is also used for:

[0061] Run the application using the startup function and operate the application through the pywinauto framework to perform automated execution steps;

[0062] Use spy++ tool to locate application interface elements;

[0063] Mouse operation is simulated through the ID of the application interface element, and type_keys() function is used to simulate keyboard operation to simulate transaction operation.

[0064] Furthermore, the comparison module 204 is also used for:

[0065] Based on the execution steps, text results and voice results are obtained, the text results are compared with the expected results, and the voice results are translated into text and then compared with the expected results. The two are verified synchronously. If both are consistent, the transaction is successful. If there is an inconsistency on one side, the transaction fails.

[0066] An embodiment of the present invention further provides an electronic device for executing the above method, as an implementation device of the method, comprising a processor and a memory;

[0067] A memory, used for storing operation instructions;

[0068] The processor is used to execute the comprehensive automated testing method provided in any embodiment of the present application by calling operation instructions.

[0069] As an example, Figure 3 A schematic diagram of the structure of an electronic device applicable to an embodiment of the present application is shown, and the electronic device 300 includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one. It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the specific structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. Optionally, the electronic device may also include a display screen 305 for displaying images, or receiving user operation instructions when necessary.

[0070] The processor 301 is applied in the embodiment of the present application to implement the method shown in the above method embodiment. The transceiver 304 may include a receiver and a transmitter. The transceiver 304 is applied in the embodiment of the present application to implement the function of the electronic device of the embodiment of the present application communicating with other devices when executed.

[0071] Processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0072] The processor 301 may also include one or more processing units, for example, the processor 301 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processor (Neural-network Processing Unit, NPU), etc. Different processing units may be independent devices or integrated into one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 300. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be set in the processor 301 for storing instructions and data. In some embodiments, the memory in the processor 301 is a high-speed cache memory. The memory may store instructions or data that the processor 301 has just used or circulated. If the processor 301 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 301 is reduced, and the efficiency of the system is improved.

[0073] The processor 301 can run the comprehensive automated testing method provided in the embodiment of the present application. The processor 301 may include different devices. For example, when the CPU and GPU are integrated, the CPU and the GPU can cooperate to execute the comprehensive automated testing method provided in the embodiment of the present application. Part of the algorithm is executed by the CPU, and the other part of the algorithm is executed by the GPU to obtain faster processing efficiency.

[0074] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0075] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or may include a high-speed random access memory, or may include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.

[0076] Optionally, the memory 303 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the comprehensive automated testing method provided in any embodiment of the present application.

[0077] The memory 303 can be used to store computer executable program codes, which include instructions. The processor 301 executes various functional applications and data processing of the electronic device 300 by running the instructions stored in the memory 303. The memory 303 may include a program storage area and a data storage area. Among them, the program storage area may store the code of the operating system, application program, etc. The data storage area may store data created during the use of the electronic device 300 (such as images, videos, etc. collected by the camera application), etc.

[0078] The memory 303 may also store one or more computer programs corresponding to the comprehensive automated testing method provided in the embodiment of the present application. The one or more computer programs are stored in the above-mentioned memory 303 and are configured to be executed by the one or more processors 301, and the one or more computer programs include instructions, and the above-mentioned instructions can be used to execute each step in the above-mentioned corresponding embodiment.

[0079] Of course, the code of the comprehensive automated testing method provided in the embodiment of the present application can also be stored in an external memory.

[0080] The display screen 305 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 300 may include 1 or N display screens 305, where N is a positive integer greater than 1. The display screen 305 can be used to display information input by a user or information provided to a user and various graphical user interfaces (GUI). For example, the display screen 305 can display photos, videos, web pages, or files.

[0081] The electronic device provided in the embodiment of the present application is applicable to any embodiment of the above method. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.

[0082] An embodiment of the present invention also provides a computer-readable storage medium capable of implementing all the steps in the method in the above embodiment, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, all the steps in the method in the above embodiment are implemented.

[0083] 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, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0084] 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 system that specifies the functions of a box or multiple boxes.

[0085] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0086] 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 of the functions specified in a box or multiple boxes. Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they know the basic creative concept. Therefore, the attached claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0087] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A comprehensive automated testing method for a voice interactive response system, characterized in that: include: S1. Create an automated execution step and a corresponding configuration file, wherein the configuration file is provided with corresponding keywords, wherein the automated execution step includes element positioning and simulated transaction input operations; S2, receiving voice content and extracting test requirements, performing text recognition after processing the voice content, and extracting corresponding keywords, wherein the voice interaction content processing is asynchronous processing; S3. Selecting a corresponding configuration file based on the keyword to configure and start a corresponding execution step; S4. Obtain an execution result based on the execution step, and compare the execution result with the expected result. If the comparison is consistent, the transaction is successful, wherein the expected result is a result set based on the test requirement.

2. The method according to claim 1, characterized in that The voice content processing in step S2 specifically includes: Slicing, format splicing, and base64 encoding are performed based on the voice content, and the processed voice content is sent to a voice recognition model through an interface for recognition to obtain a translated text.

3. The method according to claim 1, characterized in that: The step S1 further comprises: The application is run using a startup function and operated through the pywinauto framework to perform automated execution steps.

4. The method according to claim 1 or 2, characterized in that: The step S2 of processing the speech content and performing text recognition further includes: The audio output stream of the voice content is asynchronously processed in an asynchronous form, the processing result is returned, and text recognition is performed in combination with a sound-similar character library.

5. The method according to claim 1, characterized in that The element positioning and simulated transaction input operations in step S1 further include: Use spy++ tool to locate application interface elements; Mouse operation is simulated through the ID of the application interface element, and type_keys() function is used to simulate keyboard operation to simulate transaction operation.

6. The method according to claim 1, characterized in that The step S4 further comprises: obtaining an execution result based on the execution step, and comparing the execution result with the expected result: Based on the execution steps, text results and voice results are obtained, and the text results and the voice results are compared with expected results respectively.

7. The method according to claim 6, characterized in that The comparison between the speech result and the expected result further includes: The speech information in the speech result is recognized as text and then compared with the expected result.

8. A comprehensive automated testing system for a voice interactive response system, characterized in that: include: An execution step creation module, used to create automated execution steps and corresponding configuration files, wherein the configuration files are provided with corresponding keywords, wherein the automated execution steps include element positioning and simulated transaction input operations; A voice processing module receives voice content and extracts test requirements, performs text recognition after processing the voice content, and extracts corresponding keywords, wherein the voice interaction content processing is asynchronous processing; A configuration selection module selects a corresponding configuration file based on the keyword to configure and start the corresponding execution step; A comparison module is used to obtain an execution result based on the execution step, and compare the execution result with the expected result. If the comparison is consistent, the transaction is successful, wherein the expected result is a result set based on the test requirement.

9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store operation instructions; The processor is used to execute the method according to any one of claims 1 to 7 by calling the operation instruction.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.