CN109522229A - A kind of high-efficient automatic test macro and its test method - Google Patents
A kind of high-efficient automatic test macro and its test method Download PDFInfo
- Publication number
- CN109522229A CN109522229A CN201811361595.8A CN201811361595A CN109522229A CN 109522229 A CN109522229 A CN 109522229A CN 201811361595 A CN201811361595 A CN 201811361595A CN 109522229 A CN109522229 A CN 109522229A
- Authority
- CN
- China
- Prior art keywords
- test
- devices
- module
- automatic
- strategy
- 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.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 247
- 238000010998 test method Methods 0.000 title claims abstract description 10
- 230000009471 action Effects 0.000 claims abstract description 37
- 230000002159 abnormal effect Effects 0.000 claims abstract description 17
- 238000005192 partition Methods 0.000 claims abstract description 17
- 230000004044 response Effects 0.000 claims abstract description 16
- 230000003068 static effect Effects 0.000 claims abstract description 13
- 238000010891 electric arc Methods 0.000 claims abstract description 9
- 230000005540 biological transmission Effects 0.000 claims description 15
- 238000004422 calculation algorithm Methods 0.000 claims description 5
- 235000014676 Phragmites communis Nutrition 0.000 claims description 4
- 230000015556 catabolic process Effects 0.000 claims description 4
- 230000001788 irregular Effects 0.000 claims description 4
- 230000006641 stabilisation Effects 0.000 claims description 4
- 238000011105 stabilization Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 3
- 238000013500 data storage Methods 0.000 claims description 3
- 238000004088 simulation Methods 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 8
- 230000000875 corresponding effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 108091092195 Intron Proteins 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000035484 reaction time Effects 0.000 description 2
- 230000011514 reflex Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 241000931526 Acer campestre Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000009666 routine test Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of high-efficient automatic test macros, automatic test module, multiple Devices to test, programmable telemetry module and automatic power control module and a kind of test method of high-efficient automatic test macro including interconnection, it include: that automatic test module writes description of automation test strategy, the movement and the response action mark for receiving Devices to test that control Devices to test occurs;According to the description of automation test strategy write, store Devices to test completion in need action identification;The expected results of description of automation test strategy are matched with the action identification of storage;Automatically output test result file.Realize the verifying to spcial character/parameter, different data streams, abnormal data stream, it can check the data of static partition and dynamic partition, realize the verifying of Flash threshold number and be verified on the simulation of different scenes and on the moment of power supply starting electric arc to the influence of product bring.
Description
Technical field
The present invention relates to automatization testing technique fields, are a kind of high-efficient automatic test macro and its survey specifically
Method for testing.
Background technique
Automatic test in the prior art has the disadvantage that (1) cannot carry out effect to spcial character/parameter
Card;(2) cannot the input and output result to different data streams judge;Verify number it is less and without carry out critical data into
Row repetition, multiple authentication;Cannot to the verifying of abnormal data stream, be unable to device under test be chronically under abnormality feedback to
The form of expression of measurement equipment;(3) it can check that page data may be data of the solid state without can read static partition, it can not
Judge whether the physical address of static partition is correct.(4) it can check that page data may be solid state without can read dynamic
The data of subregion can not search root or be good at reappearing small probability problem;Can not judge dynamic partition physical address whether
Correctly;(5) less to the verifying number of Flash, the number of verifying does not reach the read-write operating limit value of Flash, thus not
It can confirm that the performance state and form when Flash reaches read-write limiting value;It (6) can not effective analog subscriber actual use field
Scape;(7) it is different to issue telecommand time response reflex arc length every time because of operator's difference, it is most short product can not to be verified
Receive the remote control response time, Devices to test is receiving telecommand most short reaction time;Manual operation has fatigue phase, Bu Nengchang
Time, short interval, irregular sending telecommand, and can exist and occur abnormal being the key assignments that cannot remember last operation;
The remote control equipments such as wired, visible light wave, sound wave, electromagnetic wave and image, limb action cannot be responded;(8) data are obtained
Method obtained by API tunnel approach;The method of data is parsed to carry out to provide interface function using third party software
Parsing, dependence is larger, and flexibility is poor;It is confined to the parsing to interiors of products data, the hardware outside product is not connect
The data of the external environments such as mouth, indicator light, power supply variation are parsed;(9) not to the moment starting electric arc of power supply to product
Bring influences to carry out targetedly verifying and protection;(10) transmitting coded telecommand value is only carried out by infrared light;It cannot be random
Variation, which sends different coding, is worth intervening sequences;Whether the key assignments and Devices to test that transmitting cannot be recorded do not receive and know no held
The row key assignments.
Summary of the invention
The purpose of the present invention is to provide a kind of high-efficient automatic test macro and its test method, for solve it is above-mentioned from
The problem of dynamicization is tested.
The present invention is solved the above problems by following technical proposals:
A kind of high-efficient automatic test macro, including automatic test module, multiple Devices to test, programmable telemetry module and
Automatic power control module, the automatic test module operate on test PC, the test PC, programmable telemetry module and institute
Devices to test communication connection is stated, the automatic power controller module is electrically connected with Devices to test, the automatic power controller
Module is connect with test PC by serial ports, the programmable telemetry module and test PC communication connection.
Further, the programmable telemetry module includes programmable chip, and the programmable chip is connected with for connecting
The serial line interface of programmable chip and the Devices to test is connect, programmable chip is also connected with SPI and use for storing data
In the transmitting module for sending control command to Devices to test.
Master devices in programmable telemetry module are programmable chip, and program and static parameter are stored in SPI, can compile
Journey chip by interchanger -> PHY or by serial ports or by wireless network and sends the automation run on the test PC ordered
Test module connection, programmable chip connect Devices to test by serial ports, and automatic test module is compiled according to product test demand
Corresponding Test Strategy is write, the action identification script for needing to identify Devices to test is write and Devices to test is made to make what needs recognized
Action identification policy script simultaneously downloads in programmable chip, and PC to be tested is waited to send out required test id signal to can compile
Then journey chip is sent the script execution of downloading early period by programmable chip according to test id signal.Description of automation test strategy
Include: to be used on 1, test PC: test item, keyword, expected results are flexibly filled in excel table according to use demand
Deng, and Date_config.xls file content is directly modified under the tool installation directory of test PC;And the prior art is
The strategy that node is write or write early period by professional is carried out by xml document to carry out selecting test can not be according to reality
Border demand carries out parameter modification, test item increase and the special demand of user;2, used in programmable telemetry module: according to
Measurement equipment power demand configures corresponding parameter by " remote control module configuration parameter .exe ", directly by under serial ports
It is downloaded in programmable telemetry module, file size about 2KB;And the prior art is that programming language carries out source code modification then compiling
It is downloaded by professional tool, downloading success rate is low.Action identification includes: Devices to test according to the Test Strategy on test PC
A TAG after the corresponding movement that transmitted order is made.When the action identification of automation strategy and Devices to test one by one
It is corresponding, and the action identification of active procedure is stored, both accomplished the simplification of Test Strategy by accomplishing test result in this way
Accuracy and the whole reliability for executing entire Test Strategy.
Data are obtained under the control of Test Strategy by programmable telemetry module and automatic test module, instead of adopting
With the tunnel API acquisition methods, the method for having evaded parsing data is parsed to provide interface function using third party software, according to
Rely property larger, flexibility is poor and is confined to parsing to interiors of products data, not to outside product hardware interface, refer to
Show the deficiency that the data of the environmental change of lamp, power supply are parsed.
Further, the transmitting module includes controllable light source generator, radio-frequency transmissions head, limb action resolver, determines
To source emission device and image body resolver.
Controllable light source generator, radio-frequency transmissions head, limb action resolver, orientation source emission device and the parsing of image body
Device passes through the media such as air respectively and sends commands to Devices to test, in which: radio-frequency transmissions head, it is distant for being encoded by radio-frequency transmissions
Control value, can change the intervening sequences for sending different coding value at random, and whether the key assignments and Devices to test for recording transmitting execute
The key assignments;It tests PC and issues radio frequency control instruction to programmable module, solve every because of operator's difference in manual operation
Secondary sending telecommand time response reflex arc length is different, can not verify the product most short receptor remote control response time, to be measured set
It is standby to receive telecommand most short reaction time;Manual operation has the fatigue phase, cannot long-time, short interval, irregular hair
Telecommand out, and can have the defects that occur abnormal being the key assignments that cannot remember last operation.
Using controllable light source generator, limb action resolver and orientation source emission device and image body resolver
Etc. a variety of emitters, compensating in the prior art cannot be to wired, visible light wave, sound wave, electromagnetism using infrared coding transmitting
The deficiency that the remote control equipments such as wave and image, limb action are responded.
Test PC is switched to displayable data by responding radio-frequency transmissions head according to the requirement device under test of Test Strategy
The page and data parsing is carried out by figure body resolver and sends control command with test PC to get interiors of products quiet
The value of state subregion is compared, and can check whether the data of the page are correct and check the physical address of static partition and its value
Judge whether physical address and the value of static partition are correct;And it tests PC to be passed through according to the requirement device under test of Test Strategy
Response radio-frequency transmissions head be switched to displayable data the page and by figure body resolver carry out data parsing and with test
PC transmission control command gets interiors of products dynamic partition value and is compared, and checks that the physical address of dynamic partition and its value come
Judge whether physical address and the value of dynamic partition are correct.
Further, the automatic power control module include controller and the display being connect with the controller,
SPI, electric arc generate reed and controllable switch device, the controllable switch device and connects with the Devices to test, be used for control to
The power on/off of measurement equipment, the controller are connect with test PC by serial ports.
The input terminal that electric arc generates reed can choose access alternating current or electrical source of power, and display shows power parameter,
SPI is used to store the storage location for being uploaded to by serial ports and testing the parameter in PC in automatic test module, test PC according to
Test Strategy issues power on/off moment, power on/off duration and the on-off electric frequency of controller control controllable switch device.To power supply
Moment starting electric arc and power supply AC/DC conversion process in the ripple voltage that generates to Devices to test bring to influence to carry out
Verifying and protection, to the voltage parameter (including voltage, electric current, ripple, phase, frequency and power) during unusual switch machine into
Row effective protection scene, reads the state of relevant parameter, is conducive to analysis, the troubleshooting methodology of abnormal phenomenon;Test PC root
According to the requirement device under test of Test Strategy, control instruction is issued into automatic power control module, the electricity of adjustment power supply output
The parameters such as pressure, electric current, ripple are powered off, power failure test according to Test Strategy, and solving can not effective analog subscriber reality
Usage scenario (family, hotel, ship, electric arc, phase shortage etc.) electricity consumption scene.
Further, the automatic test module includes breakdown judge module, file output module and algoritic module.
A kind of test method of high-efficient automatic test macro, comprising:
Step S100: automatic test module writes description of automation test strategy, movement that control Devices to test occurs and
Receive the response action mark of Devices to test;
Step S200: according to the description of automation test strategy write, store Devices to test completion in need action identification;
Step S300: the expected results of description of automation test strategy are matched with the action identification of storage;
Step S400: output test result file automatically, prompts exception information if test does not pass through.
Further, the step S100 specifically: according to the description of automation test strategy write, send control command to
Measurement equipment waits Devices to test to respond action identification, and the response action for receiving Devices to test identifies and stores data and deposits
Subregion is stored up, the movement that the Devices to test occurs includes:
A, the firmware that the integrality erasing of Flash matches with write-in Devices to test;
B, the displaying of the static information of Devices to test;
C, multidate information displaying, intensity and the marginal test of Devices to test;
D, control programmable telemetry module treat test equipment carry out for a long time, it is short interval, irregular transmitting be remotely controlled refer to
It enables;
E, the firmware that the integrality erasing of Flash matches with write-in and Devices to test is repeated;
F, control automatic power controller module device under test broken, power down strength test;
G, network stabilization is tested;
H, in the action identification data to data partition holding for storing Devices to test.
Above-mentioned A~H process is to carry out in order, and wherein the erasing from write-in of Flash is different according to different products
Flash attribute enters to be executed from boot guidance intervention according to the control that test PC is sent;The wherein static letter of Devices to test
Breath is that the specified parameter of the control command reading Devices to test sent using image body resolver and test PC is shown;Its
The multidate information of middle Devices to test is shown, intensity and marginal test are using image body resolver, radio frequency delivery header and test
PC is sent to designated position in Devices to test according to Test Strategy;It is logical according to the characteristic of Devices to test for wherein sending telecommand
It crosses test PC and is sent to programmable module by radio-frequency transmissions head controlled emissions signal;Wherein repeat the erasing and burning of Flash
It writes erasable according to required by the Test Strategy of front and programming number and checks erasing result and burning every time after the completion
Result;Wherein power-off, power failure test carry out controlled transmission power on/off, power down time according to the number of Test Strategy by test PC
Number;Wherein network stabilization respectively carries out in data downloading and data each network interface according to the network interface number of ports of Devices to test
It passes, is verified according to each downloading and the size, the rate that upload data;Action identification is wherein stored, is by Test Strategy
The test result of each test process is stored in test PC specified file.
It tests PC and the regular transmission character of data is carried out according to the requirement device under test of Test Strategy, and can produce
Raw different data streams (parameters such as length, size, frame per second, compression ratio) are verified, and verifying number and critical value can be carried out
Setting tested to carry out repeated authentication, and using abnormal data stream device under test.PC is tested according to test plan
Requirement slightly issues the erasing and write-in for entering boot order and executing Flash to Devices to test, solves the verifying time to Flash
Number is less, and the number of verifying does not reach the read-write operating limit value of Flash, reaches read-write pole in Flash to not can confirm that
Performance state and form when limit value;It is obtained in real time by the master chip parameter that test PC sends control command to Devices to test,
Solve it is shorter to the verification time of master chip, be unable to fully to embody the devices such as operation, scheduling, performance performance of master chip because
Element;Control command can newly test to the synchronous enabled verifying Devices to test of Devices to test and programmable module is sent by test PC
Card, the knot of data transmission stability cannot effectively be obtained without adequately verifying to data exchange, the critical value of transmission by solving
By.
Further, the step S200 specifically: according to automatic Test Strategy, random data, user are accustomed to data
It is sent in Devices to test with edge data, by the static address of parameter write-in Devices to test.
Further, the step S300 specifically: by automatic Test Strategy expected results and data storage partition
Action response mark result matching is carried out using Secondary Match algorithm, it is abnormal if there is matching, then:
When then emptying original interpretation result extremely because of action identification storing data, it re-execute the steps S200;
When because of the abnormal S300 that then re-execute the steps of secondary algorithm matching;
If there is exception more than twice, then terminate.
Compared with prior art, the present invention have the following advantages that and the utility model has the advantages that
(1) realize verifying to spcial character/parameter, different data streams, abnormal data stream, can check static partition and
The verifying of Flash threshold number and the simulation to different scenes may be implemented in the data of dynamic partition, using more by radio-frequency maser etc.
Kind mode sends control command automatically, and can start electric arc on the moment of power supply and carry out specific aim to the influence of product bring
Verifying and protection.
(2) description of automation test strategy and expected use are write according to product use demand as a result, realizing that Devices to test is automatic
Change test, and automatically generates test report file;Can according to the limit response speed of programmable telemetry module verification production to be measured,
Actual use scenario simulation user practical service environment and limit use environment can be verified according to automatic power controller;It realizes
To external hardware interface, LED status automatic test;Internal key hardware operating parameter automatic test;The stabilization of network
Property, limit automatic test;
(3) there is the automated testing method of an opposite holonomic system to light current product, test macro builds convenience, operation
It is convenient, be easy to promote, provide comprehensive visualization human-computer interaction interface, a PC machine can test more simultaneously and to be measured set
It is not interfere with each other in standby and test process, test result steady ordered, reaching reduces cost of labor, can excavate effective unknown stealth
BUG, the purpose for improving testing efficiency, Improving The Quality of Products.
Detailed description of the invention
Fig. 1 is system block diagram of the invention;
Fig. 2 is the schematic diagram of programmable telemetry module;
Fig. 3 is the schematic diagram of automatic power controller module.
Specific embodiment
The present invention is described in further detail below with reference to embodiment, embodiments of the present invention are not limited thereto.
Embodiment 1:
In conjunction with shown in attached drawing 1-3, a kind of high-efficient automatic test macro, mainly by programmable telemetry module, automatic power
Controller module, Devices to test, automatic test module composition.The programmable telemetry module by radio-frequency transmissions head, PHY mouthfuls,
Serial interface orients sound source generators, controllable light source transmitter, limb action resolver, image body resolver and may be programmed
Chip composition;The automatic test module by: breakdown judge module, file output module and algoritic module form.It is described can
Programming remote control module includes programmable chip, and the programmable chip is connected with for connecting programmable chip and described to be measured setting
Standby Serial, programmable chip are also connected with SPI for storing data and for sending control command to Devices to test
Transmitting module.The transmitting module includes controllable light source generator, radio-frequency transmissions head, limb action resolver, orientation sound source hair
Emitter and image body resolver.The automatic power control module includes controller and the display that connect with the controller
Device, SPI, electric arc generate reed and controllable switch device, and the controllable switch device is connect with the Devices to test, for controlling
The power on/off of Devices to test, the controller are connect with test PC by serial ports.
Embodiment 2:
A kind of test method of high-efficient automatic test macro, comprising the following steps:
Setup1: Test Strategy and test item expected test result are write according to the product characteristic of product itself;
Setup2: Devices to test is orderly connected according to Fig. 1;
Setup3: Test Strategy is introduced into automatic test module, by serial ports to Devices to test by Test Strategy by
Step, which sends control command, makes Devices to test make corresponding movement.The movement of this secondary response that Devices to test is done may exist
Time delay carries out judging the reason of time delay causes at this time by breakdown judge module.
Causing delay situation, there are two types of situations: 1, if it is because Devices to test crash, delay machine etc. occurs and cannot continue
The abnormal conditions of operation then issue abnormal prompt, and retain abnormality and record power supply status at this time: voltage, electric current, power supply
Ripple, frequency, power;The record application state at this time in Devices to test at this time: boot running time, Boot operating status,
Bottom layer driving operating status, static parameter and dynamic parameter;It records the external interface of Devices to test at this time: including: network interface, string
Mouth, HDMI, AV, RF_IN/OUT, Optical etc. and external indicator light working condition, external display display working condition;Note
Record key hardware state at this time: master chip, Flash, PHY, Switch Vital Voltage, current direction, control level, Flash number
According to etc. working conditions;Software and hardware technology personnel are facilitated to carry out fault recognition, the software and hardware side of resolving through consultation to the abnormal conditions of appearance
Case and provide final solution.2, this movement is then waited to complete to move if it is because Devices to test is in response process
Make response identification.
Setup4: automatic test module obtains this corresponding action identification for being done of Devices to test, then by that can compile
Journey remote control module and algoritic module obtain the test point that this needs interpretation and carry out acousto-optic, image recognition and by this interpretation result
It is stored in action identification area, then executes the next item down test assignment.About remote control strength control, the verifying of multi-environment power source change
It can be placed in routine test and carry out (when night executes, the interference tested in environment can be small compared with working time section) again after the completion.
Setup5: being sent completely to all control commands, and the mark interpretation result storage of Devices to test everything finishes,
Expected results in the test item and Test Strategy in Test Strategy and the action identification interpretation result of storage are carried out secondary again
Match, algoritic module is then carried out if there is abnormal conditions and is judged.Matching result is shown, is looked into for tester's result
It askes, result browsing.
Algoritic module judged there are two types of situation: 1, when because action identification storing data then empties original interpretation knot extremely
Fruit then re-executes " action recognition module " process;2, when because of abnormal " the Secondary Match mould that then re-executes of secondary algorithm matching
Block " prompts test exception if abnormal conditions occur 2 times and stops testing.
Setup6: according to the Test Strategy write before test come the file that outputs test result.Output test file has 2 kinds of moulds
Formula: 1, automatic to export whole test files;2, the test file needed according to product actual demand output, output, which meets production, to be needed
Test report, means of production packing and the test process retrospect recording documents wanted.
The present invention is carried out in Qualify Phase using the correctness of information is conveyed correctly, entirely in production link at present
Process efficiency promotes 18 times or so.
Although reference be made herein to invention has been described for explanatory embodiment of the invention, and above-described embodiment is only this hair
Bright preferable embodiment, embodiment of the present invention are not limited by the above embodiments, it should be appreciated that those skilled in the art
Member can be designed that a lot of other modification and implementations, these modifications and implementations will fall in principle disclosed in the present application
Within scope and spirit.
Claims (9)
1. a kind of high-efficient automatic test macro, which is characterized in that including automatic test module, multiple Devices to test, may be programmed
Remote control module and automatic power control module, the automatic test module operate in test PC on, the test PC, may be programmed it is distant
It controls module and the Devices to test communicates to connect, the automatic power controller module is electrically connected with Devices to test, described automatic
Power-supply controller of electric module is connect with test PC by serial ports, the programmable telemetry module and test PC communication connection.
2. a kind of high-efficient automatic test macro according to claim 1, which is characterized in that the programmable telemetry module
Including programmable chip, the programmable chip is connected with the Serial for connecting programmable chip and the Devices to test,
Programmable chip is also connected with SPI for storing data and the transmitting module for sending control command to Devices to test.
3. a kind of high-efficient automatic test macro according to claim 2, which is characterized in that the transmitting module includes can
Control light source generator, radio-frequency transmissions head, limb action resolver, orientation source emission device and image body resolver.
4. a kind of high-efficient automatic test macro according to claim 3, which is characterized in that the automatic power controls mould
Block includes that controller and the display connecting with the controller, SPI, electric arc generate reed and controllable switch device, it is described can
Control switching device is connect with the Devices to test, and for controlling the power on/off of Devices to test, the controller passes through with test PC
Serial ports connection.
5. a kind of high-efficient automatic test macro according to claim 4, which is characterized in that the automatic test module
Including breakdown judge module, file output module and algoritic module.
6. a kind of test method of high-efficient automatic test macro according to claim 1 characterized by comprising
Step S100: automatic test module writes description of automation test strategy, the movement and reception that control Devices to test occurs
The response action of Devices to test identifies;
Step S200: according to the description of automation test strategy write, store Devices to test completion in need action identification;
Step S300: the expected results of description of automation test strategy are matched with the action identification of storage;
Step S400: output test result file automatically, prompts exception information if test does not pass through.
7. a kind of test method of high-efficient automatic test macro according to claim 6, which is characterized in that the step
S100 specifically: according to the description of automation test strategy write, send control command to Devices to test, Devices to test is waited to make sound
Action identification is answered, the response action for receiving Devices to test is identified and stored to data storage partition, what the Devices to test occurred
Movement includes:
A, the firmware that the integrality erasing of Flash matches with write-in Devices to test;
B, the displaying of the static information of Devices to test;
C, multidate information displaying, intensity and the marginal test of Devices to test;
D, control programmable telemetry module treats test equipment and carries out long-time, short interval, irregular transmitting telecommand;
E, the firmware that the integrality erasing of Flash matches with write-in and Devices to test is repeated;
F, control automatic power controller module device under test broken, power down strength test;
G, network stabilization is tested;
H, in the action identification data to data partition holding for storing Devices to test.
8. a kind of test method of high-efficient automatic test macro according to claim 7, which is characterized in that the step
S200 specifically: according to automatic Test Strategy, random data, user are accustomed to data and edge data is sent to Devices to test
In, by the static address of parameter write-in Devices to test.
9. a kind of test method of high-efficient automatic test macro according to claim 8, which is characterized in that the step
S300 specifically: the action response mark of expected results and data storage partition in automatic Test Strategy is used into Secondary Match
Algorithm carries out result matching, abnormal if there is matching, then:
When then emptying original interpretation result extremely because of action identification storing data, it re-execute the steps S200;
When because of the abnormal S300 that then re-execute the steps of secondary algorithm matching;
If there is exception more than twice, then terminate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811361595.8A CN109522229B (en) | 2018-11-15 | 2018-11-15 | Testing method of efficient automatic testing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811361595.8A CN109522229B (en) | 2018-11-15 | 2018-11-15 | Testing method of efficient automatic testing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109522229A true CN109522229A (en) | 2019-03-26 |
CN109522229B CN109522229B (en) | 2021-08-17 |
Family
ID=65778101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811361595.8A Active CN109522229B (en) | 2018-11-15 | 2018-11-15 | Testing method of efficient automatic testing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109522229B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110501667A (en) * | 2019-08-02 | 2019-11-26 | 西安飞机工业(集团)有限责任公司 | A kind of test macro and ground experiment method of ultrashort wave direction finder |
CN110601776A (en) * | 2019-09-10 | 2019-12-20 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted wireless module performance test method and system |
CN111240986A (en) * | 2020-01-16 | 2020-06-05 | 四川九州电子科技股份有限公司 | Artificial intelligence equipment detection system and method |
CN111459727A (en) * | 2019-12-25 | 2020-07-28 | 山东有人信息技术有限公司 | Intelligent automatic test system and test method for maximum error-free tolerance range of serial port baud rate |
CN112179405A (en) * | 2020-09-01 | 2021-01-05 | 河北汉光重工有限责任公司 | Detection system for testing ship air intake and exhaust system |
CN112464498A (en) * | 2020-12-24 | 2021-03-09 | 深圳市芯天下技术有限公司 | True modeling verification method and device for memory, storage medium and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1774642A (en) * | 2003-02-14 | 2006-05-17 | 爱德万测试株式会社 | Method and apparatus for testing integrated circuits |
FR2970792B1 (en) * | 2011-01-26 | 2013-01-04 | Eurocopter France | METHOD FOR DYNAMICALLY OPTIMIZING A SYSTEM TESTING TOOL ARCHITECTURE |
CN103365750A (en) * | 2013-07-10 | 2013-10-23 | 四川九洲电器集团有限责任公司 | Automatic test platform for remote-control products |
CN107390671A (en) * | 2017-07-06 | 2017-11-24 | 四川九州电子科技股份有限公司 | By the Auto-Test System and method of remote control device |
CN107632219A (en) * | 2017-10-11 | 2018-01-26 | 四川九州电子科技股份有限公司 | A kind of automatic switching test system and its method of testing |
-
2018
- 2018-11-15 CN CN201811361595.8A patent/CN109522229B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1774642A (en) * | 2003-02-14 | 2006-05-17 | 爱德万测试株式会社 | Method and apparatus for testing integrated circuits |
FR2970792B1 (en) * | 2011-01-26 | 2013-01-04 | Eurocopter France | METHOD FOR DYNAMICALLY OPTIMIZING A SYSTEM TESTING TOOL ARCHITECTURE |
CN103365750A (en) * | 2013-07-10 | 2013-10-23 | 四川九洲电器集团有限责任公司 | Automatic test platform for remote-control products |
CN107390671A (en) * | 2017-07-06 | 2017-11-24 | 四川九州电子科技股份有限公司 | By the Auto-Test System and method of remote control device |
CN107632219A (en) * | 2017-10-11 | 2018-01-26 | 四川九州电子科技股份有限公司 | A kind of automatic switching test system and its method of testing |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110501667A (en) * | 2019-08-02 | 2019-11-26 | 西安飞机工业(集团)有限责任公司 | A kind of test macro and ground experiment method of ultrashort wave direction finder |
CN110601776A (en) * | 2019-09-10 | 2019-12-20 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted wireless module performance test method and system |
CN111459727A (en) * | 2019-12-25 | 2020-07-28 | 山东有人信息技术有限公司 | Intelligent automatic test system and test method for maximum error-free tolerance range of serial port baud rate |
CN111459727B (en) * | 2019-12-25 | 2023-07-14 | 山东有人物联网股份有限公司 | Intelligent automatic test system and method for serial port baud rate maximum error-free tolerance range |
CN111240986A (en) * | 2020-01-16 | 2020-06-05 | 四川九州电子科技股份有限公司 | Artificial intelligence equipment detection system and method |
CN111240986B (en) * | 2020-01-16 | 2023-04-28 | 四川九州电子科技股份有限公司 | Artificial intelligent device detection system and method |
CN112179405A (en) * | 2020-09-01 | 2021-01-05 | 河北汉光重工有限责任公司 | Detection system for testing ship air intake and exhaust system |
CN112464498A (en) * | 2020-12-24 | 2021-03-09 | 深圳市芯天下技术有限公司 | True modeling verification method and device for memory, storage medium and terminal |
CN112464498B (en) * | 2020-12-24 | 2021-11-09 | 芯天下技术股份有限公司 | True modeling verification method and device for memory, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109522229B (en) | 2021-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109522229A (en) | A kind of high-efficient automatic test macro and its test method | |
CN104820635B (en) | A kind of self-closing ring gauge about robustness testing method based on the semantic parsing of dynamic script | |
CN110380939B (en) | Consistency test method and system for local communication protocol in electricity consumption information acquisition system | |
CN104932479A (en) | Automatic test method and system | |
CN100520849C (en) | Device and method for automatically testing distant control function | |
CN110231957B (en) | System and method for automatically generating telecontrol configuration description file (RCD) | |
CN102665317B (en) | Wireless lighting control system and wireless intelligent lamp | |
CN107544910A (en) | A kind of intelligent distribution transformer terminals automatization test system and method based on LUA scripts | |
CN207352604U (en) | A kind of intelligent distribution transformer terminals automatization test system based on LUA scripts | |
CN102739310A (en) | Method, device and system for controlling intelligent optical distribution network (iODN) equipment | |
US20150311649A1 (en) | Method and system to automatically identify electrical devices | |
CN102998613A (en) | Test system and method capable of realizing parallel testing of circuit board | |
CN107018523A (en) | WIFI module testing method and device | |
CN109409445A (en) | Carrier management method, management terminal, equipment and system in Optical Distribution Network | |
CN106126414A (en) | Application software testing method and system | |
US10877094B2 (en) | Command recording arrangement and command recording method | |
CN210199577U (en) | Fault injection module and system for testing engine controller | |
CN109799385A (en) | The power consumption test method and system of hardware device | |
CN109029645A (en) | A kind of gas meter function test method and device | |
CN107807631A (en) | A kind of Auto-Test System based on AUTOSAR network management mechanisms | |
CN114557548B (en) | Intelligent bookcase management system | |
CN117234817A (en) | Hard disk backboard code dialing method, device, equipment and medium | |
CN105227407A (en) | A kind of protocol debugging method, Apparatus and system | |
CN210924549U (en) | Software burning device for vehicle-mounted face recognition equipment | |
CN110955222B (en) | Test method and test system of engine data recorder |
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 |