An automated testing method, device, equipment and medium for an information delivery system

By generating and executing test templates, the functional points of the information delivery system are solved, and the time-consuming and cumbersome testing of the information delivery system is realized, and the testing efficiency and accuracy are improved.

CN118363804BActive Publication Date: 2024-12-13GUANGZHOU SANQI DREAM NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410257986.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-07
Publication Date
2024-12-13
Estimated Expiration
2044-03-07

AI Technical Summary

Technical Problem

The existing information delivery system needs to verify the background of the third-party system during functional testing, which is time-consuming and cumbersome, and lacks automated testing methods, resulting in possible omissions in manual verification.

Method used

By entering the functional points and selectable value information of the information delivery system, a test template is generated, sent to the information delivery system for operations, and automated testing is carried out based on the operation results to avoid manual verification omissions.

Benefits of technology

It realizes automated testing of the information delivery system, improves testing efficiency, reduces the possibility of manual verification of errors, and ensures the accuracy of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118363804B_ABST
    Figure CN118363804B_ABST
Patent Text Reader

Abstract

The present application discloses an automated testing method, device, equipment and medium for an information delivery system, and the present application belongs to the field of computer technology. The method includes: entering the function points of the information delivery system and the selectable value information of each function point; generating a test template based on at least one target function point and the measured value information of each target function point in response to the determination operation of the target function point; sending the test template to the information delivery system for the information delivery system to parse the test template and perform the information delivery operation; reading the operation result of the information delivery operation, and testing the information delivery system according to the operation result and the measured value information. The present technical solution can generate a test template according to the function point and the selectable value information, obtain the result of the information delivery operation, and test the information delivery system according to the operation result and the test template, thereby realizing automatic testing and avoiding possible omissions in manual verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and specifically relates to an automated testing method, device, equipment and medium for an information delivery system. Background Art

[0002] With the rapid development of science and technology, various applications and applets have emerged to meet the different needs of users. During the use of applications, information display may be required due to various needs. The display of information is based on the information delivery system.

[0003] However, since the information delivery system is a comprehensive platform that integrates its own system and multiple third-party systems, many functions involve third-party systems. Therefore, when testing the functions, it is often necessary to verify the actual effect on the backend of the third-party system, which is time-consuming and cumbersome. Therefore, how to achieve automated testing of the information delivery system is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an automated testing method, device, equipment and medium for an information delivery system, which can generate a test template based on the functional points of the information delivery system and selectable value information, obtain the results of the information delivery system performing information delivery operations, and test the information delivery system based on the operation results and the test template, thereby realizing automated testing and avoiding omissions that may occur in manual verification.

[0005] In a first aspect, an embodiment of the present application provides an automated testing device for an information delivery system, the method comprising:

[0006] Enter the function points of the information delivery system and the selectable value information of each function point in the information delivery system;

[0007] In response to the target function point determination operation, a test template is generated based on at least one target function point and measured value information of each of the target function points;

[0008] Sending the test template to the information delivery system so that the information delivery system can parse the test template and perform information delivery operations;

[0009] The operation result of the information delivery operation is read, and the information delivery system is tested according to the operation result and the measured value information of each target function point in the test template.

[0010] Further, sending the test template to the information delivery system so that the information delivery system can parse the test template and perform the information delivery operation includes:

[0011] The test template is sent to the information delivery system, so that the information delivery system can parse the test template, obtain the target function point and the measured value information of the target function point, and perform the information delivery operation in the third-party system.

[0012] Further, reading the operation result of the information delivery operation includes:

[0013] The result of executing the information delivery operation is read from the third-party system.

[0014] Further, reading the operation result of the information delivery operation includes:

[0015] The result of executing the information delivery operation is read from the information delivery system; wherein the information delivery system determines the result of executing the information delivery operation based on the feedback data from the third-party system.

[0016] Further, according to the operation result and the measured value information of each target function point in the test template, the information delivery system is tested, including:

[0017] If there are target function points in the operation results that are inconsistent with the actual measured value information of each target function point in the test template, report information indicating that the target function point test has failed is generated.

[0018] Further, the information delivery system is tested according to the operation result and the measured value information of each target function point in the test template, and further includes:

[0019] When there are target function points in the operation results that are inconsistent with the actual measured value information of each target function point in the test template, the actual measured value information of the target function point is switched to other value information in the selectable value information, and the test is performed again.

[0020] Furthermore, the function points of the information delivery system and the selectable value information of each function point in the information delivery system are input, including:

[0021] In response to the function point configuration operation, selectable value information of each function point in the information delivery system is entered into the function point configuration table.

[0022] In a second aspect, an embodiment of the present application provides an automated testing method for an information delivery system, the method comprising:

[0023] Function point input module, used to input the function points of the information delivery system and the selectable value information of each function point in the information delivery system;

[0024] A test template generating module, configured to generate a test template based on at least one target function point and measured value information of each target function point in response to a determination operation of the target function point;

[0025] An information delivery operation execution module, used for sending the test template to the information delivery system, so that the information delivery system can parse the test template and execute the information delivery operation;

[0026] The information delivery system test module is used to read the operation result of the information delivery operation, and test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

[0027] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0028] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0029] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0030] In an embodiment of the present application, the function points of the information delivery system and the selectable value information of each function point in the information delivery system are entered; in response to the determination operation of the target function point, a test template is generated based on at least one target function point and the measured value information of each target function point; the test template is sent to the information delivery system, so that the information delivery system can parse the test template and perform the information delivery operation; the operation result of the information delivery operation is read, and the information delivery system is tested according to the operation result and the measured value information of each target function point in the test template.

[0031] Through the above-mentioned automated testing method for the information delivery system, a test template can be generated according to the functional points of the information delivery system and the selectable value information, the results of the information delivery system performing the information delivery operation can be obtained, and the information delivery system can be tested according to the operation results and the test template, thereby realizing automated testing and avoiding possible omissions in manual verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1It is a flowchart of an automated testing method for an information delivery system provided in Example 1 of the present application;

[0033] Figure 2 It is a flowchart of an automated testing method for an information delivery system provided in Example 2 of the present application;

[0034] Figure 3 It is a flowchart of an automated testing method for an information delivery system provided in Example 3 of the present application;

[0035] Figure 4 It is a flowchart of an automated testing method for an information delivery system provided in Embodiment 4 of the present application;

[0036] Figure 5 It is a flowchart of an automated testing method for an information delivery system provided in Embodiment 5 of the present application;

[0037] Figure 6 It is a flowchart of an automated testing method for an information delivery system provided in Example 6 of the present application;

[0038] Figure 7 It is a structural diagram of an automated testing device for an information delivery system provided in Embodiment 7 of the present application;

[0039] Figure 8 It is a schematic diagram of the structure of the electronic device provided in Example 8 of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0042] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0043] In conjunction with the accompanying drawings, the automated testing method, device, equipment and medium of the information delivery system provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0044] Embodiment 1

[0045] Figure 1 1 is a flow chart of the automated testing method for the information delivery system provided in Example 1 of the present application. Figure 1 As shown, the specific steps include:

[0046] S101, inputting the function points of the information delivery system and the selectable value information of each function point in the information delivery system;

[0047] The application scenario of this solution can be that when performing functional testing on an information delivery system, the automatic testing system generates a test template based on the functional points and selectable value information of the system, obtains the results of the information delivery system performing the information delivery operation, and tests the information delivery system based on the operation results and the test template.

[0048] Based on the above usage scenarios, it can be understood that the executor of the present application can be the automatic testing system, or it can be a desktop computer, laptop computer, tablet computer, interactive multimedia device, etc. that runs the automatic testing system, and no excessive limitations are made here.

[0049] The information delivery system can be a comprehensive management platform that controls the delivery of personalized information data by third-party systems according to user needs. By developing different functions for the information delivery system, it is possible to adjust the attributes of the information data itself, such as the delivery object, delivery location, and delivery time of the information data in the third-party system. Function points can be the attributes of the information data itself, such as whether the information data is delivered in the third-party system, the investment funds, the promotion purpose, the gender of the audience, and the marketing scenario.

[0050] The selectable value information can be the possible state information of each function point. Each function point has at least one selectable value information. When testing the information delivery system, for the function point to be tested, the target state of the function point can be selected from the selectable value information. For example, for the function point of the gender of the target audience, the selectable value information can be male, female, and unlimited; for the function point of whether to deliver in a third-party system, the selectable value information can be yes or no.

[0051] The method of inputting the function points and the corresponding optional value information into the information delivery system can be that the user inputs each function point to be tested in the form of text through the external display device of the automatic test system, and inputs the optional value information corresponding to each function point in a specified position in a prescribed format. The automatic test system receives the information input by the user, organizes and counts it, and stores the function points and their corresponding optional value information in association.

[0052] S102, in response to the determination operation mode of the target function point, generating a test template based on at least one target function point and the measured value information of each of the target function points;

[0053] The target function point may be a function point that needs to be tested this time selected from all the function points entered by the user as the target function point. The measured value information may be a target state that needs to be achieved in this test selected from the selectable value information corresponding to the target function point as the measured value information. Generating a test template may be a prediction of the effect of this information delivery system test. The test template may include the function points that need to be tested, the measured value information corresponding to each function point of this test, and the prediction of the state effect after testing the function points in the information delivery system based on the measured value information.

[0054] The method of generating a test template can be that the automatic testing system enters the function points and selectable value information input by the user, and then sends a pop-up prompt to the user to select the target function points for this test. After the user selects the target function points and the corresponding measured value information according to the prompt content (here the user will select at least one target function point, and each target function point corresponds to one measured value information), the automatic testing system predicts the delivery effect of the information delivery system according to the user's selection results, and generates a test template based on the predicted results, the target function points and the measured value information.

[0055] S103, sending the test template to the information delivery system, so that the information delivery system can parse the test template and perform information delivery operations;

[0056] The way in which the information delivery system parses the test template and performs the information delivery operation can be that the automatic test system encodes the generated test template into corresponding instructions and sends it to the information delivery system, which receives the instructions and decodes them into a test template, parses the test template, extracts the target function points and the measured value information corresponding to each target function point, and performs the information delivery operation according to the requirements of the target function points and the measured value information, that is, the information delivery system distributes the information data to each third-party system for delivery according to the requirements. Among them, the third-party system can be the delivery media of the information data, such as Toutiao, Sina, Tencent, Baidu Marketing, etc. The information delivery system can manage the information delivery operations of multiple third-party systems.

[0057] S104: Read the operation result of the information delivery operation, and test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

[0058] The operation result of the information delivery operation can be that after the information delivery system distributes the information data to be delivered to each third-party system, the third-party system implements the information data according to the requirements of the information delivery system, and the automatic testing system reads the delivery effect of the information data in each third-party system as the operation result of the information delivery operation.

[0059] The method for testing the information delivery system may be to obtain the result of the information delivery operation, parse it, extract the status effect of the target function point, and compare it with the measured value information of each target function point in the test template. If the result of the information delivery operation achieves the same purpose and effect as the measured value information in the test template, that is, the status effect in the result of the information delivery operation is consistent with the measured value information of the corresponding target function point in the test template, then the target function point test of the information delivery system is successful.

[0060] For example, take the test of the advertising shutdown function of a certain media platform as an example:

[0061] First, you need to configure the API parameter corresponding to the function point "Advertising Management-Second Layer-Status Setting" as opt_status (select status). The selectable value information corresponding to this function point is ENABLE and DISABLE (representing on and off, respectively). Then select the advertising management test template, set the status of Ad A to on, and the status of Ad B to off. When the user starts the automatic test, the automatic testing system will automatically export the above test template and submit it to the information delivery system for execution, waiting for the information delivery system to execute the information delivery operation and then the media platform will callback the result. The automatic testing system reads the callback result, and obtains the opt_status of Ad A and Ad B through the API of the media platform, and parses out "on" and "off" according to the existing configuration, and checks with the test template. If the results are consistent, the function is normal as expected, and the information delivery operation is executed successfully.

[0062] In an embodiment of the present application, the function points of the information delivery system and the selectable value information of each function point in the information delivery system are entered; in response to the determination operation of the target function point, a test template is generated based on at least one target function point and the measured value information of each target function point; the test template is sent to the information delivery system, so that the information delivery system can parse the test template and perform the information delivery operation; the operation result of the information delivery operation is read, and the information delivery system is tested according to the operation result and the measured value information of each target function point in the test template.

[0063] Through the above-mentioned automated testing method for the information delivery system, a test template can be generated according to the functional points of the information delivery system and the selectable value information, the results of the information delivery system executing the information delivery operation can be obtained, and the information delivery system can be tested according to the operation results and the test template, thereby realizing automated testing and avoiding omissions that may occur in manual verification.

[0064] Embodiment 2

[0065] Figure 2 It is a flow chart of the automated testing method of the information delivery system provided in the second embodiment of the present application. This solution makes a better improvement on the above embodiment, and the specific improvement is: sending the test template to the information delivery system, so that the information delivery system can parse the test template and perform the information delivery operation, including: sending the test template to the information delivery system, so that the information delivery system can parse the test template, obtain the target function point and the measured value information of the target function point, and perform the information delivery operation in the third-party system.

[0066] like Figure 2 As shown, specifically including the following:

[0067] S201, inputting the function points of the information delivery system and the selectable value information of each function point in the information delivery system;

[0068] S202, in response to the target function point determination operation, generating a test template based on at least one target function point and measured value information of each target function point;

[0069] S203, sending the test template to the information delivery system, so that the information delivery system parses the test template, obtains the target function point and the measured value information of the target function point, and performs the information delivery operation in the third-party system;

[0070] The method of executing the information delivery operation in the third-party system may be that the information delivery system parses the received test template, extracts the target function points and the measured value information corresponding to each target function point, and selects a third-party system that can meet the test conditions of the target function points according to the extracted information data to execute the information delivery operation, and manages the form of the information data delivery by the third-party system through the measured value information of the target function points.

[0071] S204: Read the operation result of the information delivery operation, and test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

[0072] Optionally, reading the operation result of the information delivery operation includes reading the result of executing the information delivery operation from the third-party system.

[0073] The method of reading the result of executing the information delivery operation from the third-party system may be that after the information delivery system completes the information delivery operation, the information delivery system sends an operation result acquisition instruction to the third-party system managed by the information delivery system, and after receiving the instruction, the third-party system extracts the result of the information delivery operation, packages it and sends it to the automatic delivery system.

[0074] Correspondingly, the result of the information delivery operation read in the third-party system may include whether the information data is delivered in the current third-party system, the page location and content information of the information data delivery, as well as the promotion objects and promotion purposes of the information data in the third-party system, etc.

[0075] The benefit of this arrangement is that the information delivery system can determine the delivery status of information data in the third-party system based on the target functional points required by the user in the test template and the corresponding measured value information, so as to subsequently determine whether the information delivery system has passed the test through the callback information of the third-party system for the information delivery operation and the predicted results of the test template, thereby providing a strong basis for the functional testing of the information delivery system.

[0076] Embodiment 3

[0077] Figure 3 It is a flowchart of the automated testing method of the information delivery system provided in Example 3 of the present application. This solution makes a better improvement on the above-mentioned embodiment, and the specific improvement is: reading the operation result of the information delivery operation, including: reading the result of executing the information delivery operation from the information delivery system; wherein the information delivery system is the result of executing the information delivery operation determined based on the feedback data of the third-party system.

[0078] like Figure 3 As shown, specifically including the following:

[0079] S301, inputting the function points of the information delivery system and the selectable value information of each function point in the information delivery system;

[0080] S302, in response to the target function point determination operation, generating a test template based on at least one target function point and measured value information of each target function point;

[0081] S303, sending the test template to the information delivery system, so that the information delivery system parses the test template, obtains the target function point and the measured value information of the target function point, and performs the information delivery operation in the third-party system;

[0082] S304, reading the result of executing the information delivery operation from the information delivery system; wherein the information delivery system determines the result of executing the information delivery operation based on the feedback data of the third-party system;

[0083] The method of reading the result of executing the information delivery operation from the information delivery system may be that the information delivery system receives feedback from a third-party system on the execution result of the information delivery operation, parses the feedback information, reads the status information of the target function point in the execution result of the information delivery operation fed back by the third-party system and stores it, and the automatic testing system sends a request to the information delivery system to read the execution result of the information delivery operation, and the information delivery system responds and retrieves the relevant data and sends it to the automatic testing system.

[0084] S305: Test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

[0085] The advantage of this arrangement of the scheme is that the information delivery system can organize and compile statistics on the feedback data from the third-party system, ensuring that the execution results of the information delivery operation sent to the automatic testing system can be correctly identified by the automatic testing system, which is conducive to improving the accuracy of the information delivery system test.

[0086] Embodiment 4

[0087] Figure 4 It is a flowchart of the automated testing method of the information delivery system provided in the fourth embodiment of the present application. This solution makes a better improvement on the above embodiment, and the specific improvement is: according to the operation result and the measured value information of each target function point in the test template, the information delivery system is tested, including: if there is a target function point in the operation result that is inconsistent with the measured value information of each target function point in the test template, then a report information of the target function point test failure is generated.

[0088] like Figure 4 As shown, specifically including the following:

[0089] S401, inputting the function points of the information delivery system and the selectable value information of each function point in the information delivery system;

[0090] S402, in response to the target function point determination operation, generating a test template based on at least one target function point and measured value information of each target function point;

[0091] S403, sending the test template to the information delivery system, so that the information delivery system can parse the test template and perform information delivery operations;

[0092] S404, reading the operation result of the information delivery operation, and testing the information delivery system according to the operation result and the measured value information of each target function point in the test template;

[0093] S405: If there are target function points in the operation results that are inconsistent with the actual measured value information of each target function point in the test template, generate report information of target function point test failure.

[0094] The method of generating the report information of the target function point test failure can be that the automatic test system reads the state information of the target function point in the operation result of the information delivery operation, and compares it with the corresponding measured value information of the same target function point in the test template. If the state information does not match the measured value information, then the report information of the target function point test failure is generated. The report information may include the target function point, the measured value information, the state information in the information delivery operation result, and the test failure, so as to prompt the user to check and repair the target function point in the information delivery system.

[0095] For example, when testing the marketing scenario of an information delivery platform, the marketing scenario is taken as the target function point. Assuming that the selectable value information corresponding to the marketing scenario is short video, text and pictures, and text and short video, the measured value information corresponding to the target function point is selected as text and pictures and short video in the test template. However, in the read information delivery operation result, the status information of the marketing scenario target function point is short video, which is inconsistent with the measured value information. In this case, it can be determined that the test has failed, and the information that the target function point is the marketing scenario, the measured value information is text and pictures and short video, the information delivery operation result is short video, and the current test has failed is written into a report and sent to the user.

[0096] The advantage of this setting of the scheme is that the test results of the information delivery system can be judged by comparing the information delivery operation results with the actual measured value information, and when the test fails, the problem can be discovered in time and report information can be generated to prompt the user to perform maintenance, which is conducive to accurate statistics and analysis of the test situation.

[0097] Embodiment 5

[0098] Figure 5 It is a flowchart of the automated testing method of the information delivery system provided in Example 5 of the present application. This solution makes a better improvement on the above-mentioned embodiment, and the specific improvement is: according to the operation result and the measured value information of each target function point in the test template, the information delivery system is tested, and it also includes: when there is a target function point in the operation result that is inconsistent with the measured value information of each target function point in the test template, the measured value information of the target function point is switched to other value information in the selectable value information, and the test is re-performed.

[0099] like Figure 5 As shown, specifically including the following:

[0100] S501, inputting the function points of the information delivery system and the selectable value information of each function point in the information delivery system;

[0101] S502, in response to the target function point determination operation, generating a test template based on at least one target function point and measured value information of each target function point;

[0102] S503, sending the test template to the information delivery system, so that the information delivery system can parse the test template and perform information delivery operations;

[0103] S504, reading the operation result of the information delivery operation, and testing the information delivery system according to the operation result and the measured value information of each target function point in the test template;

[0104] S505, when there is a target function point in the operation result that is inconsistent with the measured value information of each target function point in the test template, switch the measured value information of the target function point to other value information in the selectable value information, and re-test;

[0105] The method of retesting is that if it is found that the status information of the target function point of the operation result is inconsistent with the measured value information of the same function point in the test template, then the selectable value information corresponding to the target function point is extracted, and another value information inconsistent with the current measured value information is selected from the selectable value information as the new measured value information, and the test is performed again, that is, a new test template is generated according to the target function point and the new measured value information, and sent to the information delivery system for information delivery operation, feedback information of the information delivery operation is obtained, and compared with the new measured value information, if the feedback information is consistent with the new measured value information at this time, a prompt message of inaccurate identification of the target function point is generated; if the feedback information is still inconsistent with the new measured value information, a report message of target function point test failure is generated.

[0106] S506: If there are target function points in the operation results that are inconsistent with the actual measured value information of each target function point in the test template, generate report information of target function point test failure.

[0107] The advantage of this setting of the scheme is that when the operation result is inconsistent with the actual measured value information in the test template for the first time, the actual measured value information can be replaced and tested again to avoid accidental errors affecting the actual test results, and the test failure results can also be more carefully detected.

[0108] Embodiment 6

[0109] Figure 6It is a flowchart of the automated testing method of the information delivery system provided in Example 6 of the present application. This solution makes a better improvement on the above-mentioned embodiment, and the specific improvement is: inputting the function points of the information delivery system and the selectable value information of each function point in the information delivery system, including: in response to the function point configuration operation, inputting the selectable value information of each function point in the information delivery system in the function point configuration table.

[0110] like Figure 6 As shown, specifically including the following:

[0111] S601, inputting function points of the information delivery system, and in response to the function point configuration operation, inputting selectable value information of each function point in the information delivery system in the function point configuration table;

[0112] The function point configuration operation can be to enter the selectable value information corresponding to the function point. In this solution, the user first inputs the function point of the information delivery system through the external display device of the automatic test system, and the automatic test system generates a function point configuration table based on the function point. Then the user enters the corresponding selectable value information of each function point in the corresponding position of the table according to the pop-up window prompt.

[0113] For example, the function points input by the user are gender and enable status. After the automatic testing system receives the function points input by the user, it generates a function point configuration table with gender and enable status as table headers. The user can enter the corresponding selectable value information in the column corresponding to the table header in the function point configuration table according to the pop-up window instructions, that is, enter male, female, and unlimited in the column with gender as the table header, and enter on and off in the column with enable status as the table header.

[0114] S602: In response to the target function point determination operation, a test template is generated based on at least one target function point and measured value information of each target function point;

[0115] S603, sending the test template to the information delivery system, so that the information delivery system can parse the test template and perform information delivery operations;

[0116] S604: Read the operation result of the information delivery operation, and test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

[0117] The advantage of this setting of the scheme is that the selectable value information of each function point can be entered into the function point configuration table, and the entry process of the selectable value information can be standardized, which is conducive to ensuring the accuracy of the correspondence between the function point and the selectable value information, so as to avoid the influence of the determination of the test results due to the incorrect correspondence.

[0118] Embodiment 7

[0119] Figure 7 It is a structural diagram of the automated testing device for the information delivery system provided in Example 7 of the present application.

[0120] like Figure 7 As shown, specifically including the following:

[0121] Function point input module 701, used to input function points of the information delivery system and selectable value information of each function point in the information delivery system;

[0122] A test template generating module 702 is used to generate a test template based on at least one target function point and measured value information of each target function point in response to the determination operation of the target function point;

[0123] The information delivery operation execution module 703 is used to send the test template to the information delivery system so that the information delivery system can parse the test template and execute the information delivery operation;

[0124] The information delivery system testing module 704 is used to read the operation result of the information delivery operation, and test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

[0125] In an embodiment of the present application, a function point entry module is used to enter the function points of the information delivery system and the selectable value information of each function point in the information delivery system; a test template generation module is used to generate a test template in response to a determination operation of a target function point, based on at least one target function point and the measured value information of each target function point; an information delivery operation execution module is used to send the test template to the information delivery system so that the information delivery system can parse the test template and execute the information delivery operation; an information delivery system test module is used to read the operation result of the information delivery operation, and test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

[0126] Through the above-mentioned automated testing device for the information delivery system, a test template can be generated based on the functional points of the information delivery system and the selectable value information, the results of the information delivery system executing the information delivery operation can be obtained, and the information delivery system can be tested based on the operation results and the test template, thereby realizing automated testing and avoiding possible omissions in manual verification.

[0127] The automated testing device of the information delivery system in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0128] The automated testing device of the information delivery system in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0129] The automated testing device for the information delivery system provided in the embodiment of the present application can implement each process implemented in the above-mentioned method embodiments, and will not be described again here to avoid repetition.

[0130] Embodiment 8

[0131] like Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. When the program or instruction is executed by the processor 801, each process of the embodiment of the automated testing device for the above-mentioned information delivery system is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0132] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0133] Embodiment 9

[0134] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the embodiment of the automated testing device of the above-mentioned information delivery system is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0135] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0136] Embodiment 10

[0137] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the embodiment of the automated testing device for the above-mentioned information delivery system, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0138] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0139] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0141] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0142] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. An automated testing method for an information delivery system, characterized in that: The method is performed by an automated testing system; the method comprises: Enter the function points of the information delivery system and the selectable value information of each function point in the information delivery system; wherein the function point is at least one of whether the information data of the third-party system is delivered in the third-party system, the investment funds, the promotion purpose, the gender of the target audience, and the marketing scenario; In response to the target function point determination operation, a test template is generated based on at least one target function point and the measured value information of each target function point; wherein the test template includes the delivery effect prediction result of the information delivery system; Sending the test template to the information delivery system, so that the information delivery system can parse the test template, obtain the target function point and the measured value information of the target function point, and perform the information delivery operation in the third-party system; The operation result of the information delivery operation is read, and the information delivery system is tested according to the operation result and the measured value information of each target function point in the test template.

2. The automated testing method for an information delivery system according to claim 1, characterized in that: Read the operation result of the information delivery operation, including: The result of executing the information delivery operation is read from the third-party system.

3. The automated testing method for an information delivery system according to claim 1, characterized in that: Read the operation result of the information delivery operation, including: The result of executing the information delivery operation is read from the information delivery system; wherein the information delivery system determines the result of executing the information delivery operation based on the feedback data from the third-party system.

4. The automated testing method for an information delivery system according to claim 1, characterized in that: According to the operation result and the measured value information of each target function point in the test template, the information delivery system is tested, including: If there are target function points in the operation results that are inconsistent with the actual measured value information of each target function point in the test template, report information indicating that the target function point test has failed is generated.

5. The automated testing method for an information delivery system according to claim 4, characterized in that: According to the operation result and the measured value information of each target function point in the test template, the information delivery system is tested, and further comprising: When there are target function points in the operation results that are inconsistent with the actual measured value information of each target function point in the test template, the actual measured value information of the target function point is switched to other value information in the selectable value information, and the test is performed again.

6. The automated testing method for an information delivery system according to claim 1, characterized in that: Enter the function points of the information delivery system and the selectable value information of each function point in the information delivery system, including: In response to the function point configuration operation, selectable value information of each function point in the information delivery system is entered into the function point configuration table.

7. An automated testing device for an information delivery system, characterized in that: The device is executed by an automated testing system; the device comprises: A function point input module is used to input the function points of the information delivery system and the selectable value information of each function point in the information delivery system; wherein the function point is at least one of whether the information data of the third-party system is delivered in the third-party system, the investment funds, the promotion purpose, the gender of the audience, and the marketing scenario; A test template generation module, for generating a test template in response to a target function point determination operation based on at least one target function point and measured value information of each target function point; wherein the test template includes a delivery effect prediction result of the information delivery system; An information delivery operation execution module, used for sending the test template to the information delivery system, so that the information delivery system can parse the test template, obtain the target function point and the measured value information of the target function point, and execute the information delivery operation in the third-party system; The information delivery system test module is used to read the operation result of the information delivery operation, and test the information delivery system according to the operation result and the measured value information of each target function point in the test template.

8. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the automated testing method for the information delivery system as described in any one of claims 1 to 6 are implemented.

9. A readable storage medium, characterized in that: The readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the steps of the automated testing method for the information delivery system according to any one of claims 1 to 6 are implemented.