CN113596900B - Automatic testing method for multi-scene WIFI - Google Patents

Automatic testing method for multi-scene WIFI Download PDF

Info

Publication number
CN113596900B
CN113596900B CN202110862171.5A CN202110862171A CN113596900B CN 113596900 B CN113596900 B CN 113596900B CN 202110862171 A CN202110862171 A CN 202110862171A CN 113596900 B CN113596900 B CN 113596900B
Authority
CN
China
Prior art keywords
test
wifi
tested
testing
script
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110862171.5A
Other languages
Chinese (zh)
Other versions
CN113596900A (en
Inventor
巫伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinhe Semiconductor Technology Wuxi Co Ltd
Original Assignee
Xinhe Semiconductor Technology Wuxi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinhe Semiconductor Technology Wuxi Co Ltd filed Critical Xinhe Semiconductor Technology Wuxi Co Ltd
Priority to CN202110862171.5A priority Critical patent/CN113596900B/en
Publication of CN113596900A publication Critical patent/CN113596900A/en
Application granted granted Critical
Publication of CN113596900B publication Critical patent/CN113596900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Debugging And Monitoring (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an automatic test method of multi-scene WIFI, which comprises a test system consisting of a control computer, a Wifi test instrument and to-be-tested Wireless equipment, wherein the control computer is used for controlling each test part and the test equipment; the test flow is as follows: adjusting the environment and preparing a reference test configuration; configuring an AP to be tested; generating a test execution file; performing a test; summarizing test data to generate a test report, and the like, and all test items are completed, generating a PDF test report and chart summarization. The invention can greatly reduce manual operation, save labor cost, reduce man-made misoperation, reduce interference of external environment to wifi signals, ensure high consistency of environment, and further improve test accuracy. The test system can simultaneously support wifi uninterrupted test of 2.4G and 5G frequency bands, and can directly control and manage the AP to be tested and the test instrument through a program, so that the unattended test process is achieved.

Description

Automatic testing method for multi-scene WIFI
Technical Field
The invention relates to the field of automatic testing, in particular to an automatic testing method for multi-scene WIFI.
Background
Currently, when testing multi-scenario WIFI, the testing method in industry mainly uses manual testing, and needs to manually and continuously adjust parameters and modify configuration of the device to be tested, and then starts testing, which has long testing time and low testing efficiency. Because each manual test can cause different degrees of change to the test environment, the uniqueness of the test environment is not good, which can lead to inaccuracy of the test data.
Disclosure of Invention
The invention aims to provide an automatic test method for multi-scene WIFI, which aims to solve the problems in the background technology.
In order to achieve the above purpose, the present invention provides the following technical solutions:
an automatic test method of multi-scene WIFI, the test system of which comprises the following components:
and (3) a control computer: the device is mainly used for controlling each test component and test equipment; the test cases and test scripts of the testers are stored on the host, and the corresponding test scripts are executed during testing to perform testing;
wifi test instrument: WLAN clients can be simulated to test the AP and terminal equipment of 802.11 a/b/g/n/ac;
wireless device under test: the AP equipment to be tested is divided into a 2.4G frequency band, a 5G frequency band and different antenna distributions.
The to-be-tested Wireless device is connected with the control computer through the Ethernet and the serial port, the control computer is connected with the Wifi test instrument through the Ethernet, and the Wifi test instrument is connected with the to-be-tested Wireless device through the Wifi cable and the Ethernet.
An automatic test system for multi-scene WIFI comprises the following working procedures:
s1, adjusting an environment, and preparing a reference test configuration:
the test environment needs to be manually calibrated for the first time, and a test reference script can be obtained by using a third-party AP, so that a parameter model is provided for the subsequent automatic test.
S2, configuring the AP to be tested
And the tester executes the test script, and the main program is connected with the AP to be tested in a serial port/GUI/Telnet mode and the like to carry out service configuration.
S3, generating a test execution file
And the tester calibrates the environment and starts to execute the main test program, and the main test program generates a corresponding test execution file, namely a test script, according to the test items based on the Sample Profile template, namely the reference script, names according to the test items and stores the test execution file in the independent directory.
S4, executing test
Next, the test script starts to be executed, the script calls the third party lib library function according to different operations, then calls the private API of the instrument to perform different operation steps, and retrieves the test result and data.
S5, summarizing the test data to generate a test report
The main program calls an API interface of the instrument to read test data and test results through the Lib library function, and the test data and the test results are separately written into files and stored under the corresponding directory; and finally, finishing all test items, and generating a PDF test report and chart summarization.
Compared with the prior art, the invention has the advantages that:
1. the manual operation can be greatly reduced, the manual misoperation is reduced while the labor cost is saved, the interference of the external environment to wifi signals is reduced, the high consistency of the environment is ensured, and the testing accuracy is improved.
2. The test system can support wifi uninterrupted test of 2.4G and 5G frequency bands at the same time, and can directly control and manage the AP to be tested and the test instrument through a program, so that the unattended test process is achieved.
Drawings
Fig. 1 is a topological relation diagram of an automated test method for multi-scenario WIFI.
FIG. 2 is a flow chart of a test system of the inventive method.
Detailed Description
The technical scheme of the patent is further described in detail below with reference to the specific embodiments.
Referring to fig. 1 and 2, an automated testing method for multi-scenario WIFI, a testing system thereof includes:
and (3) a control computer: the device is mainly used for controlling each test component and test equipment; the test cases and test scripts of the testers are stored on the host, and the corresponding test scripts are executed during testing to perform testing;
wifi test instrument: WLAN clients can be simulated to test the AP and terminal equipment of 802.11 a/b/g/n/ac;
wireless device under test: the AP equipment to be tested is divided into a 2.4G frequency band, a 5G frequency band and different antenna distributions.
The to-be-tested Wireless device is connected with the control computer through the Ethernet and the serial port, the control computer is connected with the Wifi test instrument through the Ethernet, and the Wifi test instrument is connected with the to-be-tested Wireless device through the Wifi cable and the Ethernet.
As shown in fig. 2, an automated test system for multi-scenario WIFI has the following workflow:
s1, adjusting an environment, and preparing a reference test configuration:
the test environment needs to be manually calibrated for the first time, and a test reference script can be obtained by using a third-party AP, so that a parameter model is provided for the subsequent automatic test.
S2, configuring the AP to be tested
And the tester executes the test script, and the main program is connected with the AP to be tested in a serial port/GUI/Telnet mode and the like to carry out service configuration.
S3, generating a test execution file
The tester calibrates the environment and starts to execute the main test program, the main test program generates a corresponding test execution file, namely a test script, according to the test items based on the Sample Profile template (namely the reference script), names according to the test items, and stores the test execution file in a separate directory.
S4, executing test
Next, the test script starts to be executed, the script calls the third party lib library function according to different operations, then calls the private API of the instrument to perform different operation steps, and retrieves the test result and data.
S5, summarizing the test data to generate a test report
The main program calls an API interface of the instrument to read test data and test results through the Lib library function, and the test data and the test results are separately written into files and stored under the corresponding directory; and finally, finishing all test items, and generating a PDF test report and chart summarization.
The test system of the invention can support the test of 2.4G and 5G double-frequency equipment, and can support the test of multiple scenes in multiple directions, such as: 2.4G TX/RX/bidirectional, 5G TX/RX/bidirectional, dual-band TX/RX/bidirectional, and multi-Client scenarios.
According to the invention, the third party API is directly called through the program written by VBScript to replace the operation of the manual graphical interface, so that unattended operation in the test process can be realized; the test parameter model is configured according to manually-adjusted parameters, and then the test system carries out secondary modification, so that test data used in an automatic test process accords with an actual scene.
While the preferred embodiments of the present patent have been described in detail, the present patent is not limited to the above embodiments, and various changes may be made without departing from the spirit of the present patent within the knowledge of one of ordinary skill in the art.

Claims (5)

1. The automatic test method of the multi-scene WIFI comprises a test system composed of a control computer for controlling each test part and test equipment, a Wifi test instrument and to-be-tested Wireless equipment, and is characterized in that the to-be-tested Wireless equipment is connected with the control computer through an Ethernet and a serial port, the control computer is connected with the Wifi test instrument through the Ethernet, and the Wifi test instrument is connected with the to-be-tested Wireless equipment through the Wifi cable and the Ethernet; the workflow of the test system is as follows:
s1, adjusting an environment, and preparing a reference test configuration: the test environment needs to be manually calibrated for the first time, a test reference script can be obtained by using a third party AP, and a parameter model is provided for the subsequent automatic test;
s2, configuring an AP to be tested: executing a test script by a tester, connecting a main program with an AP to be tested in a mode of comprising a serial port/GUI/Telnet, and carrying out service configuration;
s3, generating a test execution file: the tester calibrates the environment and starts to execute the main test program, the main test program generates a test script corresponding to the test script according to the test item based on the Sample Profile template, names the test script according to the test item, and stores the test script under an independent directory;
s4, executing a test: starting to execute a test script, calling a third party lib library function by the script according to different operations, then calling a private API of the instrument to perform different operation steps, and retrieving test results and data;
s5, summarizing test data to generate a test report: the main program calls an API interface of the instrument to read test data and test results through the Lib library function, and the test data and the test results are separately written into files and stored under corresponding catalogues; and after all the test items are finished, generating a PDF test report and chart summarization.
2. The automated testing method of multi-scenario WIFI according to claim 1, wherein the testing system can support testing 2.4G and 5G dual frequency devices, and can support testing multiple scenarios in multiple directions.
3. The automated testing method of multi-scenario WIFI according to claim 1, wherein the testing system can be integrated in an automated testing framework, deployed in a centralized manner, and can also execute the testing system program alone, with strong portability.
4. The automated testing method of multi-scenario WIFI according to claim 1, wherein the parameter model is configured according to manually-tuned parameters, and then the testing system is secondarily modified, and the testing data used in the automated testing process conforms to the actual scenario.
5. The automated testing method of multi-scenario WIFI according to claim 1, wherein the testing system is portable and maintainable across platforms, supporting different development languages.
CN202110862171.5A 2021-07-29 2021-07-29 Automatic testing method for multi-scene WIFI Active CN113596900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110862171.5A CN113596900B (en) 2021-07-29 2021-07-29 Automatic testing method for multi-scene WIFI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110862171.5A CN113596900B (en) 2021-07-29 2021-07-29 Automatic testing method for multi-scene WIFI

Publications (2)

Publication Number Publication Date
CN113596900A CN113596900A (en) 2021-11-02
CN113596900B true CN113596900B (en) 2024-02-06

Family

ID=78251584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110862171.5A Active CN113596900B (en) 2021-07-29 2021-07-29 Automatic testing method for multi-scene WIFI

Country Status (1)

Country Link
CN (1) CN113596900B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560829A (en) * 2013-10-31 2014-02-05 上海斐讯数据通信技术有限公司 Method and system for automatic testing of UNI ports
CN104618198A (en) * 2015-03-03 2015-05-13 广西英伦信息技术股份有限公司 Android system-based integrated intelligent network test system and test method thereof
CN106792803A (en) * 2016-12-02 2017-05-31 深圳市极致汇仪科技有限公司 The Devices to test parallel test method and system of a kind of double frequency multiple antennas

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560829A (en) * 2013-10-31 2014-02-05 上海斐讯数据通信技术有限公司 Method and system for automatic testing of UNI ports
CN104618198A (en) * 2015-03-03 2015-05-13 广西英伦信息技术股份有限公司 Android system-based integrated intelligent network test system and test method thereof
CN106792803A (en) * 2016-12-02 2017-05-31 深圳市极致汇仪科技有限公司 The Devices to test parallel test method and system of a kind of double frequency multiple antennas

Also Published As

Publication number Publication date
CN113596900A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN102243281B (en) Batch test method and system for PCBA (Printed Circuit Board Assembly) of Bluetooth headset
US20120252372A1 (en) Mobile communication terminal test system, analysis method, and analysis program
CN112783794A (en) Aviation communication radio station software test system
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN104868957B (en) A kind of mobile terminal EDGE radio frequency test systems and method
CN105302722A (en) CTS automatic test method and apparatus
CN107018223A (en) One kind is used for mobile phone radio frequency signal testing method and system
CN111934788A (en) Radio frequency index testing method and system of head-mounted equipment and related components
CN103913672B (en) A kind of satellite low frequency interface automatization test system
CN104202099A (en) System for calibrating 3G network card and calibration method thereof
CN113596900B (en) Automatic testing method for multi-scene WIFI
CN105429713A (en) System and method for testing wireless device
CN105760300A (en) Automatic STK/UTK service testing method and system
US20140134998A1 (en) Signal detection method for communication apparatus and signal detection system
CN109581172A (en) A kind of semiconductor devices RF index final test system and method
CN112867044A (en) Base station simulation test terminal, test method and device
US7065466B2 (en) Attenuator test system
CN106990376A (en) A kind of test device and method of testing of scramble testing system line loss
CN111698701A (en) Automatic spurious emission testing method, system, equipment and medium for wireless communication module
CN110212996A (en) Frequency spectrograph calibration system, parallel calibration method and automatic deploying calibration method
CN108200545B (en) WLAN signaling test system and test method
CN111541589B (en) Method, device and equipment for testing expansion module interface of intelligent terminal
KR101845483B1 (en) Tester for automaticaliy controlling of test device
CN114050878A (en) Method and device for automatically testing stray suppression of multi-channel radio frequency system
CN113037583B (en) Test apparatus, method and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant