CN111723005B - Configuration method of automatic test software of test system - Google Patents
Configuration method of automatic test software of test system Download PDFInfo
- Publication number
- CN111723005B CN111723005B CN202010446177.XA CN202010446177A CN111723005B CN 111723005 B CN111723005 B CN 111723005B CN 202010446177 A CN202010446177 A CN 202010446177A CN 111723005 B CN111723005 B CN 111723005B
- Authority
- CN
- China
- Prior art keywords
- test
- automatic
- software
- automatic test
- configuration
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a configuration method of automatic test software of a test system, which comprises the following steps: s1: storing automatic test configuration data in a configuration file, and storing the configuration file in a preset storage area, wherein the automatic test configuration data comprises test steps arranged according to a preset sequence, setting parameters of each test step and test time of each test step; s2: when the automatic test software is started, reading a configuration file from a preset storage area, and loading automatic test configuration data in the configuration file; s3: and when the automatic test software is operated, automatically setting corresponding test equipment according to the setting parameters of each test step according to the sequence of each test step and continuing the test time. Respectively storing the test result of each test step by different names; if the automatic test configuration data contains a loop test value, a predetermined time is spaced for the loop test. The invention can improve the universality of the software and reduce the secondary development cost of the software.
Description
Technical Field
The invention relates to the technical field of automatic testing, in particular to a configuration method of automatic testing software of a testing system.
Background
With the progress of computer technology, intelligent instruments, information management and other technologies, the development of automatic test technology, computer technology, intelligent instrument technology and the like, computer hardware and software and the development of traditional test theory, test technology and test method are changed. The development of computers has enhanced the functions of measurement and instruments, improved the efficiency, and formed numerous convenient and practical automatic test systems.
However, the conventional test of factory is an automatic test which can only realize a single test, and has some disadvantages:
1. after the automatic test software is written, the test program is solidified, and for different test products, the automatic test software may face the difficult problem of being unusable as long as the test methods are the same and the parameters are set differently;
2. aiming at different parameter settings and tests with the same test method, secondary development of automatic test software is required, which is equivalent to re-developing one automatic test software;
3. although the secondary developed automatic test software can be used, the adjustment is carried out through a reserved window on a software interface, and the secondary developed automatic test software is complex;
4. the test of products such as long-term, timing, uninterrupted, step-by-step, repeated and the like can not be carried out,
therefore, in the prior art, when tests with the same test method and different parameter settings are performed, the program code of automatic test software may become very long, and the software development cycle is increased doubly, so that a long way is needed to realize full-automatic tests, and in the era of informatization, big data and artificial intelligence, the automatic tests are necessary to shorten the production cycle and reduce the labor cost.
Disclosure of Invention
The invention aims to provide a configuration method for automatically testing software of a test system, which can improve the universality of the software and reduce the secondary development cost of the software.
In order to solve the technical problems, the invention adopts a technical scheme that: the configuration method for the automatic test software of the test system comprises the following steps: s1: storing automatic test configuration data in a configuration table, and storing the configuration table in a preset storage area, wherein the automatic test configuration data comprises test steps arranged according to a preset sequence, setting parameters of each test step and test time of each test step; s2: when the automatic test software is started, reading the configuration table from the preset storage area, and loading the automatic test configuration data in the configuration table; s3: and when the automatic test software is operated, automatically setting corresponding test equipment according to the setting parameters of each test step according to the sequence of each test step and continuing the test time.
Preferably, the step S2 further includes: and storing the automatic test configuration data in a cache region so as to be directly loaded when the same test is carried out next time, wherein the cache region is a default storage region of the automatic test software.
Preferably, the configuration file is a database, a text document or a table.
Preferably, when the configuration file is a table, the configuration file is an excel or wps table.
Preferably, the step S3 further includes: and when the setting parameter of the current testing step is null or a specific character and the testing time is null or a specific character, ending the test.
Preferably, the step S3 further includes: and when the setting parameter of the current testing step is null or a specific character and the testing time is not null or the specific character, not executing the current testing step and continuing the testing time.
Preferably, the configuration method further includes: s4: and respectively storing the test result of each test step by different names.
Preferably, the configuration method further includes: s5: and judging whether the automatic test configuration data comprises a cycle test value, if so, repeating the steps S3 and S4 at preset time intervals until all the test steps are finished.
Different from the prior art, the invention has the beneficial effects that: the automatic test software becomes more flexible and universal, and the development period of the software can be shortened.
Drawings
FIG. 1 is a flow chart of a configuration method for automatic test software of a test system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a configuration file when the configuration method according to the embodiment of the present invention is applied to an antenna pattern automatic test.
Fig. 3 is a schematic diagram of a configuration file when the configuration method according to the embodiment of the present invention is applied to an automatic test of a power module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the configuration method of the automatic test software of the test system according to the embodiment of the present invention includes the following steps:
s1: storing the automatic test configuration data in a configuration file, and storing the configuration file in a preset storage area, wherein the automatic test configuration data comprises test steps arranged according to a preset sequence, setting parameters of each test step and test time of each test step.
The configuration file can be a database, a text document or a table, and when the configuration file is a table, the configuration file is an excel or wps table. The preset storage area is any storage position in the computer.
S2: and when the automatic test software is started, reading the configuration file from the preset storage area, and loading the automatic test configuration data in the configuration file.
In this embodiment, step S2 further includes: and storing the automatic test configuration data in a cache region so as to be directly loaded when the same test is carried out next time, wherein the cache region is a default storage region of the automatic test software.
Wherein, in general, the cache area cannot change the storage position.
S3: and when the automatic test software is operated, automatically setting corresponding test equipment according to the setting parameters of each test step according to the sequence of each test step and continuing the test time.
In this embodiment, step S3 further includes: when the set parameter of the current testing step is null or a specific character and the testing time is null or a specific character, ending the test; and when the setting parameter of the current testing step is null or a specific character and the testing time is not null or the specific character, not executing the current testing step and continuing the testing time.
The setting parameters correspond to the corresponding test equipment, and the test equipment to be set and how to set the test equipment can be determined through the setting parameters.
In order to facilitate management and classification of the test results, in this embodiment, the configuration method further includes:
s4: and respectively storing the test result of each test step by different names.
Further, the configuration method further comprises: s5: and judging whether the automatic test configuration data comprises a cycle test value, if so, repeating the steps S3 and S4 at preset time intervals until all the test steps are finished.
The following describes in detail a configuration method of automatic test software of a test system according to an embodiment of the present invention with reference to fig. 2 and 3.
Fig. 2 is a schematic diagram of a configuration file when the configuration method according to the embodiment of the present invention is applied to an antenna pattern automatic test. The automatic test configuration data is stored in an Excel table, the automatic test configuration data only comprises 7 test steps in the example, 65536 test steps can be set in other examples at most, and the automatic test configuration data can realize the control of 3 turntables (an X-axis turntable, a Y-axis turntable and a Z-axis turntable), the control of 2 signal sources (a transmitting source and a local vibration source) and the control of 1 spectrometer. When step S3 is performed, the method specifically includes:
step 1: and setting the X-axis turntable to rotate from the current position to the 0-degree position at the speed of 91 degrees/minute and setting the Y-axis turntable to rotate from the current position to the 0-degree position at the speed of 91 degrees/minute, namely initializing the turntable. It should be noted that the test time of step 1 is the time taken for the X-axis turret to rotate from the current position to the 0-degree position at a speed of 91 degrees/min.
Step 2: the frequency of the spectrometer is set to be 25.5Ghz, the frequency of the emission source is set to be 25.6GHz, and the frequency of the local vibration source is set to be 10.3 GHz. The spectrometer starts scanning, the X-axis turntable rotates from 0 degree to 180 degrees at 91 degree/min, and the spectrometer stops scanning when the turntable rotates to 180 degrees. The test results are stored under the name "SPF 1". It should be noted that the test time of step 2 is the time taken for the X-axis turret to rotate from 0 to 180 degrees at 91 degrees/min.
And 3, step 3: the frequency of a spectrometer is set to be 26.5Ghz, the frequency of an emission source is set to be 26.6GHz, and the frequency of a local vibration source is set to be 10.4 GHz. The spectrometer starts scanning, the X-axis turntable rotates from 180 degrees to 0 degree at 91 degrees/min, and the spectrometer stops scanning when the turntable rotates to 0 degree. The test results are stored under the name "SPF 2". It should be noted that the test time in step 3 is the time taken for the X-axis turret to rotate from 180 degrees to the 0 degree position at a speed of 91 degrees/min.
And 4, step 4: the Y-axis turntable is set to rotate from the current position to the 90-degree position at a speed of 91 degrees/min. It should be noted that the test time at step 4 is the time taken for the Y-axis turret to rotate from the current position to the 90-degree position at a speed of 91 degrees/min.
And 5, step 5: the frequency of the spectrometer is set to be 25.5Ghz, the frequency of the emission source is set to be 25.6GHz, and the frequency of the local vibration source is set to be 10.3 GHz. The spectrometer starts scanning, the X-axis turntable rotates from 0 degree to 180 degrees at 91 degree/min, and the spectrometer stops scanning when the turntable rotates to 180 degrees. The test results are stored under the designation "CZF 1". It should be noted that the test time in step 5 is the time taken for the X-axis turret to rotate from 0 to 180 at 91 deg/min.
And 6, a step of: the frequency of a spectrometer is set to be 26.5Ghz, the frequency of an emission source is set to be 26.6GHz, and the frequency of a local vibration source is set to be 10.4 GHz. The spectrometer starts scanning, the X-axis turntable rotates from 180 degrees to 0 degree at 91 degrees/min, and the spectrometer stops scanning when the turntable rotates to 0 degree. The test results are stored under the designation "CZF 2". It should be noted that the test time in step 6 is the time taken for the X-axis turret to rotate from 180 degrees to the 0 degree position at a speed of 91 degrees/min.
And 7, step 7: and setting the Y-axis rotary table to rotate from 90 degrees to 0 degree at the speed of 91 degrees/minute, namely, the rotary table returns to zero, namely, the test is finished.
Fig. 3 is a schematic diagram of a configuration file when the configuration method according to the embodiment of the present invention is applied to an automatic test of a power module. The automatic test configuration data is stored in an Excel table, in the example, the automatic test configuration data only comprises 4 test steps, in other examples, 65536 test steps can be set at most, and the test items in the figure represent the test steps. The automatic test configuration data can realize the control of 12-path rear-stage load and the control of 4-path input power supply. When step S3 is performed, the method specifically includes:
step 1: (product No. 2010.001 tested at-40 deg.C) first turning on the 1 st input power supply, turning on the 2 nd input power supply at 3 s, turning on the 3 rd and 4 th input power supplies at 6 s, testing the output voltage in no-load, and recording; opening the 'load on' tests of the electronic loads of the 1 st path, the 2 nd path, the 7 th path and the 8 th path at the same time at the 11 th second, and recording the output voltage; disconnecting the load test at the 21 st second, opening the short circuit test, and recording the output voltage; and (3) disconnecting the 1 st path, the 2 nd path, the 7 th path and the 8 th path of the electronic load from the short circuit and on-load tests at the 23 th second, and simultaneously disconnecting the input power supply. The test results were stored under the designation "Low temperature-40 ℃ 2010.001". After the test of step 1 is completed, the corresponding test time is 23 seconds, and after waiting for 60 seconds (i.e. 1 minute), the test of step 2, i.e. the test of product No. 2010.001 at low temperature, is carried out.
Step 2: (product No. 2010.002 on test machine at-40 ℃ C.) the procedure was as described in "step 1", and the test results were stored under the designation "Low-40 ℃ 2010.002". After the 2 nd test is finished, the corresponding test time is 23 seconds, and after 7200S (namely 2 hours), the 3 rd test is carried out, namely, the 2010.002 # product is tested at low temperature.
And 3, step 3: the test (product No. 2010.001 at high temperature +60 ℃ C.) was carried out as described in step 1, and the test results were stored under the designation "high temperature +60 ℃ 2010.001". After the 3 rd test is finished, the corresponding test time is 23 seconds, and after waiting for 60 seconds (namely 1 minute), the 4 th test is carried out, namely, the product No. 2010.001 is tested at high temperature.
And 4, step 4: the test (product No. 2010.002 at high temperature +60 ℃ C.) was carried out as described in step 1, and the test results were stored under the designation "high temperature +60 ℃ 2010.002". And (6) completing the test. The corresponding test time was 23 seconds, i.e. product No. 2010.002 was tested at elevated temperature.
Through the mode, the configuration method of the automatic test software of the test system provided by the embodiment of the invention aims at different test products, the automatic test software with different parameter settings can be applied as long as the test methods are the same, the automatic test software becomes more flexible and universal, the development period of the software can be shortened, the method has the advantages of rapidness, simplicity, high efficiency, flexibility and applicability, the universality of the software can be improved, and the secondary development cost of the software can be reduced.
The above description is only an embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are included in the scope of the present invention.
Claims (4)
1. A configuration method for automatic test software of a test system is characterized by comprising the following steps:
s1: storing automatic test configuration data in a configuration file, and storing the configuration file in a preset storage area, wherein the automatic test configuration data comprises test steps arranged according to a preset sequence, setting parameters of each test step and test time of each test step;
s2: when the automatic test software is started, reading the configuration file from the preset storage area, and loading the automatic test configuration data in the configuration file;
s3: when the automatic test software is operated, automatically setting corresponding test equipment according to the setting parameters of each test step according to the sequence of each test step and continuing the test time;
s4: respectively storing the test result of each test step in different names; s5: judging whether the automatic test configuration data comprises a cycle test value, if so, repeating the steps S3 and S4 at preset time intervals until all the test steps are finished;
the step S3 further includes:
when the set parameters of the current testing step are null or specific characters and the testing time is null or specific characters, ending the test;
the step S3 further includes: and when the setting parameter of the current testing step is null or a specific character and the testing time is not null or the specific character, not executing the current testing step and continuing the testing time.
2. The method according to claim 1, wherein the step S2 further comprises:
and storing the automatic test configuration data in a cache region so as to be directly loaded when the same test is carried out next time, wherein the cache region is a default storage region of the automatic test software.
3. The configuration method of claim 1, wherein the configuration file is a database, a text document, or a table.
4. The configuration method according to claim 1, wherein when the configuration file is a table, the configuration file is an excel or wps table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010446177.XA CN111723005B (en) | 2020-05-25 | 2020-05-25 | Configuration method of automatic test software of test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010446177.XA CN111723005B (en) | 2020-05-25 | 2020-05-25 | Configuration method of automatic test software of test system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111723005A CN111723005A (en) | 2020-09-29 |
CN111723005B true CN111723005B (en) | 2022-08-23 |
Family
ID=72565032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010446177.XA Active CN111723005B (en) | 2020-05-25 | 2020-05-25 | Configuration method of automatic test software of test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111723005B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806362A (en) * | 2021-08-23 | 2021-12-17 | 网易(杭州)网络有限公司 | Test record information generation method and device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101487769A (en) * | 2008-01-18 | 2009-07-22 | 中兴通讯股份有限公司 | Automatic test system and method |
KR101106595B1 (en) * | 2010-07-29 | 2012-01-20 | 강원대학교산학협력단 | Method and apparatus for automated testing for software program |
CN103929258A (en) * | 2014-04-28 | 2014-07-16 | 信亚美科(南京)信息技术有限公司 | Test method based on radar dynamic frequency selection test system |
CN104215891A (en) * | 2013-05-31 | 2014-12-17 | 深圳市海洋王照明工程有限公司 | FPC (flexible printed circuit) failure abnormality testing method |
CN107356444A (en) * | 2017-06-14 | 2017-11-17 | 青岛海尔空调器有限总公司 | Method of testing and test system for transducer air conditioning |
CN107991600A (en) * | 2017-11-29 | 2018-05-04 | 成都锐成芯微科技股份有限公司 | Automatic test approach and its test system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541730B (en) * | 2011-12-08 | 2014-08-27 | 北京空间飞行器总体设计部 | Semantic identification and automatic generation method for spacecraft test script |
JP6353759B2 (en) * | 2014-09-26 | 2018-07-04 | 株式会社野村総合研究所 | Test execution device, test execution method, and computer program |
CN106598869A (en) * | 2016-12-26 | 2017-04-26 | 北京京东金融科技控股有限公司 | Method and device for realizing automatic software testing and electronic equipment |
CN110928763A (en) * | 2019-09-29 | 2020-03-27 | 京东数字科技控股有限公司 | Test method, test device, storage medium and computer equipment |
-
2020
- 2020-05-25 CN CN202010446177.XA patent/CN111723005B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101487769A (en) * | 2008-01-18 | 2009-07-22 | 中兴通讯股份有限公司 | Automatic test system and method |
KR101106595B1 (en) * | 2010-07-29 | 2012-01-20 | 강원대학교산학협력단 | Method and apparatus for automated testing for software program |
CN104215891A (en) * | 2013-05-31 | 2014-12-17 | 深圳市海洋王照明工程有限公司 | FPC (flexible printed circuit) failure abnormality testing method |
CN103929258A (en) * | 2014-04-28 | 2014-07-16 | 信亚美科(南京)信息技术有限公司 | Test method based on radar dynamic frequency selection test system |
CN107356444A (en) * | 2017-06-14 | 2017-11-17 | 青岛海尔空调器有限总公司 | Method of testing and test system for transducer air conditioning |
CN107991600A (en) * | 2017-11-29 | 2018-05-04 | 成都锐成芯微科技股份有限公司 | Automatic test approach and its test system |
Non-Patent Citations (1)
Title |
---|
Performance testing of a 2 Loop RLC WM inverter-fed induction motor drive;S. A. Saleh等;《2008 10th International Conference on Control, Automation, Robotics and Vision》;20090227;第1265-1270页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111723005A (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111723005B (en) | Configuration method of automatic test software of test system | |
RU2260813C2 (en) | Check of the asynchronous reset of a circuit | |
US10522236B2 (en) | Fusebox-based memory repair using redundant memories | |
US6772228B1 (en) | Achieving polymorphism in a COM software architecture or the like | |
CN116414640A (en) | Communication terminal hardware testing method and complete machine testing flow | |
CN112858876A (en) | Self-adaptive chip automatic testing method | |
CN109449727B (en) | Optical module parameter configuration method, device, equipment and storage medium | |
CN116302769A (en) | Chip testing method and device, electronic equipment and storage medium | |
CN107678917B (en) | Test machine automation management method, device, equipment and storage medium | |
CN103972122A (en) | Wafer probing method and wafer probing device | |
CN113409022B (en) | Platform-oriented automatic acceptance method and device | |
CN116302726A (en) | Test method and device of computing equipment, electronic equipment and storage medium | |
CN114385493A (en) | Performance test method and device, electronic equipment and storage medium | |
KR100636404B1 (en) | Method and System for Testing by Using Automatic Control Program | |
CN110662242B (en) | Antenna feeder system detection method, network management equipment and computer readable storage medium | |
CN113472611A (en) | Method and device for acquiring WiFi signal strength and readable storage medium | |
CN112612659B (en) | Chip testing method and device, electronic equipment and storage medium | |
CN104569887A (en) | Error obtaining method and device for calibration of one-port network | |
TWI824155B (en) | Dynamic intelligent test method, system, computer and storage medium | |
CN117192343B (en) | Chip testing method based on auxiliary system, electronic equipment and medium | |
CN102402437B (en) | Data processing equipment and download control method thereof | |
CN110794282B (en) | dSPACE-HIL system based method and apparatus for communicating with electronic devices | |
CN118033366A (en) | Test device, method, electronic apparatus, and computer-readable storage medium | |
CN115907723A (en) | Test template creating method and terminal for electrical equipment | |
KR100451162B1 (en) | Remote memory controlling method for embedded system using personal computer |
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 |