An automated test system, method, apparatus, and storage medium

By generating test requests from local data forms through an automated testing system, and performing automated testing and displaying the results using a hardware testing platform, the inefficiency and error-proneness caused by manual intervention in existing technologies are solved, achieving efficient and visualized test result display.

CN115964303BActive Publication Date: 2026-06-12INSPUR BUSINESS MACHINE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR BUSINESS MACHINE CO LTD
Filing Date
2023-02-10
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

In existing technologies, testing server components requires manual intervention, has a low degree of automation, low testing efficiency, and is prone to errors, which cannot meet the quality requirements for individual shipments of small servers.

Method used

An automated testing system was designed. It generates test requests in local data forms, performs automated testing using a preset hardware testing platform, and displays the test results on a web test control interface, thereby reducing manual intervention and improving testing efficiency.

🎯Benefits of technology

It has enabled automated testing of server components, improved testing efficiency, reduced manual intervention, avoided missed tests, and displayed test data through a visual interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115964303B_ABST
    Figure CN115964303B_ABST
Patent Text Reader

Abstract

The application discloses an automatic test system, method, device and storage medium, and relates to the field of automatic test, and comprises a request generation module, a request sending module, a form updating module and a result display module.The request generation module is used for judging whether a new task exists in a local first data form, and if the new task exists, generating a corresponding target test request based on the new task.The request sending module is used for sending the target test request to a preset hardware test platform, so that the hardware test platform tests the new task based on the target test request.The form updating module is used for judging whether a test result generated by the hardware test platform is detected, and if the test result is detected, updating the test result and test information corresponding to the test result to a local second data form.The result display module is used for displaying the test result on a web test control interface.In this way, the automatic test system can meet the test of different types of spare parts, reduces manual intervention, and effectively improves the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automated testing, and in particular to an automated testing system, method, device and storage medium. Background Technology

[0002] With the continuous development of server technology, the market demand for servers is also gradually increasing. Currently, there is a demand for individual shipments of various components of small servers, such as customer upgrades and expansions, customer service spare parts, and on-site repairs. It is necessary to conduct individual functional tests and FRU (Field Replaceable Unit) information recording on different types of components in the factory to ensure that the individually shipped components meet the standard quality requirements.

[0003] In existing technologies, the testing of service spare parts generally adopts the method of testing with the whole machine, that is, the component testing is part of the whole machine testing. Different test platforms are selected according to the component model and quantity, the whole machine test file is configured, and the corresponding component test section in the whole machine test is manually selected for testing. After the functional test is completed, the FRU is manually programmed according to the configuration table. However, this mode requires manual intervention and judgment, and the degree of automation is low. Before each test, the whole machine test file needs to be configured according to different component types, and the testing efficiency is also low. In addition, the manual programming method is prone to errors, which increases the probability of product quality problems. Summary of the Invention

[0004] In view of this, the purpose of this invention is to provide an automated testing system, method, device, and storage medium. After determining that a new task exists in a local data form, the system generates a corresponding test request based on the new task, tests the new task using a preset hardware testing platform, and displays the test results on a preset web test control interface. This achieves automated testing. The specific solution is as follows:

[0005] In a first aspect, this application discloses an automated testing system applied to a client, comprising:

[0006] The request generation module is used to determine whether there is a new task in the local first data form. If there is a new task, a corresponding target test request is generated based on the new task.

[0007] The request sending module is used to send the target test request to a preset hardware test platform so that the hardware test platform can test the new task based on the target test request.

[0008] The form update module is used to determine whether the test result generated by the hardware test platform is detected. If the test result is detected, the test result and the test information corresponding to the test result are updated to the local second data form.

[0009] The results display module is used to display the test results on the web test control interface.

[0010] Optionally, the automated testing system may further include:

[0011] The form generation module is used to generate a first data form and a second data form in the local database; the first data form is used to update the test task, and the second data form is used to update the test record; the test record includes the test result and the corresponding test information.

[0012] Optionally, the request generation module includes:

[0013] The task judgment unit is used to determine whether there is a new task in the first data form of the local database and generate a judgment result;

[0014] The request generation unit is used to generate a target test request corresponding to the new task based on the request component if the judgment result indicates that a new task exists; the target test request is a POST request with JSON format as the parameter type.

[0015] Optionally, the request sending module includes:

[0016] The request sending unit is used to send the target test request to the hardware test platform, so that the hardware test platform can automatically configure the corresponding test configuration file and configuration tool based on the target test request, use the configuration file and the configuration tool to test the new task, and generate the corresponding test results.

[0017] Optionally, the form update module includes:

[0018] The judgment unit is used to determine whether the test result generated by the hardware test platform after testing the new task has been detected.

[0019] An update unit is used to update the test result, the serial number information, model information, firmware version information of the test component corresponding to the test result, and the update time of the test result to the second data form when the test result is detected.

[0020] Optionally, the result display module includes:

[0021] The result sending unit is used to send the test results to the web test control interface, so that after receiving the test results, the web test control interface uses the render component to return the test results to the front end for display.

[0022] Optionally, the automated testing system may further include:

[0023] The information burning module is used to determine whether the test result generated by the hardware test platform is detected. If the test result is detected, the information burning operation is performed on the locally generated field replaceable unit information, and the field replaceable unit information is updated to the second data form.

[0024] Secondly, this application discloses an automated testing method applied to a client, including:

[0025] Determine whether a new task exists in the local first data form. If a new task exists, generate a corresponding target test request based on the new task.

[0026] The target test request is sent to a preset hardware test platform so that the hardware test platform can test the new task based on the target test request;

[0027] Determine whether the test result generated by the hardware testing platform is detected. If the test result is detected, update the test result and the test information corresponding to the test result to the local second data form.

[0028] The test results are displayed on the web test control interface.

[0029] Thirdly, this application discloses an electronic device, including:

[0030] Memory, used to store computer programs;

[0031] A processor for executing the computer program to implement the aforementioned automated testing method.

[0032] Fourthly, this application discloses a computer-readable storage medium for storing a computer program, which, when executed by a processor, implements the aforementioned automated testing method.

[0033] In this application, the automated testing system includes a request generation module for determining whether a new task exists in a local first data form. If a new task exists, a corresponding target test request is generated based on the new task. A request sending module is used to send the target test request to a preset hardware testing platform, so that the hardware testing platform can test the new task based on the target test request. A form update module is used to determine whether a test result generated by the hardware testing platform is detected. If the test result is detected, the test result and the corresponding test information are updated to a local second data form. A result display module is used to display the test result on a web test control interface. Therefore, this application can, after determining that a new task exists in the local data form, generate a corresponding test request based on the new task in the local data form, test the new task using a preset hardware testing platform, and display the test result on a preset web test control interface. This achieves automated testing, reduces manual intervention, effectively improves testing efficiency, and allows visualization of test data using the preset web test control interface, avoiding missed tests. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0035] Figure 1 Please provide a schematic diagram of the structure of an automated testing system device.

[0036] Figure 2 Please provide a diagram of the components of an automated testing system.

[0037] Figure 3 Please provide a hardware testing platform composition diagram.

[0038] Figure 4 Please provide a schematic diagram of a specific automated testing system device.

[0039] Figure 5 Please provide a flowchart of a specific automated testing method.

[0040] Figure 6 This application provides a structural diagram of an electronic device. Detailed Implementation

[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0042] In existing technologies, the testing of service spare parts generally adopts the whole machine testing method, that is, the component testing is part of the whole machine testing. Different test platforms are selected according to the component model and quantity, the whole machine test files are configured, and the corresponding component test parts in the whole machine test are manually selected for testing. After the functional test is completed, the FRU is manually burned according to the configuration table.

[0043] To overcome the aforementioned technical problems, this application provides an automated testing system. Upon determining that a new task exists in a local data form, the system generates a corresponding test request based on the new task, tests the new task using a preset hardware testing platform, and displays the test results on a preset web-based test control interface. This achieves automated testing, reduces manual intervention, effectively improves testing efficiency, and allows for visualization of test data through the preset web-based test control interface, preventing missed tests.

[0044] See Figure 1 As shown, this embodiment of the invention discloses an automated testing system applied to a client, comprising:

[0045] The request generation module 11 is used to determine whether there is a new task in the local first data form. If there is a new task, a corresponding target test request is generated based on the new task.

[0046] In this embodiment, as Figure 2The diagram shows the overall composition of the automated testing system, including a test control module, a hardware testing platform, a web test control interface, and a local database. After the automated system starts operating, it first checks if a new test task exists in the first data form of the local database. If a new test task exists, the test control module generates a corresponding test request based on the task and sends it to the hardware testing platform. If no new test task exists in the first data form, no test request is generated until a new task appears in the form. It should be noted that the local database is a MySQL database, and the first data form is a dynamic form, primarily interacting with the web test control interface to update test tasks in real time based on web input. The local database can also store test scripts for the hardware testing platform to access based on component type, record test information and results, and provide external query functionality, establishing an open database for the MES (Manufacturing Execution System) for querying and access, thus ensuring controllable production processes.

[0047] Furthermore, the automated testing system also includes a form generation module, used to generate a first data form and a second data form in a local database; the first data form is used to update test tasks, and the second data form is used to update test records; the test records include test results and corresponding test information. That is, a dynamic first data form for updating test tasks and a second data form for updating test records are generated in the local database. In this way, whether a corresponding test request needs to be generated can be determined by checking whether a new task is added to the first data form.

[0048] The request sending module 12 is used to send the target test request to a preset hardware test platform so that the hardware test platform can test the new task based on the target test request.

[0049] In this embodiment, the target test request is sent to a preset hardware testing platform so that the hardware testing platform can test the newly added task based on the target test request. That is, after the test control module generates a corresponding test request based on the newly added task in the first data form of the local database, it needs to send the test request to the hardware testing platform. When the hardware testing platform receives the test request, it can test the newly added task in the local database based on the test request. Figure 3The diagram shows the components of the hardware testing platform. Under the scheduling of the test control module, the hardware testing platform can verify the information of the connected components under test according to the test tasks in the local database, automatically configure the test configuration file and test tools, and perform tests according to the set test program while providing real-time feedback on test information. The hardware testing platform is the execution end, deployed on the hardware test server, and receives messages from the outside using a fixed port.

[0050] The form update module 13 is used to determine whether the test result generated by the hardware test platform is detected. If the test result is detected, the test result and the test information corresponding to the test result are updated to the local second data form.

[0051] In this embodiment, it is determined whether the test result generated by the hardware testing platform is detected. If the test result is detected, the test result and the corresponding test information are updated to the local second data form. That is, the test control module can detect the test result generated by the hardware testing platform. If a test result corresponding to a newly added task in the local database's first data form is detected, the test result is collected, and the test result and the corresponding test information are updated to the local database's second data form. It should be noted that the test control module is mainly deployed in the engineering server. Its function is to control the testing process, complete information collection and storage, and the test control module is a control terminal that can read the dynamic forms in the local database in real time, that is, it can read the first data form in the local database in real time. When a new task is added, it can generate corresponding test requirements based on the new task, send the test requirements to the hardware testing module, and collect test results.

[0052] It should be noted that the automated testing system described in this application further includes: an information programming module, used to determine whether the test result generated by the hardware testing platform is detected. If the test result is detected, an information programming operation is performed on the locally generated field replaceable unit information, and the field replaceable unit information is updated to the second data form. That is, the test control module can detect the test result generated by the hardware testing platform. If the test control module detects the test result generated by the hardware testing platform, it can program the generated FRU information, i.e., the field replaceable unit information, and update the FRU information to the second data form in the local database.

[0053] The results display module 14 is used to display the test results on the web test control interface.

[0054] In this embodiment, after the test control module detects the test results generated by the hardware test platform, it can send the test results to the web test control interface for display. It should be noted that the web test control interface primarily provides an external operation window for user interaction, allowing for information input and display. The web test control interface interacts with the local database, collecting new test tasks and updating the first data form in the local database. It can also query test records in the second data form according to user needs.

[0055] Therefore, the automated testing system in this embodiment includes a request generation module, used to determine whether a new task exists in the local first data form; if a new task exists, it generates a corresponding target test request based on the new task; a request sending module, used to send the target test request to a preset hardware testing platform, so that the hardware testing platform can test the new task based on the target test request; a form update module, used to determine whether the test result generated by the hardware testing platform is detected; if the test result is detected, it updates the test result and the test information corresponding to the test result to the local second data form; and a result display module, used to display the test result on a web test control interface. Thus, this application can, after determining that a new task exists in the local data form, generate a corresponding test request based on the new task in the local data form, test the new task using a preset hardware testing platform, and display the test result on a preset web test control interface. This achieves automated testing, reduces manual intervention, effectively improves testing efficiency, and allows visualization of test data using the preset web test control interface, avoiding missed tests.

[0056] See Figure 4 As shown, an embodiment of the present invention discloses an automated testing system, comprising:

[0057] Task judgment unit 21 is used to determine whether there is a new task in the first data form of the local database and generate a judgment result.

[0058] In this embodiment, it is determined whether a new task exists in the first data form of the local database, and a determination result is generated. That is, the test control module can determine whether a new task exists in the first data form of the local database and generate a corresponding determination result. It should be noted that the generation of the new task needs to be achieved through external information. That is, when the SN (Serial Number) of the component under test is received from an external device such as a barcode scanner, a corresponding test task can be generated for the component under test, and the test control module can update the first data form in the local database.

[0059] The request generation unit 22 is used to generate a target test request corresponding to the new task based on the request component if the judgment result indicates that there is a new task; the target test request is a POST request with JSON format as the parameter type.

[0060] In this embodiment, if the judgment result indicates the existence of a new task, a target test request corresponding to the new task is generated based on the request component; the target test request is a POST request with JSON parameters. That is, if the judgment result generated by the test control module indicates the existence of a new task in the first data form of the local database, the test control module generates a POST test request with JSON parameters based on the request component in Python to ensure data integrity.

[0061] The request sending unit 23 is used to send the target test request to the hardware test platform, so that the hardware test platform can automatically configure the corresponding test configuration file and configuration tool based on the target test request, use the configuration file and the configuration tool to test the new task, and generate the corresponding test results.

[0062] In this embodiment, the target test request is sent to the hardware testing platform so that the hardware testing platform can automatically configure the corresponding test configuration file and configuration tool based on the target test request, use the configuration file and configuration tool to test the new task, and generate corresponding test results. That is, after the test control module generates a post test request, it needs to send the post test request to the hardware testing platform so that the hardware testing platform can test the new task in the first data form of the local database based on the post test request. It should be noted that after receiving the post test request from the test control module, the hardware testing platform can automatically configure the test configuration file and configuration tool required for testing the new task in the first data form of the local database based on the post test request, and generate corresponding test results after the test is completed.

[0063] The judgment unit 24 is used to determine whether the test result generated by the hardware test platform after testing the new task has been detected.

[0064] In this embodiment, it is determined whether the test results generated by the hardware testing platform after testing the new task have been detected. That is, after the hardware testing platform completes the testing of the new task, it will generate corresponding test results, which can be detected using the test control module to determine whether the test results have been detected.

[0065] The update unit 25 is used to update the test result, the serial number information, model information, firmware version information of the test component corresponding to the test result, and the update time of the test result to the second data form when the test result is detected.

[0066] In this embodiment, when the test result is detected, the test result, along with the serial number, model information, firmware version information, and update time of the corresponding test component, are updated to the second data form. That is, if the test control module detects a test result generated by the hardware test platform based on a new task added to the first data form of the local database, it collects the serial number, model information, firmware version information, and update time of the corresponding test component, and updates the test result, along with the serial number, model information, firmware version information, and update time of the test result, to the second data form of the local database to save the test record.

[0067] The result sending unit 26 is used to send the test results to the web test control interface, so that after receiving the test results, the web test control interface uses the render component to return the test results to the front end for display.

[0068] In this embodiment, the test control module can be used to send the test results generated by the hardware test platform based on the first data form in the local database to the web test control interface. When the web test control interface receives the test results, it can use the render component to return the test results to the front end for display. In this way, the web test control interface can be used to realize data visualization and query, providing highly efficient human-computer interaction.

[0069] Therefore, the automated testing system in this embodiment includes a task judgment unit, used to determine whether a new task exists in the first data form of the local database, and generate a judgment result; a request generation unit, used to generate a target test request corresponding to the new task based on the request component if the judgment result indicates that a new task exists; the target test request is a POST request with JSON format as the parameter type; and a request sending unit, used to send the target test request to the hardware testing platform, so that the hardware testing platform can automatically configure the corresponding test configuration file and configuration tool based on the target test request, and use the configuration file and the configuration tool to test the hardware testing platform. The system includes a new task for testing and the generation of corresponding test results; a judgment unit to determine whether test results generated by the hardware testing platform after testing the new task are detected; an update unit to update the test results, along with the serial number, model information, firmware version information, and update time of the corresponding test component, to the second data form when the test results are detected; and a result sending unit to send the test results to the web test control interface, so that the web test control interface can return the test results to the front end using the render component after receiving the test results, thereby displaying the test results. This allows for data visualization and querying via the web test control interface, providing efficient human-computer interaction, automated testing of test components, reduced manual intervention, and batch testing of multiple component models on a single platform, improving testing efficiency.

[0070] See Figure 5 As shown, this embodiment of the invention discloses an automated testing method applied to a client, comprising:

[0071] Step S11: Determine whether there is a new task in the local first data form. If there is a new task, generate a corresponding target test request based on the new task.

[0072] Step S12: Send the target test request to a preset hardware test platform so that the hardware test platform can test the new task based on the target test request.

[0073] Step S13: Determine whether the test result generated by the hardware test platform is detected. If the test result is detected, update the test result and the test information corresponding to the test result to the local second data form.

[0074] Step S14: Display the test results on the web test control interface.

[0075] It should be noted that a more detailed description of steps S11 to S14 can be found in the foregoing embodiments, and will not be repeated here.

[0076] Therefore, the automated testing system in this embodiment includes a request generation module, used to determine whether a new task exists in the local first data form; if a new task exists, it generates a corresponding target test request based on the new task; a request sending module, used to send the target test request to a preset hardware testing platform, so that the hardware testing platform can test the new task based on the target test request; a form update module, used to determine whether the test result generated by the hardware testing platform is detected; if the test result is detected, it updates the test result and the test information corresponding to the test result to the local second data form; and a result display module, used to display the test result on a web test control interface. Thus, this application can, after determining that a new task exists in the local data form, generate a corresponding test request based on the new task in the local data form, test the new task using a preset hardware testing platform, and display the test result on a preset web test control interface. This achieves automated testing, reduces manual intervention, effectively improves testing efficiency, and allows visualization of test data using the preset web test control interface, avoiding missed tests.

[0077] In some embodiments, the automated testing method may further include:

[0078] A first data form and a second data form are generated in the local database; the first data form is used to update the test task, and the second data form is used to update the test record; the test record includes the test result and the corresponding test information.

[0079] In some embodiments, determining whether a new task exists in the local first data form, and if a new task exists, generating a corresponding target test request based on the new task, includes:

[0080] Determine if a new task exists in the first data form of the local database, and generate the determination result;

[0081] If the judgment result indicates that a new task exists, a target test request corresponding to the new task is generated based on the request component; the target test request is a POST request with JSON format as the parameter type.

[0082] In some embodiments, sending the target test request to a preset hardware testing platform, so that the hardware testing platform tests the new task based on the target test request, includes:

[0083] The target test request is sent to the hardware test platform so that the hardware test platform can automatically configure the corresponding test configuration file and configuration tool based on the target test request, use the configuration file and configuration tool to test the new task, and generate the corresponding test results.

[0084] In some embodiments, determining whether a test result generated by the hardware testing platform is detected, and if the test result is detected, updating the test result and the corresponding test information to the local second data form, includes:

[0085] Determine whether the test results generated by the hardware testing platform after testing the new task have been detected;

[0086] When the test result is detected, the test result, along with the serial number, model information, firmware version information, and update time of the test component corresponding to the test result, are updated to the second data form.

[0087] In some embodiments, displaying the test results on a web test control interface includes:

[0088] The test results are sent to the web test control interface, so that after receiving the test results, the web test control interface uses the render component to return the test results to the front end for display.

[0089] In some embodiments, the automated testing method may further include:

[0090] Determine whether the test result generated by the hardware test platform is detected. If the test result is detected, perform an information burning operation on the locally generated field replaceable unit information and update the field replaceable unit information to the second data form.

[0091] Furthermore, embodiments of this application also disclose an electronic device, Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.

[0092] Figure 6This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. Specifically, the electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the automated testing system disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0093] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0094] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0095] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including computer programs capable of performing the automated testing system executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs capable of performing other specific tasks.

[0096] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned disclosed automated testing system. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.

[0097] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0098] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0099] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0100] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0101] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An automated test system, characterized by, Applied to the client side, including: The request generation module is used to determine whether there is a new task in the local first data form. If there is a new task, a corresponding target test request is generated based on the new task. The request sending module is used to send the target test request to a preset hardware test platform so that the hardware test platform can test the new task based on the target test request. The form update module is used to determine whether the test result generated by the hardware test platform is detected. If the test result is detected, the test result and the test information corresponding to the test result are updated to the local second data form. The results display module is used to display the test results on the web test control interface; The automated testing system further includes: The information burning module is used to determine whether the test result generated by the hardware test platform is detected. If the test result is detected, the information burning operation is performed on the locally generated field replaceable unit information, and the field replaceable unit information is updated to the second data form. If a serial number of the component under test is received from an external scanning device, a corresponding test task is generated for the component under test, and the test task is updated to the first data form in the local database through the test control module.

2. The automated testing system according to claim 1, characterized in that, Also includes: The form generation module is used to generate a first data form and a second data form from the local database; The first data form is used to update test tasks, and the second data form is used to update test records; the test records include test results and corresponding test information.

3. The automated testing system according to claim 1, characterized in that, The request generation module includes: The task judgment unit is used to determine whether there is a new task in the first data form of the local database and generate a judgment result; The request generation unit is used to generate a target test request corresponding to the new task based on the request component if the judgment result indicates that a new task exists; the target test request is a POST request with JSON format as the parameter type.

4. The automated testing system according to claim 1, characterized in that, The request sending module includes: The request sending unit is used to send the target test request to the hardware test platform, so that the hardware test platform can automatically configure the corresponding test configuration file and configuration tool based on the target test request, use the configuration file and the configuration tool to test the new task, and generate the corresponding test results.

5. The automated testing system according to claim 1, characterized in that, The form update module includes: The judgment unit is used to determine whether the test result generated by the hardware test platform after testing the new task has been detected. An update unit is used to update the test result, the serial number information, model information, firmware version information of the test component corresponding to the test result, and the update time of the test result to the second data form when the test result is detected.

6. The automated testing system according to claim 1, characterized in that, The results display module includes: The result sending unit is used to send the test results to the web test control interface, so that after receiving the test results, the web test control interface uses the render component to return the test results to the front end for display.

7. An automated testing method, characterized in that, Applied to the client side, including: Determine whether a new task exists in the local first data form. If a new task exists, generate a corresponding target test request based on the new task. The target test request is sent to a preset hardware test platform so that the hardware test platform can test the new task based on the target test request; Determine whether the test result generated by the hardware testing platform is detected. If the test result is detected, update the test result and the test information corresponding to the test result to the local second data form. The test results are displayed on the web test control interface; The automated testing method further includes: Determine whether the test result generated by the hardware test platform is detected. If the test result is detected, perform an information burning operation on the locally generated field replaceable unit information and update the field replaceable unit information to the second data form. If a serial number of the component under test is received from an external scanning device, a corresponding test task is generated for the component under test, and the test task is updated to the first data form in the local database through the test control module.

8. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the automated testing method as described in claim 7.

9. A computer-readable storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, implements the automated testing method as described in claim 7.