WiFi adaptive test method, system and terminal
By building test scripts and integrating test results, the problem of repetitive work in manual WiFi testing is solved, saving costs and improving efficiency.
Patent Information
- Application Number
- CN202411309205.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-21
AI Technical Summary
In the prior art, there are a lot of simple and repetitive work for manual WiFi testing, resulting in high testing costs and low efficiency.
Obtain target device information through user input query instructions, generate test codes and test scripts, test WiFi connection status multiple times, extract and integrate test results, and generate test result tables.
It avoids repeated testing work, saves labor costs, improves testing efficiency, provides testers with key information, and reduces time waste in redundant data.
Smart Images

Figure CN119342514A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic equipment testing, and in particular to a WiFi adaptive testing method, system, terminal and computer-readable storage medium. Background Art
[0002] WiFi testing can help users understand and optimize the performance of wireless network systems, while also helping to reduce operating costs. It can provide users with timely fault information, reduce the impact of faults on operations, and reduce operating costs. In addition, by continuously testing and optimizing WiFi, user satisfaction can be effectively improved.
[0003] However, existing performance tests of WiFi, Ethernet, hotspots, etc. all require manual code input for repeated testing. Many testing tasks are simple and repetitive. Not only is the process boring, but it also requires a large number of testers, and the testing cost remains high.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The main purpose of the present invention is to provide a WiFi adaptive testing method, system, terminal and computer-readable storage medium, aiming to solve the problem that manual WiFi testing in the prior art involves a lot of simple repetitive work, resulting in high testing costs and low testing efficiency.
[0006] To achieve the above object, the present invention provides a WiFi adaptive testing method, which comprises the following steps:
[0007] According to the query instruction input by the user, the target device information of the target device is obtained, a test code is generated according to the target device information, and a test script is generated according to the test code;
[0008] According to the test script and pre-stored test information, the WiFi connection status of the target device is tested multiple times to obtain multiple test results;
[0009] According to the data extraction instruction input by the user, multiple target data are extracted from all the test results, and all the target data are integrated to generate a test result table.
[0010] Optionally, the WiFi adaptive testing method, wherein the step of acquiring target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code, further comprises:
[0011] Get the device information of all devices that have established connections.
[0012] Optionally, the WiFi adaptive test method, wherein the step of acquiring target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code, specifically includes:
[0013] If there are multiple devices that have established connections, obtain a query instruction input by the user, query the target device information of the target device in all the device information according to the query instruction, and generate a test code for the target device according to the target device information;
[0014] If there is only one device with established connection, the device is used as the target device, and a test code of the target device is generated according to the target device information of the target device;
[0015] A test script is generated according to the test code.
[0016] Optionally, the WiFi adaptive testing method, wherein the WiFi connection status of the target device is tested multiple times according to the test script and pre-stored test information to obtain multiple test results, specifically includes:
[0017] Determining the number of times to test the target device according to pre-stored test information;
[0018] Execute the test script the number of times to test the WiFi connection status of the target device multiple times and generate corresponding test results;
[0019] storing all said test results into a pre-built record document;
[0020] Wherein, each time the WiFi connection status of the target device is tested, a test result is generated.
[0021] Optionally, the WiFi adaptive testing method, wherein the WiFi connection status of the target device is tested multiple times according to the test script and pre-stored test information to obtain multiple test results, further comprises:
[0022] If it is recognized that the user inputs a repeat test instruction, the repeat test instruction is analyzed to obtain the number of repetitions for testing the target device;
[0023] According to the test code, the WiFi connection status of the target device is tested multiple times according to the number of repetitions, and corresponding repeated test results are generated, and all the repeated test results are stored in a record document to update the record document.
[0024] Optionally, in the WiFi adaptive testing method, the target data includes: packet loss rate and delay information;
[0025] The extracting of multiple target data from all the test results according to the data extraction instruction input by the user, and integrating all the target data to generate a test result table specifically includes:
[0026] Obtaining a data extraction instruction input by a user, and determining the packet loss rate and the delay information in each of the test results and each of the repeated test results according to the data extraction instruction;
[0027] Extracting the target data in each of the test results and each of the repeated test results according to the keyword of each of the packet loss rates and the keyword of each of the delay information;
[0028] Integrate all the target data to generate a test result table.
[0029] Optionally, the WiFi adaptive testing method, wherein the step of extracting a plurality of target data from all the test results respectively according to the data extraction instruction input by the user, and integrating all the target data to generate a test result table, further comprises:
[0030] If the device information of other devices is obtained according to the new query instruction input by the user, a corresponding new test code is generated according to the device information of other devices;
[0031] The test script is updated according to the new test code to obtain a new test script.
[0032] In addition, to achieve the above object, the present invention also provides a WiFi adaptive test system, wherein the WiFi adaptive test system comprises:
[0033] A test script creation module, used to obtain target device information of a target device according to a query instruction input by a user, generate a test code according to the target device information, and generate a test script according to the test code;
[0034] A connection status test module, used to perform multiple tests on the WiFi connection status of the target device according to the test script and pre-stored test information to obtain multiple test results;
[0035] The test result integration module is used to extract multiple target data from all the test results according to the data extraction instruction input by the user, and integrate all the target data to generate a test result file.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a WiFi adaptive test program stored in the memory and executable on the processor, and when the WiFi adaptive test program is executed by the processor, the steps of the WiFi adaptive test method described above are implemented.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a WiFi adaptive test program, and when the WiFi adaptive test program is executed by a processor, the steps of the WiFi adaptive test method described above are implemented.
[0038] In the present invention, according to the query instruction input by the user, the target device information of the target device is obtained, according to the target device information, a test code is generated, and a test script is generated according to the test code; according to the test script and the pre-stored test information, the WiFi connection status of the target device is tested multiple times to obtain multiple test results; according to the data extraction instruction input by the user, multiple target data are extracted from all the test results, and all the target data are integrated to generate a test result table. The present invention conducts multiple tests on the WiFi connection status of different devices by constructing a test script, thereby avoiding repeated simple testing work and saving labor costs. At the same time, each test result is integrated to generate a test result table, providing key information for testers, avoiding testers from wasting time on repeated and redundant data, and improving the work efficiency of testers. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of a preferred embodiment of the WiFi adaptive testing method of the present invention;
[0040] Figure 2 It is a first schematic diagram of a preferred embodiment of the WiFi adaptive testing method of the present invention;
[0041] Figure 3 It is a schematic diagram of test results of a preferred embodiment of the WiFi adaptive test method of the present invention;
[0042] Figure 4 is a second schematic diagram of a preferred embodiment of the WiFi adaptive testing method of the present invention;
[0043] Figure 5 It is a structural diagram of a preferred embodiment of the WiFi adaptive test system of the present invention;
[0044] Figure 6 Schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0046] The WiFi adaptive testing method described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the WiFi adaptive testing method includes the following steps:
[0047] Step S10: acquiring target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code.
[0048] Among them, WiFi testing can help users understand and optimize the performance of wireless network systems, while also helping to reduce operating costs. It can provide users with fault information in a timely manner, reduce the impact of faults on operations, and reduce operating costs; and, by continuously testing and optimizing WiFi, it can effectively improve user satisfaction.
[0049] Before testing the WiFi connection status, the device information corresponding to all devices that have established connections must be obtained separately. After obtaining, all device information is integrated and displayed on the connected user display screen for user reference, so as to prompt the user which devices the WiFi connection status of the user can be tested. If the device that the user needs to test does not appear, the user can be reminded that the device is not connected.
[0050] Furthermore, if there is only one device connected, there is no need to perform the step of integrating device information. If a test instruction from the user is received at this time, the currently connected device is directly tested.
[0051] Specifically, if there are multiple devices with established connections, a query instruction input by the user is obtained, and according to the query instruction, the target device information of the target device is queried in all the device information, and a test code for the target device is generated according to the target device information; if there is only one device with established connection, the device is taken as the target device, and a test code for the target device is generated according to the target device information of the target device; and a test script is generated according to the test code.
[0052] Among them, if there are multiple devices with established connections, corresponding integrated information will be generated. Based on the integrated information, the device information of the devices with established connections can be determined. According to the query instruction input by the user, the target device information of the unique target device can be determined in the integrated information, which reduces the time for users to find devices and improves the efficiency of users testing the WiFi connection status of the target device. After finding the target device, the corresponding test code will be directly generated according to the target device information. Based on this test code, a test script for testing the WiFi connection status of the target device can be generated.
[0053] Furthermore, if there is only one device that has established a connection, there is no need to generate integration information, and this device will be directly determined as the target device and a corresponding test code will be generated, saving the time of integrating device information. If the query information entered by the user does not correspond to this device, a prompt message will be generated to prompt the user to confirm the physical connection status of the device to be tested.
[0054] Step S20: Perform multiple tests on the WiFi connection status of the target device according to the test script and pre-stored test information to obtain multiple test results.
[0055] Among them, after the target device is determined, the WiFi connection status of the target device can be tested according to the pre-stored test information and test script. The test information includes the number of times the target device is tested, and can also be changed according to the user's current needs, thereby improving the user's testing experience and meeting the user's needs to a greater extent.
[0056] Specifically, based on pre-stored test information, the number of times the target device is tested is determined; the test script is executed according to the number of times to test the WiFi connection status of the target device multiple times and generate corresponding test results; all the test results are stored in a pre-built record document; wherein, each time the WiFi connection status of the target device is tested, a test result is generated.
[0057] Among them, Figure 2 As shown, according to the preset test times in the test information, the test script is executed. After execution, the test results obtained after executing the test script this time are automatically counted, including information such as packet loss rate and delay, such as Figure 3 As shown; at the same time, these test results will also be saved in the constructed record document, so that users can query relevant test information at any time, which can help users in their subsequent work (including analysis of test information, etc.), thereby improving users' work efficiency.
[0058] Furthermore, if a user input of a repeat test instruction is recognized, the repeat test instruction is analyzed to obtain the number of repetitions for testing the target device; according to the test code, the WiFi connection status of the target device is tested multiple times according to the number of repetitions, and corresponding repeat test results are generated, and all the repeat test results are stored in a record document to update the record document.
[0059] Among them, the repeat test instruction is input by the user according to the current demand. When the user needs to test the target device again, the repeat test instruction can be entered to retest based on the above completed test, and the generated repeat test results will also be stored in the record document, which improves the flexibility of the test process and meets the needs of users to a greater extent.
[0060] Step S30: extract multiple target data from all the test results according to the data extraction instruction input by the user, and integrate all the target data to generate a test result table.
[0061] The target data includes: packet loss rate and delay information.
[0062] After completing the test of the target device, the target data required by the user, such as packet loss rate and delay information, can be extracted from the record document (all test results) according to the input data extraction instruction, and each target data in all test processes will be integrated, such as Figure 4 As shown, the target data is parsed and corresponding table information is generated to visualize the test results, thereby improving the user's subsequent work efficiency.
[0063] Furthermore, in the process of testing the WiFi connection status of the target device, it can be tested using ping (Packet Internet Groper) or iperf (network performance testing tool), which provides users with more choices and further improves the user experience.
[0064] Specifically, obtain the data extraction instruction input by the user, and determine the packet loss rate and the delay information in each test result and each repeated test result according to the data extraction instruction; extract the target data in each test result and each repeated test result according to the keyword of each packet loss rate and the keyword of each delay information; integrate all the target data to generate a test result table.
[0065] Each time a test is completed, the corresponding test result will be stored in the record document until the test script is executed in a loop according to the number of tests and the number of repeated tests, and finally a test result table is generated, as shown in Table 1, wherein the first row indicates the order of the tests, the second row indicates the packet loss rate, and the third row indicates the maximum delay. Recording the test results after each test can make the test process more transparent, helping users understand the entire process of testing the target device, thereby improving the visualization of the test process and providing a reference for subsequent testing of the target device.
[0066] Table 1: Test results
[0067] 0 1 2 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 0 0 192 87 356 166 221 173 114 159 279 238
[0068] Furthermore, if device information of other devices is obtained according to the new query instruction input by the user, a corresponding new test code is generated according to the device information of other devices; and the test script is updated according to the new test code to obtain a new test script.
[0069] Among them, when the user enters a new query instruction and needs to test a new device, the test can be directly performed with the same steps as above. By setting the test information, it helps to free the tester from simple and repetitive testing work, thus significantly saving labor costs.
[0070] The present invention conducts multiple tests on the WiFi connection status of different devices by constructing a test script, thereby avoiding repeated simple testing work and saving labor costs. At the same time, each test result is integrated to generate a test result table, providing key information for testers, avoiding testers from wasting time in repeated and redundant data, and improving the work efficiency of testers.
[0071] Furthermore, if Figure 5 As shown, based on the above WiFi adaptive test method, the present invention also provides a WiFi adaptive test system accordingly, wherein the WiFi adaptive test system includes:
[0072] The test script creation module 51 is used to obtain target device information of a target device according to a query instruction input by a user, generate a test code according to the target device information, and generate a test script according to the test code;
[0073] A connection status testing module 52, configured to perform multiple tests on the WiFi connection status of the target device according to the test script and pre-stored test information to obtain multiple test results;
[0074] The test result integration module 53 is used to extract multiple target data from all the test results according to the data extraction instruction input by the user, and integrate all the target data to generate a test result file.
[0075] Furthermore, if Figure 6 As shown, based on the above WiFi adaptive test method and system, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 6 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0076] The memory 20 may be an internal storage unit of the terminal in some embodiments, such as a hard disk or memory of the terminal. The memory 20 may also be an external storage device of the terminal in other embodiments, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed in the terminal, such as the program code of the installation terminal, etc. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a WiFi adaptive test program 40 is stored on the memory 20, and the WiFi adaptive test program 40 can be executed by the processor 10, thereby realizing the WiFi adaptive test method in the present application.
[0077] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the WiFi adaptive test method.
[0078] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
[0079] In one embodiment, when the processor 10 executes the WiFi adaptive test program 40 in the memory 20, the following steps are implemented:
[0080] According to the query instruction input by the user, the target device information of the target device is obtained, a test code is generated according to the target device information, and a test script is generated according to the test code;
[0081] According to the test script and pre-stored test information, the WiFi connection status of the target device is tested multiple times to obtain multiple test results;
[0082] According to the data extraction instruction input by the user, multiple target data are extracted from all the test results, and all the target data are integrated to generate a test result table.
[0083] The method of acquiring target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code may also include:
[0084] Get the device information of all devices that have established connections.
[0085] The step of acquiring target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code specifically includes:
[0086] If there are multiple devices that have established connections, obtain a query instruction input by the user, query the target device information of the target device in all the device information according to the query instruction, and generate a test code for the target device according to the target device information;
[0087] If there is only one device with established connection, the device is used as the target device, and a test code of the target device is generated according to the target device information of the target device;
[0088] A test script is generated according to the test code.
[0089] The WiFi connection status of the target device is tested multiple times according to the test script and the pre-stored test information to obtain multiple test results, specifically including:
[0090] Determining the number of times to test the target device according to pre-stored test information;
[0091] Execute the test script the number of times to test the WiFi connection status of the target device multiple times and generate corresponding test results;
[0092] storing all said test results into a pre-built record document;
[0093] Wherein, each time the WiFi connection status of the target device is tested, a test result is generated.
[0094] The method further includes performing multiple tests on the WiFi connection status of the target device according to the test script and pre-stored test information to obtain multiple test results, and then further including:
[0095] If it is recognized that the user inputs a repeat test instruction, the repeat test instruction is analyzed to obtain the number of repetitions for testing the target device;
[0096] According to the test code, the WiFi connection status of the target device is tested multiple times according to the number of repetitions, and corresponding repeated test results are generated, and all the repeated test results are stored in a record document to update the record document.
[0097] Wherein, the target data includes: packet loss rate and delay information;
[0098] The extracting of multiple target data from all the test results according to the data extraction instruction input by the user, and integrating all the target data to generate a test result table specifically includes:
[0099] Obtaining a data extraction instruction input by a user, and determining the packet loss rate and the delay information in each of the test results and each of the repeated test results according to the data extraction instruction;
[0100] Extracting the target data in each of the test results and each of the repeated test results according to the keyword of each of the packet loss rates and the keyword of each of the delay information;
[0101] Integrate all the target data to generate a test result table.
[0102] The method further comprises: extracting a plurality of target data from all the test results respectively according to the data extraction instruction input by the user, integrating all the target data, and generating a test result table; and then:
[0103] If the device information of other devices is obtained according to the new query instruction input by the user, a corresponding new test code is generated according to the device information of other devices;
[0104] The test script is updated according to the new test code to obtain a new test script.
[0105] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a WiFi adaptive test program, and when the WiFi adaptive test program is executed by a processor, the steps of the WiFi adaptive test method described above are implemented.
[0106] In summary, the present invention provides a WiFi adaptive testing method and related equipment, the method comprising: obtaining target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code; performing multiple tests on the WiFi connection status of the target device according to the test script and pre-stored test information to obtain multiple test results; extracting multiple target data from all the test results according to a data extraction instruction input by a user, and integrating all the target data to generate a test result table. The present invention performs multiple tests on the WiFi connection status of different devices by constructing a test script, thereby avoiding repeated simple testing work and saving labor costs. At the same time, each test result is integrated to generate a test result table, providing key information for testers, avoiding testers from wasting time on repeated and redundant data, and improving the work efficiency of testers.
[0107] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0108] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0109] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A WiFi adaptive testing method, characterized in that: The WiFi adaptive testing method comprises: According to the query instruction input by the user, the target device information of the target device is obtained, a test code is generated according to the target device information, and a test script is generated according to the test code; According to the test script and pre-stored test information, the WiFi connection status of the target device is tested multiple times to obtain multiple test results; According to the data extraction instruction input by the user, multiple target data are extracted from all the test results, and all the target data are integrated to generate a test result table.
2. The WiFi adaptive testing method according to claim 1, characterized in that: The method further includes: obtaining target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code. Get the device information of all devices that have established connections.
3. The WiFi adaptive testing method according to claim 2, characterized in that: The step of acquiring target device information of a target device according to a query instruction input by a user, generating a test code according to the target device information, and generating a test script according to the test code specifically includes: If there are multiple devices that have established connections, obtain a query instruction input by the user, query the target device information of the target device in all the device information according to the query instruction, and generate a test code for the target device according to the target device information; If there is only one device with established connection, the device is used as the target device, and a test code of the target device is generated according to the target device information of the target device; A test script is generated according to the test code.
4. The WiFi adaptive testing method according to claim 1, characterized in that: The WiFi connection status of the target device is tested multiple times according to the test script and the pre-stored test information to obtain multiple test results, specifically including: Determining the number of times to test the target device according to pre-stored test information; Execute the test script the number of times to test the WiFi connection status of the target device multiple times and generate corresponding test results; storing all said test results into a pre-built record document; Wherein, each time the WiFi connection status of the target device is tested, a test result is generated.
5. The WiFi adaptive testing method according to claim 1, characterized in that: The method further includes: performing multiple tests on the WiFi connection status of the target device according to the test script and the pre-stored test information to obtain multiple test results, and then further including: If it is recognized that the user inputs a repeat test instruction, the repeat test instruction is analyzed to obtain the number of repetitions for testing the target device; According to the test code, the WiFi connection status of the target device is tested multiple times according to the number of repetitions, and corresponding repeated test results are generated, and all the repeated test results are stored in a record document to update the record document.
6. The WiFi adaptive testing method according to claim 5, characterized in that: The target data includes: packet loss rate and delay information; The extracting of multiple target data from all the test results according to the data extraction instruction input by the user, and integrating all the target data to generate a test result table specifically includes: Obtaining a data extraction instruction input by a user, and determining the packet loss rate and the delay information in each of the test results and each of the repeated test results according to the data extraction instruction; Extracting the target data in each of the test results and each of the repeated test results according to the keyword of each of the packet loss rates and the keyword of each of the delay information; Integrate all the target data to generate a test result table.
7. The WiFi adaptive testing method according to claim 3, characterized in that: The method further comprises: extracting a plurality of target data from all the test results respectively according to the data extraction instruction input by the user, integrating all the target data, and generating a test result table; and then: If the device information of other devices is obtained according to the new query instruction input by the user, a corresponding new test code is generated according to the device information of other devices; The test script is updated according to the new test code to obtain a new test script.
8. A WiFi adaptive test system, characterized in that: The WiFi adaptive test system comprises: A test script creation module, used to obtain target device information of a target device according to a query instruction input by a user, generate a test code according to the target device information, and generate a test script according to the test code; A connection status test module, used to perform multiple tests on the WiFi connection status of the target device according to the test script and pre-stored test information to obtain multiple test results; The test result integration module is used to extract multiple target data from all the test results according to the data extraction instruction input by the user, and integrate all the target data to generate a test result file.
9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a WiFi adaptive test program stored in the memory and executable on the processor. When the WiFi adaptive test program is executed by the processor, the steps of the WiFi adaptive test method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a WiFi adaptive test program, and when the WiFi adaptive test program is executed by a processor, the steps of the WiFi adaptive test method according to any one of claims 1 to 7 are implemented.