CN108228407A - Apparatus function test method, apparatus and readable storage medium storing program for executing - Google Patents
Apparatus function test method, apparatus and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN108228407A CN108228407A CN201810101159.0A CN201810101159A CN108228407A CN 108228407 A CN108228407 A CN 108228407A CN 201810101159 A CN201810101159 A CN 201810101159A CN 108228407 A CN108228407 A CN 108228407A
- Authority
- CN
- China
- Prior art keywords
- test
- interface
- information
- devices
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/261—Functional testing by simulating additional hardware, e.g. fault simulation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a kind of apparatus function test method, method includes:Before device under test carries out functional test, virtual unit corresponding with Devices to test is loaded;Based on presetting rule and virtual unit, the relevant information of Devices to test is obtained, and relevant information is shown on configuration interface, wherein, relevant information includes at least identity information, configuration information and operation information;Configuration information corresponding with Devices to test is read, and based on configuration information, creates functional test task;The test interface of virtual unit is called to perform functional test task, obtains execution information, and execution information is shown on test interface, wherein, execution information includes at least test content, test mode and test assignment result.The invention also discloses a kind of device and readable storage medium storing program for executing.The present invention is versatile, suitable for the big development mode of test job intensity, so as to reduce detection time and improve detection efficiency, and then the working strength of tester is greatly reduced.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of apparatus function test method, apparatus and readable storage
Medium.
Background technology
With the continuous development of science and technology, more and more self-service devices come into being, and every self-service device passes through
Increase external hardware device and realize Function Extension, to meet the needs of user is different.
At present, it is essentially all to write out one or more by tester to the function test method of external hardware device
A testing tool carries out the functional test of device driver, thus when there are during multiple external hardware devices, tester needs
Test design is re-started for each different external hardware device to realize, and then tester is needed to put into test
More workload carries out adaptation, leads to poor universality, it is difficult to cope with testing requirement complicated and changeable.
Invention content
It is a primary object of the present invention to provide a kind of apparatus function test method, apparatus and readable storage medium storing program for executing, it is intended to
The technical issues of solving the functional test poor universality of external hardware device in the prior art.
To achieve the above object, a kind of apparatus function test method provided by the invention, the apparatus function test method
Include the following steps:
Before device under test carries out functional test, virtual unit corresponding with Devices to test is loaded;
Based on presetting rule and the virtual unit, the relevant information of the Devices to test is obtained, and on configuration interface
Show the relevant information, wherein, the relevant information includes at least identity information, configuration information and operation information;
Configuration information corresponding with the Devices to test is read, and based on the configuration information, creates functional test task;
The test interface of the virtual unit is called to perform the functional test task, obtains execution information, and testing
The execution information is shown on interface, wherein, the execution information includes at least test content, test mode and test assignment knot
Fruit.
Preferably, described virtual unit corresponding with Devices to test is loaded before device under test carries out functional test
Later, the apparatus function test method further includes:
There are during multiple Devices to test, be associated with and record the Devices to test and corresponding virtual unit;And/or
Identity information and corresponding functional test task based on each Devices to test, generation test list, and testing
It is shown on interface;And/or
Based on preparatory function option, traverse the test list and sequentially start the test for calling the virtual unit
Interface performs the operation of the functional test task, for completing the test assignment of all Devices to test.
Preferably, the apparatus function test method further includes:
When the test interface of each virtual unit performs corresponding functional test task, monitor each functional test and appoint
The thread of business is with the presence or absence of abnormal;
When monitoring that thread has abnormal, force to terminate the corresponding functional test task of abnormal thread, and analyze exception
It is shown on the test interface after reason.
Preferably, the apparatus function test method further includes:
In identity information corresponding there are multiple Devices to test, any that user chooses on the configuration interface is obtained
One identity information;
The individually selected corresponding configuration information of identity information of display, so that user changes configuration information, and update pair
Answer the operation information of Devices to test.
Preferably, the test interface and the configuration interface are gui interface.
In addition, to achieve the above object, the present invention also provides a kind of apparatus function test device, the apparatus function tests
Device includes test front end and configuration management end;It is described test front end include loading unit, control unit, interface display unit and
Virtual unit;
The loading unit is used for, and before device under test carries out functional test, is loaded corresponding with Devices to test virtual
Equipment;
Described control unit is used for, and configuration information corresponding with the Devices to test is read from the configuration management end, and
Based on the configuration information, functional test task is created;
The test interface of the virtual unit is called to perform the functional test task, obtains execution information;
The interface display unit is used for, and the execution information is shown on test interface, wherein, the execution information is extremely
It is few to include testing content, test mode and test assignment result;
The configuration management end is used for, and based on presetting rule and the virtual unit, obtains the correlation of the Devices to test
Information, and the relevant information is shown on configuration interface, wherein, the relevant information includes at least identity information, with confidence
Breath and operation information.
Preferably, there are during multiple Devices to test, described control unit is additionally operable to perform following any operation:
It is associated with and records the Devices to test and corresponding virtual unit;And/or
Identity information and corresponding functional test task based on each Devices to test, generation test list, and pass through institute
Interface display unit is stated to be shown on test interface;And/or
Based on preparatory function option, traverse the test list and sequentially start the test for calling the virtual unit
Interface performs the operation of the functional test task, for completing the test assignment of all Devices to test.
Preferably, described control unit is additionally operable to:
When the test interface of each virtual unit performs corresponding functional test task, monitor each functional test and appoint
The thread of business is with the presence or absence of abnormal;
When monitoring that thread has abnormal, force to terminate the corresponding functional test task of abnormal thread, and analyze exception
It is shown on the test interface by the interface display unit after reason.
Preferably, the configuration management end is additionally operable to:
In identity information corresponding there are multiple Devices to test, any that user chooses on the configuration interface is obtained
One identity information;
The individually selected corresponding configuration information of identity information of display, so that user changes configuration information, and update pair
Answer the operation information of Devices to test.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Functional test program is stored on storage medium, is realized when the functional test program is executed by processor as any one of above-mentioned
The step of described apparatus function test method.
The present invention is before device under test carries out functional test first, loads virtual unit corresponding with Devices to test;
Secondly based on presetting rule and virtual unit, the relevant information of Devices to test is obtained, and relevant information is shown on configuration interface,
Wherein, relevant information includes at least identity information, configuration information and operation information;Then configuration information is read, and based on configuration
Information creates functional test task;The test interface of virtual unit is finally called to perform functional test task, what is obtained performs letter
It ceases and is shown on test interface, wherein, execution information includes at least test content, test mode and test assignment result.
The present invention creates functional test task, and corresponding virtual unit test interface is called to be surveyed by the configuration information of acquisition
Examination, so as to complete the functional test to equipment, simultaneously because different configuration informations can support different operating system and be surveyed
Examination, so it is versatile, and suitable for the big development mode of test job intensity, and then the work that tester is greatly reduced is strong
Degree.
Description of the drawings
Fig. 1 is the flow diagram of present device function test method first embodiment;
Fig. 2 is the flow diagram of present device function test method second embodiment;
Fig. 3 is the flow diagram of present device function test method 3rd embodiment;
Fig. 4 is the high-level schematic functional block diagram of one embodiment of present device device for testing functions.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides a kind of apparatus function test method.
With reference to Fig. 1, Fig. 1 is the flow diagram of present device function test method first embodiment.
In the present embodiment, apparatus function test method includes the following steps:
Step S10 before device under test carries out functional test, loads virtual unit corresponding with Devices to test;
In the present embodiment, equipment that Devices to test refers to need test function, preferably external hardware device.External hardware
Equipment is that most of hardware device in addition to host all can be referred to as external equipment, abbreviation peripheral hardware, for example printer, display, is painted
Figure instrument, voice synthesizer, disk, CD, mouse, keyboard etc..Virtual unit is the equipment not actually existed, it is
For peripheral hardware with driver when another equipment namely the present apparatus that formation is simulated on host load peripheral hardware, correspondence obtains one
Virtual unit, and then peripheral hardware is may have access to, realize information exchange between the two.Specifically, functional test is carried out to peripheral hardware, also
It is that device under test carries out functional test, to check whether its driving function is perfect, meets user demand, and compatible host is not
Can cause conflict and can not normal use, before testing firstly the need of load its corresponding virtual unit, to realize information hand over
Mutually.
Step S20 based on presetting rule and virtual unit, obtains the relevant information of Devices to test, and on configuration interface
Show relevant information, wherein, relevant information includes at least identity information, configuration information and operation information;
In the present embodiment, presetting rule is the agreement or mode pre-set, is that peripheral hardware can be made mutually to be interconnected with the present apparatus
Connect the set of rule for realizing communication, the rule that provide data transmission when should abide by, it should be appreciated that preset rule herein
Then can be consistent with the rule of traditional acquisition Devices to test relevant information, such as cdp protocol (Cisco Discovery
Protocol, CISCO discovery protocol), USB interface agreement, I/O transmission modes, dma mode etc..The relevant information packet of Devices to test
Identity information, configuration information, operation information are included, further includes driver keyword, manufacturer, device type, power data, position
Confidence breath, path, model etc..Identity information is to distinguish each different virtual unit, can be that hardware ID, physics are set
Standby object oriented, virtual unit title or address etc..Configuration information is the functional parameter that external hardware device is configured in manufacture
And coded data, equipment to be made to have certain function, such as serial ports, baud rate, resolution ratio, scan frequency, refresh rate, sound
Effect, image quality etc..Operation information is the operating status of virtual unit, such as normal or misoperation, interruption or operation suspension.
Step S30 reads configuration information corresponding with Devices to test, and based on configuration information, creates functional test task;
In the present embodiment, obtained configuration information realizes information exchange by ini file form or other custom rules,
And then configuration information is read, and based on configuration information, create functional test task.Since configuration information includes the work(of realization
Can, the content that each function is tested is different, thus different functional test tasks is created according to different configuration informations.Into
One step, can load multiple and different virtual units simultaneously, that is, increase external hardware device, each virtual unit have it is multiple not
Same functional test item, and then improve the convenience and testing efficiency of test.
Step S40 calls the test interface of virtual unit to perform functional test task, obtains execution information, and testing
Execution information is shown on interface, wherein, execution information includes at least test content, test mode and test assignment result.
In the present embodiment, test interface is a kind of test of test system components interface, mainly for detection of external hard
Interaction point between part equipment and present apparatus test system and between internal subsystems, to verify its correctness and steady
It is qualitative.During the test, the test interface of virtual unit is called to perform functional test task, while virtual unit passes through message
Mechanism returns to execution information, and is shown on test interface.Execution information includes test content, test mode and test
Task result.Test content, which corresponds to each virtual unit, has the test content of all functional test items;Test mode includes
Start, neutralize and terminate;Test assignment result includes being successfully tested or failure.Further, it shows and holds on test interface
Row information, tester can integrally understand the functional test procedures of entire Devices to test from the beginning to the end.Specifically, difference is matched
The different functional test task of information creating is put, corresponding test interface is called to perform the functional test task, can effectively be dropped
Low automatic test promotes testing efficiency and reduces testing cost to the dependence of testing tool.Further, the present invention surveys
The equipment that method for testing is applicable to Windows systems, linux system or android system.
The present invention is before device under test carries out functional test first, loads virtual unit corresponding with Devices to test;
Secondly based on presetting rule and virtual unit, the relevant information of Devices to test is obtained, and relevant information is shown on configuration interface,
Wherein, relevant information includes at least identity information, configuration information and operation information;Then configuration information is read, and based on configuration
Information creates functional test task;The test interface of virtual unit is finally called to perform functional test task, what is obtained performs letter
It ceases and is shown on test interface, wherein, execution information includes at least test content, test mode and test assignment result.
The present invention creates functional test task, and corresponding virtual unit test interface is called to be surveyed by the configuration information of acquisition
Examination, so as to complete the functional test to equipment, simultaneously because different configuration informations can support different operating system and be surveyed
Examination, so it is versatile, and suitable for the big development mode of test job intensity, and then the work that tester is greatly reduced is strong
Degree.
It is further alternative, present device function test method second embodiment is proposed based on first embodiment, at this
In embodiment, the apparatus function test method further includes:
1st, there are during multiple Devices to test, be associated with and record Devices to test and corresponding virtual unit;And/or
In the present embodiment, multiple virtual units can be loaded simultaneously, each virtual unit corresponds to a physical equipment, that is,
A corresponding peripheral hardware or be Devices to test.It is associated with and records the relationship between Devices to test and virtual unit, make it correctly
It corresponds, and then avoids each other obscuring and making test crash.
2nd, identity information and corresponding functional test task based on each Devices to test, generation test list, and surveying
Examination is shown on interface;And/or
In the present embodiment, multiple virtual units can be loaded simultaneously to get to the relevant information of each virtual unit.Specifically
Ground, the preferred ID of identity information (Identification), ID be a kind of identity number, account, is unique encodings or exclusive number
Code, while be also globally unique, convenient and efficient it can effectively distinguish each virtual unit.What each virtual unit had
Function may be the same or different, according to the functional test task that corresponding configuration information generates, and by ID and corresponding work(
Energy test assignment is bound, generation test list, and is shown on test interface, and tester is enable to fully understand
To the functional test of each Devices to test.List is tested, as the term suggests it is to enumerate the virtual unit for needing to test to be organized in one
It is conveniently checked in a list.
3rd, based on preparatory function option, traversal test list simultaneously sequentially starts the test interface execution work(for calling virtual unit
The operation of energy test assignment, for completing the test assignment of all Devices to test.
In the present embodiment, preparatory function option can be startup, pause, the function button for terminating test, can also be choosing
Take the automatic tests of all virtual units in the function button that single one virtual unit is tested or list by
Key is configured with specific reference to actual needs.By preparatory function option, all virtual units in traversal test list and
Corresponding functional test task starts by sequence test assignment namely the test interface of each virtual unit is sequentially called to perform
Corresponding functional test task, so complete list in all virtual units test item, can not tester it is every manually
One operation test improves testing efficiency and reduces the workload of tester.For example, in process of production acceptance checkout equipment when,
Loading needs well the hardware device tested, and triggers automatic test button, you can is automatically performed all peripheral hardware tests.
Further, the efficiency for raising test equipment function, with reference to Fig. 2, Fig. 2 is present device function test method
The flow diagram of second embodiment.
In the present embodiment, apparatus function test method is further comprising the steps of:
Step S50 when the test interface of each virtual unit performs corresponding functional test task, monitors each work(
The thread of energy test assignment is with the presence or absence of abnormal;
Step S60 when monitoring that thread has abnormal, forces to terminate the corresponding functional test task of abnormal thread, and
It is shown on test interface after analysis abnormal cause.
In the present embodiment, it is complete in individual thread that the test interface of each virtual unit, which performs functional test task,
Into test, specifically, using synchronization mechanism, it is ensured that serially complete the functional test of all Devices to test.Monitoring each thread is
No there are abnormal conditions, and when monitoring that thread has abnormal, based on end mechanism is forced, the corresponding function of abnormal thread is surveyed
Trial business is forced to terminate, and into without influencing the functional test task of other threads, while the waste testing time is avoided to wait for this different
Often test terminates.
Further, to meet complicated testing requirement, with reference to Fig. 3, Fig. 3 is present device function test method third
The flow diagram of embodiment.
In the present embodiment, apparatus function test method is further comprising the steps of:
Step S70 in identity information corresponding there are multiple Devices to test, obtains what user chose on configuration interface
Any identity information;
Step S80 individually shows the selected corresponding configuration information of identity information, so that user changes configuration information,
And update the operation information of corresponding Devices to test.
In the present embodiment, multiple virtual units are loaded there are the corresponding identity information of multiple Devices to test namely simultaneously, into
And obtain each virtual unit title or ID number, by interface alternation, obtain any device name that user chooses or
ID, and then individually show on configuration interface selected device name or all configuration informations corresponding to ID, i.e., this is virtual
All functional configuration parameters that equipment has.Tester can modify according to the configuration information of display, to update peripheral hardware
Operation information, Improving Equipment software development and test.It should be noted that modification configuration is carried out on configuration interface, survey
Examination interface is only shown with testing related content, and can not change configuration.
It is further alternative, in another embodiment of present device function test method, test interface and configuration interface
For gui interface.GUI (Graphical User Interface) interface, is exactly graphical user interface, as user and using journey
The interface of sequence interaction is the bridge that application program and user information are transmitted, and excellent by feat of its flexibility and ease for operation etc.
Point all brings great convenience for software development and application.Test interface operates independently of each other with configuration interface, makes tester
Member can check corresponding display content on different windows interface, that is, be checked on test interface with testing in relevant
Hold, and checked on configuration interface and relevant content is configured, and then tester is facilitated to use, and improve usage experience, together
When can avoid it is existing test content with configuration content mix together with, so as to effectively improve working efficiency.It should be understood that it treats
The functional test of measurement equipment is that the behavioral test artificially driven is converted into a kind of process that machine performs automatically.Interface display with
Test assignment is to be in different threads, and then progress functional test does not influence the normal display at interface, avoids the occurrence of interface card
The problem of pausing.
The present invention further provides a kind of apparatus function test devices.
With reference to Fig. 4, Fig. 4 is the high-level schematic functional block diagram of one embodiment of present device device for testing functions.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 4 is only one preferably real
Apply the exemplary plot of example, those skilled in the art surrounds the function module of apparatus function test device shown in Fig. 4, can easily into
The supplement of the new function module of row;The title of each function module is self-defined title, is only used for auxiliary and understands that the functions of the equipments are surveyed
Each program function block that trial assembly is put is not used in restriction technical scheme of the present invention, and the core of technical solution of the present invention is, respectively
Define the function to be reached of function module of title.
As shown in figure 4, the present invention proposes a kind of apparatus function test device, including test front end 110 and configuration management end
120, wherein, test front end 110 includes loading unit 10, control unit 20, interface display unit 30 and virtual unit 40.
Loading unit 10 is used for, and before device under test carries out functional test, loading is corresponding with Devices to test virtually to be set
Standby 40.
Control unit 20 is used for, and configuration information corresponding with Devices to test is read, and based on configuration from configuration management end 120
Information creates functional test task;The test interface of virtual unit 40 is called to perform functional test task, obtains execution information.
Control unit 20 is additionally operable to, and is associated with and is recorded Devices to test and corresponding virtual unit;And/or based on each to be measured
The identity information of equipment and corresponding functional test task, generation test list, and pass through interface display unit in test interface
On shown;And/or based on preparatory function option, traversal test list simultaneously sequentially starts the test interface for calling virtual unit
The operation of functional test task is performed, for completing the test assignment of all Devices to test.
Control unit 20 is additionally operable to, and corresponding functional test task is performed in the test interface of each virtual unit
When, the thread of each functional test task is monitored with the presence or absence of abnormal;When monitoring that thread has abnormal, force to terminate abnormal wire
The corresponding functional test task of journey, and shown on test interface by interface display unit after analyzing abnormal cause.
Interface display unit 30 is used for, and execution information is shown on test interface, wherein, execution information includes at least test
Content, test mode and test assignment result.
Further, testing requirement being flexibly set for the ease of tester, test front end 110 provides three-decker,
First layer is interface, i.e. interface display unit 30, second layer center in order to control, including loading unit 10 and control unit 20,
Three layers are virtual unit 40.Tester can carry out human-computer interaction, and pass through control centre and carry out phase by interface and the present apparatus
Close test operation.Interface display unit 30 is mainly used for showing required letter to be shown in each Devices to test functional test procedures
Breath, including test content, test mode and test assignment as a result, also show that preparatory function option simultaneously, i.e. function button etc..It is logical
Cross a window interface show with the relevant information of test equipment function, to the better usage experience of tester and facility
Property.
Configuration management end 120 is used for, and based on presetting rule and virtual unit 40, obtains the relevant information of Devices to test, and
Relevant information is shown on configuration interface, wherein, relevant information includes at least identity information, configuration information and operation information.Match
It is another programs different from test front end 110 to put management end 120, and the two passes through ini file form or other custom rules
Realize information exchange, and then the configuration information of the acquisition of configuration management end 120 can be read in the control unit 20 for testing front end 110.
Configuration management end 120 is additionally operable to, and in identity information corresponding there are multiple Devices to test, is obtained user and is being configured
Any identity information chosen on interface;The individually selected corresponding configuration information of identity information of display, for user
Configuration information is changed, and updates the operation information of corresponding Devices to test.
It is further alternative, to achieve the above object, the present invention also provides a kind of computer readable storage medium, in this reality
It applies and functional test program is stored on the computer readable storage medium proposed in example, including loading virtual unit, read configuration
Information and execution functional test task dispatching.The functional test program of storage can be read out by the processor, understand and perform, so as to real
The step of showing the apparatus function test method in any of the above-described apparatus function test embodiment of the method.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a readable storage medium
In matter (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services
Device, air conditioner or network equipment etc.) method that performs each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form, every equivalent structure or equivalent flow shift made using description of the invention and accompanying drawing content, directly or indirectly
Other related technical areas are used in, these are belonged within the protection of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
- A kind of 1. apparatus function test method, which is characterized in that the apparatus function test method includes the following steps:Before device under test carries out functional test, virtual unit corresponding with Devices to test is loaded;Based on presetting rule and the virtual unit, the relevant information of the Devices to test is obtained, and shown on configuration interface The relevant information, wherein, the relevant information includes at least identity information, configuration information and operation information;Configuration information corresponding with the Devices to test is read, and based on the configuration information, creates functional test task;The test interface of the virtual unit is called to perform the functional test task, obtains execution information, and in test interface The upper display execution information, wherein, the execution information includes at least test content, test mode and test assignment result.
- 2. apparatus function test method as described in claim 1, which is characterized in that carry out function in device under test described Before test, after loading virtual unit corresponding with Devices to test, the apparatus function test method further includes:There are during multiple Devices to test, be associated with and record the Devices to test and corresponding virtual unit;And/orIdentity information and corresponding functional test task based on each Devices to test, generation test list, and in test interface On shown;And/orBased on preparatory function option, traverse the test list and sequentially start the test interface for calling the virtual unit The operation of the functional test task is performed, for completing the test assignment of all Devices to test.
- 3. apparatus function test method as described in claim 1, which is characterized in that the apparatus function test method is also wrapped It includes:When the test interface of each virtual unit performs corresponding functional test task, each functional test task is monitored Thread is with the presence or absence of abnormal;When monitoring that thread has abnormal, force to terminate the corresponding functional test task of abnormal thread, and analyze abnormal cause It is shown on the test interface afterwards.
- 4. apparatus function test method as described in claim 1, which is characterized in that the apparatus function test method is also wrapped It includes:In identity information corresponding there are multiple Devices to test, any one that user chooses on the configuration interface is obtained Identity information;The individually selected corresponding configuration information of identity information of display so that user changes configuration information, and updates correspondence and treats The operation information of measurement equipment.
- 5. apparatus function test method according to any one of claims 1 to 4, which is characterized in that the test interface and The configuration interface is gui interface.
- 6. a kind of apparatus function test device, which is characterized in that the apparatus function test device includes test front end and configuration Management end;The test front end includes loading unit, control unit, interface display unit and virtual unit;The loading unit is used for, and before device under test carries out functional test, loads virtual unit corresponding with Devices to test;Described control unit is used for, and configuration information corresponding with the Devices to test is read, and be based on from the configuration management end The configuration information creates functional test task;The test interface of the virtual unit is called to perform the functional test task, obtains execution information;The interface display unit is used for, and the execution information is shown on test interface, wherein, the execution information is at least wrapped Include test content, test mode and test assignment result;The configuration management end is used for, and based on presetting rule and the virtual unit, obtains the relevant information of the Devices to test, And the relevant information is shown on configuration interface, wherein, the relevant information includes at least identity information, configuration information and fortune Row information.
- 7. apparatus function test device as claimed in claim 6, which is characterized in that described there are during multiple Devices to test Control unit is additionally operable to perform following any operation:It is associated with and records the Devices to test and corresponding virtual unit;And/orIdentity information and corresponding functional test task based on each Devices to test, generation test list, and pass through the boundary Face display unit is shown on test interface;And/orBased on preparatory function option, traverse the test list and sequentially start the test interface for calling the virtual unit The operation of the functional test task is performed, for completing the test assignment of all Devices to test.
- 8. apparatus function test device as claimed in claim 7, which is characterized in that described control unit is additionally operable to:When the test interface of each virtual unit performs corresponding functional test task, each functional test task is monitored Thread is with the presence or absence of abnormal;When monitoring that thread has abnormal, force to terminate the corresponding functional test task of abnormal thread, and analyze abnormal cause It is shown on the test interface by the interface display unit afterwards.
- 9. apparatus function test device as claimed in claim 6, which is characterized in that the configuration management end is additionally operable to:In identity information corresponding there are multiple Devices to test, any one that user chooses on the configuration interface is obtained Identity information;The individually selected corresponding configuration information of identity information of display so that user changes configuration information, and updates correspondence and treats The operation information of measurement equipment.
- 10. a kind of computer readable storage medium, which is characterized in that functional survey is stored on the computer readable storage medium Program is tried, the functions of the equipments as described in any one of claim 1 to 5 are realized when the functional test program is executed by processor The step of test method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810101159.0A CN108228407A (en) | 2018-01-31 | 2018-01-31 | Apparatus function test method, apparatus and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810101159.0A CN108228407A (en) | 2018-01-31 | 2018-01-31 | Apparatus function test method, apparatus and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108228407A true CN108228407A (en) | 2018-06-29 |
Family
ID=62670035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810101159.0A Pending CN108228407A (en) | 2018-01-31 | 2018-01-31 | Apparatus function test method, apparatus and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108228407A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110505117A (en) * | 2019-08-07 | 2019-11-26 | 深圳市吉祥腾达科技有限公司 | TR069 test method, system and storage medium |
CN111190921A (en) * | 2020-01-02 | 2020-05-22 | 安超云软件有限公司 | Method and system for processing super-fusion multifunctional serial number |
CN111427800A (en) * | 2020-04-21 | 2020-07-17 | 重庆赛宝工业技术研究院 | Reliable transmission processing method for industrial APP test data |
CN112100012A (en) * | 2020-09-08 | 2020-12-18 | 深圳市创维群欣安防科技股份有限公司 | Android device testing method, android device and storage medium |
CN112953776A (en) * | 2021-03-01 | 2021-06-11 | 北京小米松果电子有限公司 | Data verification method, device and storage medium |
CN112988322A (en) * | 2019-12-17 | 2021-06-18 | 菜鸟智能物流控股有限公司 | Analog hardware driving method and device |
CN113434421A (en) * | 2021-06-30 | 2021-09-24 | 青岛海尔科技有限公司 | Virtual equipment testing method and device |
CN115544783A (en) * | 2022-10-19 | 2022-12-30 | 泰科信(北京)科技有限公司 | Method, device, equipment and medium for virtual testing of electrical and electronic products |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102591780A (en) * | 2012-01-13 | 2012-07-18 | 广州广电运通金融电子股份有限公司 | Device driver software test method and test system |
CN103092156A (en) * | 2012-12-26 | 2013-05-08 | 莱诺斯科技(北京)有限公司 | Device replaceable automatic test system and method |
KR101348425B1 (en) * | 2013-05-14 | 2014-01-10 | 주식회사 아이티엔티 | Device for timing calibration of automatic test equipment |
CN105573902A (en) * | 2014-10-10 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Application testing method and system |
CN106649113A (en) * | 2016-12-21 | 2017-05-10 | 北京航天测控技术有限公司 | Testing equipment control system and realization method |
CN106708716A (en) * | 2015-07-17 | 2017-05-24 | 中兴通讯股份有限公司 | Software testing method, device and system |
CN106933730A (en) * | 2015-12-29 | 2017-07-07 | 北京国睿中数科技股份有限公司 | Method of testing, device and test frame system based on test frame system |
CN107329892A (en) * | 2017-06-07 | 2017-11-07 | 珠海市杰理科技股份有限公司 | Drive method of testing, device, storage medium and its computer equipment |
CN107613020A (en) * | 2017-10-16 | 2018-01-19 | 北京东土科技股份有限公司 | A kind of device management method and device |
-
2018
- 2018-01-31 CN CN201810101159.0A patent/CN108228407A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102591780A (en) * | 2012-01-13 | 2012-07-18 | 广州广电运通金融电子股份有限公司 | Device driver software test method and test system |
CN103092156A (en) * | 2012-12-26 | 2013-05-08 | 莱诺斯科技(北京)有限公司 | Device replaceable automatic test system and method |
KR101348425B1 (en) * | 2013-05-14 | 2014-01-10 | 주식회사 아이티엔티 | Device for timing calibration of automatic test equipment |
CN105573902A (en) * | 2014-10-10 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Application testing method and system |
CN106708716A (en) * | 2015-07-17 | 2017-05-24 | 中兴通讯股份有限公司 | Software testing method, device and system |
CN106933730A (en) * | 2015-12-29 | 2017-07-07 | 北京国睿中数科技股份有限公司 | Method of testing, device and test frame system based on test frame system |
CN106649113A (en) * | 2016-12-21 | 2017-05-10 | 北京航天测控技术有限公司 | Testing equipment control system and realization method |
CN107329892A (en) * | 2017-06-07 | 2017-11-07 | 珠海市杰理科技股份有限公司 | Drive method of testing, device, storage medium and its computer equipment |
CN107613020A (en) * | 2017-10-16 | 2018-01-19 | 北京东土科技股份有限公司 | A kind of device management method and device |
Non-Patent Citations (2)
Title |
---|
付雪梅: "基于SOA接口自动化功能测试系统设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
汤小丹 等: "《计算机操作系统》", 31 May 2014, 西安电子科技大学出版社 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110505117A (en) * | 2019-08-07 | 2019-11-26 | 深圳市吉祥腾达科技有限公司 | TR069 test method, system and storage medium |
CN112988322A (en) * | 2019-12-17 | 2021-06-18 | 菜鸟智能物流控股有限公司 | Analog hardware driving method and device |
CN111190921A (en) * | 2020-01-02 | 2020-05-22 | 安超云软件有限公司 | Method and system for processing super-fusion multifunctional serial number |
CN111427800A (en) * | 2020-04-21 | 2020-07-17 | 重庆赛宝工业技术研究院 | Reliable transmission processing method for industrial APP test data |
CN112100012A (en) * | 2020-09-08 | 2020-12-18 | 深圳市创维群欣安防科技股份有限公司 | Android device testing method, android device and storage medium |
CN112100012B (en) * | 2020-09-08 | 2023-10-31 | 深圳创维数字技术有限公司 | Android device testing method, android device and storage medium |
CN112953776A (en) * | 2021-03-01 | 2021-06-11 | 北京小米松果电子有限公司 | Data verification method, device and storage medium |
CN113434421A (en) * | 2021-06-30 | 2021-09-24 | 青岛海尔科技有限公司 | Virtual equipment testing method and device |
CN113434421B (en) * | 2021-06-30 | 2023-10-24 | 青岛海尔科技有限公司 | Virtual equipment testing method and device |
CN115544783A (en) * | 2022-10-19 | 2022-12-30 | 泰科信(北京)科技有限公司 | Method, device, equipment and medium for virtual testing of electrical and electronic products |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108228407A (en) | Apparatus function test method, apparatus and readable storage medium storing program for executing | |
CN110221962B (en) | Centralized software test management system and method | |
CN106484622B (en) | Test method, apparatus and system | |
CN104021080B (en) | Automatic testing system based on custom scripts | |
CN105094783B (en) | method and device for testing stability of android application | |
US7895565B1 (en) | Integrated system and method for validating the functionality and performance of software applications | |
CN108399132A (en) | A kind of scheduling tests method, apparatus and storage medium | |
CN105787364B (en) | Automatic testing method, device and system for tasks | |
CN106933729A (en) | A kind of method of testing and system based on cloud platform | |
CN107463362A (en) | The method and system of lasting deployment based on multiple Jenkins | |
CN108829556A (en) | A kind of automated testing method and device | |
CN109977012B (en) | Joint debugging test method, device, equipment and computer readable storage medium of system | |
CN108763009A (en) | Server stress test method, system, equipment and computer readable storage medium | |
JP4440185B2 (en) | Scenario editing apparatus, pseudo base station test system, pseudo terminal test system, scenario editing method and test processing method, and storage medium storing computer-readable program and program | |
CN112231206A (en) | Script editing method for application program test, computer readable storage medium and test platform | |
KR20150030297A (en) | Verification apparatus, terminal device, system, method and computer-readable medium for verifying application | |
CN112231210A (en) | Test method, equipment and storage medium under network function virtualization environment | |
CN112199273A (en) | Virtual machine pressure/performance testing method and system | |
CN109783368A (en) | Trapezoidal pattern programming software testing system and method | |
CN112527312B (en) | Test method and test device for embedded system | |
CN115982043A (en) | Vehicle interface testing method, device, equipment and storage medium | |
CN109102248A (en) | Amending method, device and the computer readable storage medium of nodal information | |
CN113986753A (en) | Interface test method, device, equipment and storage medium | |
CN112328439A (en) | Stability test method and system for hardware equipment | |
CN114124769A (en) | Base station testing method and device, electronic equipment and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |
|
RJ01 | Rejection of invention patent application after publication |