CN1996265A - Method and system for implementing automatic testing - Google Patents
Method and system for implementing automatic testing Download PDFInfo
- Publication number
- CN1996265A CN1996265A CN 200610168092 CN200610168092A CN1996265A CN 1996265 A CN1996265 A CN 1996265A CN 200610168092 CN200610168092 CN 200610168092 CN 200610168092 A CN200610168092 A CN 200610168092A CN 1996265 A CN1996265 A CN 1996265A
- Authority
- CN
- China
- Prior art keywords
- physical equipment
- unit
- logical device
- test
- annexation
- 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
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
An automatic testing method comprises creating testing logic equipment name, with the connection and testing of the said logic equipment starting with acquiring physical equipment name and the relationship between physical equipment, mapping the said logic with the said physical equipment, having physical equipment identifiable testing procedure and order format, sending out the testing procedure needed by the logic equipment to the said logic equipment mapping physical equipment with the physical equipment executing the said testing procedure. It also provides a system for realizing automatic testing that comprises input and output unit, seal unit, physical equipment storage unit, logic equipment storage unit, mapping unit and execution unit.
Description
Technical field
The present invention relates to method of testing and system, relate in particular to a kind of realization automatic test method and system.
Background technology
Along with the continuous development of society, people are also more and more higher to the requirement of various product, and the quality of product is exactly a wherein very important aspect.Test is the committed step that guarantees product quality, and along with the develop rapidly of measuring technology, automatization testing technique becomes an important method of test gradually.Present automatic test mainly is to be undertaken by script, and what present stage, script paid close attention to is the realization means of robotization, realizes automatic test by writing of script.Automatic test has replaced manual test to a certain extent, has improved work efficiency.
The most frequently used a kind of script is TCL (TOOL COMMANDLANGUAGE) in the prior art, and TCL is a kind of explanation execution script language.It has an intrinsic core commands collection, also have simultaneously with the C/C++ class of languages like control structure, as if control, cycle control and switch control etc.; And the definition of supporting process and calling, also provide support to simple data structures such as array and character strings.
Realizing the test of robotization at present, mostly is by using this script of TCL that each test case is carried out writing of a script.But a lot of all public parts of test process are all carried out writing of a script to each test case so and are just made that the reuse of test script is low, and it is not high to write efficient.And the script of writing at each test case is too strong to the dependence of environment, can only test in the environment of script describing, and transplanting script needs expensive energy to the another one test environment.
On the other hand, owing to there is not unified format, everyone is unified inadequately when writing test script, causes the test case script the incomplete situation of information more or less can occur, has caused the readable relatively poor of script, and has been difficult to safeguard.
Consider that from the result of test this method does not provide unified, perfect test record, make the effect of test receive certain influence.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of
For solving the problems of the technologies described above, the objective of the invention is to be achieved through the following technical solutions:
Create test logical device title, connection between the described logical device and testing procedure;
Obtain the annexation between physical equipment title and the physical equipment;
Described logical device and described physical equipment are shone upon, obtain the command format of the discernible testing procedure of physical equipment;
The testing procedure that logical device will be realized is sent to the physical equipment that shines upon with this logical device, and physical equipment is carried out described testing procedure.
Wherein, use the logical device title in the establishment test, before the connection and testing procedure between the described logical device, different physical equipments is encapsulated, and the information of the physical equipment of configuration packages and annexation, and the logical device title and the logic connecting relation of described physical equipment correspondence.
Wherein, use the logical device title, before the connection and testing procedure between the described logical device, further testing procedure, comparison procedure, test report template are encapsulated in the establishment test;
Further comprise the instruction of exporting test report in the described testing procedure;
Physical equipment sends to system with the result after whenever executing a testing procedure, system by calling test process encapsulation and the encapsulation of comparison procedure physical equipment result who returns and the test result that presets are compared, test report template according to encapsulation in advance carries out record to each testing procedure and comparative result, generates test report.
Wherein, in the information and the annexation of the physical equipment of configuration packages, and the logical name of described physical equipment correspondence is during with annexation, the mapping restriction relation of further configures physical device name, annexation and logical device title, annexation;
Further carry out the mapping of physical equipment in shining upon carrying out described logical device and described physical equipment according to the mapping restriction relation that presets.
Wherein, carry out described logical device and mapping that described physical equipment carries out and be specially one-to-one relationship by artificial craft and/or system match described logical device title automatically, logical device is connected to be connected with physical equipment with the physical equipment title.
Correspondence and this method, the present invention also provides a kind of system of test automatically that realizes, and this system comprises: I/O unit, encapsulation unit, physical equipment storage unit, logical device storage unit, map unit, performance element;
What I/O unit was used to receive user's input comprises logical device title and the mapping directive that is connected, and will order be sent to each physical equipment by the corresponding relation of performance element feedback and the command format of each physical equipment needs;
Encapsulation unit is used for different physical equipments is encapsulated, and stores the command format that each physical equipment needs;
The physical equipment storage unit is used to store the title and the annexation of physical equipment;
The logical device storage unit is used for stored logic device name and annexation;
Logical device title, the annexation of storing in physical equipment information, annexation and the logical device storage unit that map unit is used for the physical equipment storage unit is stored are shone upon, form corresponding mutually relation, and this corresponding relation is sent to performance element;
Performance element is used for the corresponding relation by physical equipment title, annexation and logical device title, annexation, correspondingly to the encapsulation unit find the command format that each physical equipment needs, and the command format of corresponding relation and each physical equipment needs is sent to I/O unit.
Wherein, this system further comprises: comparing unit, log unit;
I/O unit be used to receive user's input comprise the logical device title with the mapping directive that is connected or be used to receive include the logical device title and be connected, and the reception physical equipment whenever execute the result who returns behind the testing procedure and also this result who returns be sent to comparing unit; Also be used for the test report that the output journal unit generates;
Encapsulation unit is used for different physical equipments is encapsulated, and stores the command format that each physical equipment needs, and also is used for testing procedure, comparison procedure, test report are encapsulated, and stores the test result that presets;
Comparing unit is used for behind the result that the physical equipment of receiving the I/O unit transmission returns, and by calling the testing procedure of storing in the encapsulation unit, the packaging information of comparison procedure, relatively receives the result and the test result that presets of physical equipment feedback.
Log unit is used for according to the test report template of encapsulation in advance testing procedure and comparative result being carried out record, generates test report, and described test report is sent to I/O unit.
Wherein, this system further comprises: mapping constraint storage unit;
The mapping restriction relation that mapping constraint storage unit is used to store physical equipment information, interface and logical device, interface;
Facility information, annexation on the storage logical concept of storing in physical equipment information, annexation and the logical device storage unit that map unit is used for the physical equipment storage unit is stored are shone upon, form corresponding mutually relation, and this corresponding relation is sent to performance element; Also be used for shining upon and searching carrying out restriction relation that mapping process stores in further by mapping constraint storage unit.
Wherein, map unit further comprises independent map unit;
Separately map unit is used for after I/O unit receives described mapping directive, and the logical device of appointment in the order is mapped to physical equipment one by one.
Above technical scheme as can be seen, because physical equipment is encapsulated, shielded the difference between each equipment, will be with case script with after the actual physical test environment separates, finished the test case script by mapping function and just may operate on the new environment, improved the portability and the utilization factor of test case script, and improved the efficient of writing of script without any need for transplanting work, make the executive mode of script obtain enriching, the life cycle of script is more permanent.
Further the present invention is by encapsulating testing procedure, comparison procedure, test report, make the output of in carrying out the process of test command, carrying out test log automatically, make the user can access unified test record, can further improve the speed of user's compile script.
Description of drawings
Fig. 1 is the first embodiment of the invention process flow diagram;
Fig. 2 is the second embodiment of the invention process flow diagram;
Fig. 3 is the system schematic of first embodiment of the invention;
Fig. 4 is the system schematic of second embodiment of the invention.
Embodiment
The invention provides a kind of automatic test method and be used for the system of test automatically, the present invention is by encapsulating physical equipment, and will title, the annexation of title, annexation and the logical device of physical equipment be mapped by the method for mapping, make the test script and the test environment of reality be separated, and make and in the process of writing the test case script, can raise the efficiency, be convenient to transplant.
Specify implementation procedure of the present invention below by embodiment.
Before carrying out testing procedure, need be to doing some preliminary works.
At first need inhomogeneous equipment is encapsulated, shield the difference between each equipment.
Said herein encapsulation is meant, configuration order, performance parameter between the different classes of product of data communications equipment are different, but on function, a lot of places are again identical, for script be may operate on the distinct device, encapsulate for some atomic commands commonly used on the one hand,, need 3 as on equipment, creating a port, 4 row configuration orders just can be finished, through encapsulation, become a script sentence, improve the script tempo of development greatly; On the other hand, by distinct device order identical functions is encapsulated, shield difference between each equipment, restart function as finishing equipment equally, the order difference of distinct device correspondence is by being packaged into identical statement, the script that reaches distinct device can be shared, and reuses.
Because of being encapsulated as the known content of prior art, be not described in detail at this.
Information and annexation with physical equipment is described and is stored in the system again.The concrete manifestation form of this part is the test envelope file, and test envelope file description one overlaps characteristic, access method and the link information between them of all devices in the test environment independently.A plurality of separate test environments are described with different test envelope files.
The test envelope file has and comprises following three aspects:
1. variable part; This part is used for describing the variable that changes according to test envelope in the test case, and as equipment under test type etc., these variablees can directly use in the test case script.
As [variable]
Varl=valuel
2. device description part: describe each physical equipment information, comprise type, access path information, original configuration information, interface board or type of slots, interface list, physical equipment title etc.
As [DEBICE_NAME].
3. connect and describe part: describe the link information between physical equipment.Interface name can be used and write a Chinese character in simplified form, and system can come completion according to a predefined matching order automatically.The interface command of testing tool will meet the interface command standard of testing tool.
Secondly, the title and the annexation of logical device need be described and be stored in the system.The concrete manifestation form of this part is the logical topology file.The logical topology file is to describe some equipment that need use (interface) and link information between them in the cover test environment with logical name.Purpose is in order to solve test case topology (comprising logical device and interface) to be mapped to test envelope in the actual test environment, i.e. our physical equipment information above-mentioned and annexation.
In the further information of Storage Mapping constraint in some cases.The mapping constraint is in the annexation that further retrains on the basis of logical topology file between physical equipment and the logical device, for example specifically is mapped to which class interface of physical equipment or the like.After the information that this part mapping constraint has been arranged, just need in Topological Mapping, further detect the information of this mapping constraint in the process that follow-up realization is tested automatically, further logical device is matched physical equipment by the mapping constraint information.
In general shining upon restriction relation has following several:
1. the corresponding relation of specified portions logical device, annexation and physical equipment, annexation;
2. designated equipment type, support the plurality of devices type choose and without certain device type;
3. specify annexation, be the specified interface type, support the multiple interfaces type choose and without certain interface type;
4. the interface board type at specified interface place, specified interface type, encapsulated type, structure binding simultaneously.
More than finishing, just can begin after several preliminary works to realize having tested.
Referring to Fig. 1, for this law realizes the process of test automatically:
Step 101: user's input test order;
The relation and the testing procedure that include logical device title, connection in this order.
And both test script of test case of the concrete form of expression of described order.As follows, this script comprises three aspects: 1. test case essential information; 2. Topological Mapping; 3. test process is described.
#!!==============================
<TESTCASE_BEGIN>
<TESTCASE_HEADER_BEGIN>
<TITLE〉" title "
<INDEX〉" numbering "
<LEVEL〉" rank "
<MODULE〉" affiliated module "
<TYPE〉" type "
<AUTHOR〉" author "
<VERSION〉" version "
<DESIGN〉" Test Design "
<TESTCASE_HEADER_END>
<TESTCASE_DEVICE_MAP_BEGIN>
<MAP>
<TESTCASE_DEVICE_MAP_END>
<STEP〉" step 1 "
Configuration
Check
<STEP〉" step 2 "
Configuration
Check
<TESTCASE_END>
#!!==================================
1. the test case essential information partly is to describe the essential information of test case, comprise title, numbering, rank, affiliated module, type, author, version, be fit to condition, script dependence, Test Design or the like important test case topology information, be exactly above in institute's array structure from<TESTCASE_HEADER_BEGIN to<TESTCASE_HEADER_END part.
2. Topological Mapping.What describe in the test case essential information all is some essential informations, and during test case script actual motion, must correspond to logical device of using and annexation on the physical equipment and annexation of actual test environment in test process.The Topological Mapping of test case script is exactly to finish the function of mapping so, is about to content in the above-mentioned logical topology file and the content in the test envelope and shines upon.
The concrete manifestation form of Topological Mapping be in the said structure from<TESTCASE_DEVICE_MAP_BEGIN to<TESTCASE_DEVICE_MAP_END in the middle of content.
And Topological Mapping can realize by dual mode:
A kind of is the manual corresponding relation of specifying, and under this mode, the tester need specify logical device one by one and be connected to physical equipment and the corresponding relation that is connected.
Another is automatic coupling, and in this manner, system can map out satisfactory physical equipment and annexation automatically according to the demand of describing herein in actual environment.
When the with good grounds mapping constraint of demand is shone upon, so just the information that need retrain by the mapping of storage is in advance searched for.
3. test process is described.
Present most test process is all realized by operation and inspection, an operation and the synthetic testing procedure of inspection group, and therefore a test case is formed by one or more testing procedures.
The concrete manifestation form that test process is described is with reference to above-mentioned test case script, promptly
#!!============================
<STEP〉" step 1 "
Configuration
Check
<STEP〉" step 2 "
Configuration
Check
#!!============================
Each testing procedure is from<STEP〉statement, the end of a testing procedure is with the next one<STEP〉statement or<TESTCASE_END statement.<STEP〉parameter of back is description and the operation to this step.
Step 102: after system receives the test command of input,, logical device information, annexation and physical equipment information, annexation are shone upon according to the instruction of the Topological Mapping in the test command.
When being the finger prosthesis timing, then will manually specify logical device and annexation to shine upon one by one; When being when mating automatically, then system all carries out logical mappings with all logical device information, annexation.
And, need in the mapping restriction relation that presets, further map out the information and the annexation of physical equipment this moment so if when input test is with case script, specified the mapping constraint.
Step 103: the physical equipment information in the test environment that system obtains according to mapping function also searches out the command format of testing procedure corresponding to each physical equipment, described testing procedure is sent to the physical equipment that maps out.
Step 104: after physical equipment receives test command, carry out test action according to the test process of describing in the test case script.
For realizing above-mentioned method, the present invention also provides the system corresponding to this method.
Referring to Fig. 3, this system comprises: I/O unit 301, encapsulation unit 302, physical equipment storage unit 303, logical device storage unit 304, map unit 305, performance element 306;
What I/O unit 301 was used to receive user's input comprises logical device title and the mapping directive that is connected, and will order be sent to each physical equipment by the corresponding relation of performance element feedback and the command format of each physical equipment needs;
Encapsulation unit 302 is used for different physical equipments is encapsulated, and stores the command format that each physical equipment needs;
Physical equipment storage unit 303 is used to store the title and the annexation of physical equipment;
Logical device storage unit 304 is used for stored logic device name and annexation;
Logical device title, the annexation of storing in physical equipment information, annexation and the logical device storage unit that map unit 305 is used for the physical equipment storage unit is stored are shone upon, form corresponding mutually relation, and this corresponding relation is sent to performance element;
Performance element 306 is used for physical equipment title, annexation and the logical device title that finds by map unit, the corresponding relation of annexation, correspondingly to the encapsulation unit find the command format that each physical equipment needs, and the command format of corresponding relation and each physical equipment needs is sent to I/O unit.
According to the content of describing in the method, if need shine upon constraint, native system also comprises mapping constraint storage unit 307 so;
The mapping restriction relation that mapping constraint storage unit 307 is used to store physical equipment information, interface and logical device, interface.
This mapping restriction relation comprises:
1. the corresponding relation of specified portions logical device, annexation and physical equipment, annexation;
2. designated equipment type, support the plurality of devices type choose and without certain device type;
3. specify annexation, be the specified interface type, support the multiple interfaces type choose and without certain interface type;
4. the interface board type at specified interface place, specified interface type, encapsulated type, structure binding simultaneously.
According to the content of describing in the method, when carrying out the craft mapping, native system also comprises independent map unit 308 except comprising I/O unit 301, encapsulation unit 302, physical equipment storage unit 303, logical device storage unit 304, map unit 305, performance element 306, mapping constraint storage unit 307;
Separately map unit 308 is used for after I/O unit receives described mapping directive, and the logical device of appointment in the order is mapped to physical equipment one by one.
Referring to Fig. 2 is another embodiment of the present invention process flow diagram.
In order better to embody the meaning of test, before carrying out testing procedure, except inhomogeneous equipment is encapsulated, shield outside the difference between each equipment, again test process is encapsulated, comprising testing procedure, comparison procedure, test report template are encapsulated, and store the test result that sets in advance, make and to export test report complete, standard when system tests automatically.
Testing procedure, comparison procedure, three kinds of encapsulation of test report template are all belonged to abstract to test process herein.The encapsulation of testing procedure is meant, in finishing a test process, and some steps of man-made division usually, per step is finished a function, and will distinguish these steps when forming test record, needs to skip certain testing procedure sometimes again, to the encapsulation of testing procedure, can be conveniently to its operation.The encapsulation of comparing process is meant, the comparison procedure of some test results commonly used is packaged into function, in the time of use, run into identical compare operation without everyone and all write the script of finishing similar functions, but directly from function library, call.The encapsulation of test report template is meant, the test report form is unified and formed canonical function, and the user more pays close attention to test, and does not spend the report spended time of making a living into specific format, only the data of needs output are filled up in the parameter as requested, report generates automatically.
Step 201: user's input test order;
Logical device title in this order in comprising embodiment 1 and the relation that is connected and some other information, also include the order of exporting test report.
The concrete manifestation form of this order the same with described in the embodiment 1 is not repeated at this.
Step 202: after system receives the test command of input,, logical device information, annexation and physical equipment information, annexation are shone upon according to the instruction of the Topological Mapping in the test command.
When being the finger prosthesis timing, then will manually specify logical device and annexation to shine upon one by one; When being when mating automatically, then system all carries out logical mappings with all logical device information, annexation.
And, need in the mapping restriction relation that presets, further map out the information and the annexation of physical equipment this moment so if when input test is with case script, required the mapping constraint.
Step 203: physical equipment information, annexation in the test environment that system obtains according to mapping function are sent to test command on the described physical equipment.
Step 204: physical equipment sends to system with the result after whenever executing a testing procedure, system by calling test process encapsulation and the encapsulation of comparison procedure physical equipment result who returns and the test result that presets are compared, test report template according to encapsulation in advance carries out record to each testing procedure and comparative result, generates test report.
Corresponding to this method, the present invention also provides a kind of system, referring to Fig. 4, this system comprises: I/O unit 401, encapsulation unit 402, physical equipment storage unit 403, logical device storage unit 404, map unit 405, performance element 406, log unit 409, comparing unit 410;
I/O unit 401 be used to receive user's input comprise the logical device title with the mapping directive that is connected or be used to receive include the logical device title and be connected, and the reception physical equipment whenever execute the result who returns behind the testing procedure and also this result who returns be sent to comparing unit; Also be used for the test report that the output journal unit generates;
Physical equipment storage unit 403 is used to store the information and the annexation of physical equipment;
Logical device storage unit 404 is used for notional facility information of stored logic and annexation;
Logical device title, the annexation of storing in physical equipment information, annexation and the logical device storage unit that map unit 405 is used for the physical equipment storage unit is stored are shone upon, form corresponding mutually relation, and this corresponding relation is sent to performance element;
Comparing unit 410 is used for after receiving the physical equipment feedack that performance element sends, and by calling the testing procedure of storing in the encapsulation unit, the packaging information of comparison procedure, relatively receives physical equipment feedack and the test result of storing in advance.
According to the content of describing in the method, if need shine upon constraint, native system also comprises mapping constraint storage unit 407 so;
The mapping restriction relation that mapping constraint storage unit 407 is used to store physical equipment information, interface and logical device, interface.
This mapping restriction relation comprises:
1. the corresponding relation of specified portions logical device, annexation and physical equipment, annexation;
2. designated equipment type, support the plurality of devices type choose and without certain device type;
3. specify annexation, be the specified interface type, support the multiple interfaces type choose and without certain interface type;
4. the interface board type at specified interface place, specified interface type, encapsulated type, structure binding simultaneously.
According to the content of describing in the method, when carrying out the craft mapping, native system also comprises independent map unit 408 except comprising I/O unit 401, encapsulation unit 402, physical equipment storage unit 403, logical device storage unit 404, map unit 405, performance element 406, mapping constraint storage unit 407, log unit 409, comparing unit 410;
Separately map unit 408 is used for after I/O unit receives described mapping directive, and the logical device of appointment in the order is mapped to physical equipment one by one.
More than a kind of realization automatic test method provided by the present invention and system are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (9)
1, a kind of realization automatic test method is characterized in that, this method comprises:
Create test logical device title, connection between the described logical device and testing procedure;
Obtain the annexation between physical equipment title and the physical equipment;
Described logical device and described physical equipment are shone upon, obtain the command format of the discernible testing procedure of physical equipment;
The testing procedure that logical device will be realized is sent to the physical equipment that shines upon with this logical device, and physical equipment is carried out described testing procedure.
2, realization automatic test method according to claim 1, it is characterized in that, creating test logical device title, before the connection and testing procedure between the described logical device, different physical equipments is encapsulated, and the information of the physical equipment of configuration packages and annexation, and the logical device title and the logic connecting relation of described physical equipment correspondence.
3, realization automatic test method according to claim 2, it is characterized in that, use the logical device title in the establishment test, before the connection and testing procedure between the described logical device, further testing procedure, comparison procedure, test report template are encapsulated;
Further comprise the instruction of exporting test report in the described testing procedure;
Physical equipment sends to system with the result after whenever executing a testing procedure, system by calling test process encapsulation and the encapsulation of comparison procedure physical equipment result who returns and the test result that presets are compared, test report template according to encapsulation in advance carries out record to each testing procedure and comparative result, generates test report.
4, realization automatic test method according to claim 2, it is characterized in that, information and annexation at the physical equipment of configuration packages, and the logical name of described physical equipment correspondence is during with annexation, the mapping restriction relation of further configures physical device name, annexation and logical device title, annexation;
Further carry out the mapping of physical equipment in shining upon carrying out described logical device and described physical equipment according to the mapping restriction relation that presets.
5, according to the arbitrary described realization automatic test method of claim 1 to 4, it is characterized in that, carry out described logical device and mapping that described physical equipment carries out and be specially one-to-one relationship by artificial craft and/or system match described logical device title automatically, logical device is connected to be connected with physical equipment with the physical equipment title.
6, a kind of system of test automatically that realizes is characterized in that this system comprises: I/O unit, encapsulation unit, physical equipment storage unit, logical device storage unit, map unit, performance element;
What I/O unit was used to receive user's input comprises logical device title and the mapping directive that is connected, and will order be sent to each physical equipment by the corresponding relation of performance element feedback and the command format of each physical equipment needs;
Encapsulation unit is used for different physical equipments is encapsulated, and stores the command format that each physical equipment needs;
The physical equipment storage unit is used to store the title and the annexation of physical equipment;
The logical device storage unit is used for stored logic device name and annexation;
Logical device title, the annexation of storing in physical equipment information, annexation and the logical device storage unit that map unit is used for the physical equipment storage unit is stored are shone upon, form corresponding mutually relation, and this corresponding relation is sent to performance element;
Performance element is used for the corresponding relation by physical equipment title, annexation and logical device title, annexation, correspondingly to the encapsulation unit find the command format that each physical equipment needs, and the command format of corresponding relation and each physical equipment needs is sent to I/O unit.
7, the system of the automatic test of realization according to claim 6 is characterized in that this system further comprises: comparing unit, log unit;
I/O unit be used to receive user's input comprise the logical device title with the mapping directive that is connected or be used to receive include the logical device title and be connected, and the reception physical equipment whenever execute the result who returns behind the testing procedure and also this result who returns be sent to comparing unit; Also be used for the test report that the output journal unit generates;
Encapsulation unit is used for different physical equipments is encapsulated, and stores the command format that each physical equipment needs, and also is used for testing procedure, comparison procedure, test report are encapsulated, and stores the test result that presets;
Comparing unit is used for behind the result that the physical equipment of receiving the I/O unit transmission returns, and by calling the testing procedure of storing in the encapsulation unit, the packaging information of comparison procedure, relatively receives the result and the test result that presets of physical equipment feedback.
Log unit is used for according to the test report template of encapsulation in advance testing procedure and comparative result being carried out record, generates test report, and described test report is sent to I/O unit.
8, the system that tests automatically according to claim 6,7 arbitrary described realizations is characterized in that this system further comprises: mapping constraint storage unit;
The mapping restriction relation that mapping constraint storage unit is used to store physical equipment information, interface and logical device, interface;
Facility information, annexation on the storage logical concept of storing in physical equipment information, annexation and the logical device storage unit that map unit is used for the physical equipment storage unit is stored are shone upon, form corresponding mutually relation, and this corresponding relation is sent to performance element; Also be used for shining upon and searching carrying out restriction relation that mapping process stores in further by mapping constraint storage unit.
9, the system that tests automatically according to claim 6,7 arbitrary described realizations is characterized in that map unit further comprises independent map unit;
Separately map unit is used for after I/O unit receives described mapping directive, and the logical device of appointment in the order is mapped to physical equipment one by one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610168092XA CN100437513C (en) | 2006-12-18 | 2006-12-18 | Method and system for implementing automatic testing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610168092XA CN100437513C (en) | 2006-12-18 | 2006-12-18 | Method and system for implementing automatic testing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1996265A true CN1996265A (en) | 2007-07-11 |
CN100437513C CN100437513C (en) | 2008-11-26 |
Family
ID=38251363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200610168092XA Expired - Fee Related CN100437513C (en) | 2006-12-18 | 2006-12-18 | Method and system for implementing automatic testing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100437513C (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330412B (en) * | 2008-07-29 | 2011-01-19 | 中兴通讯股份有限公司 | Automatization test approach and system based on topological discovery |
CN102591773A (en) * | 2011-12-23 | 2012-07-18 | 广东电网公司电力科学研究院 | Automatic evaluation method for operation system security in classified protection evaluation and system thereof |
CN103248722A (en) * | 2012-02-14 | 2013-08-14 | 西门子公司 | Method and configuration component for allocating a station name to components of an industrial automation assembly |
CN104360951A (en) * | 2014-12-09 | 2015-02-18 | 迈普通信技术股份有限公司 | Script testing method and device |
CN104778118A (en) * | 2013-12-30 | 2015-07-15 | 深圳键桥通讯技术股份有限公司 | Improvement method for automatic testing technology |
CN107124326A (en) * | 2017-04-05 | 2017-09-01 | 烽火通信科技股份有限公司 | A kind of automated testing method and system |
CN107786382A (en) * | 2016-08-29 | 2018-03-09 | 迈普通信技术股份有限公司 | Interface system of selection, device, test console and test system |
CN118301059A (en) * | 2024-06-03 | 2024-07-05 | 中国电子科技集团公司第三十研究所 | Test topology and physical topology mapping method of entity network test bed |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7093238B2 (en) * | 2001-07-27 | 2006-08-15 | Accordsqa, Inc. | Automated software testing and validation system |
CN1529466A (en) * | 2003-09-29 | 2004-09-15 | 港湾网络有限公司 | Network device automatic measuring method |
CN100356738C (en) * | 2005-07-29 | 2007-12-19 | 杭州华三通信技术有限公司 | Automatization testing frame system and method |
CN100370434C (en) * | 2005-11-01 | 2008-02-20 | 华为技术有限公司 | Method and system for realizing software automatic test |
-
2006
- 2006-12-18 CN CNB200610168092XA patent/CN100437513C/en not_active Expired - Fee Related
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330412B (en) * | 2008-07-29 | 2011-01-19 | 中兴通讯股份有限公司 | Automatization test approach and system based on topological discovery |
CN102591773A (en) * | 2011-12-23 | 2012-07-18 | 广东电网公司电力科学研究院 | Automatic evaluation method for operation system security in classified protection evaluation and system thereof |
CN103248722A (en) * | 2012-02-14 | 2013-08-14 | 西门子公司 | Method and configuration component for allocating a station name to components of an industrial automation assembly |
US9325574B2 (en) | 2012-02-14 | 2016-04-26 | Siemens Aktiengesellschaft | Method and configuration component for assigning a station name to components of an industrial automation arrangement |
CN104778118A (en) * | 2013-12-30 | 2015-07-15 | 深圳键桥通讯技术股份有限公司 | Improvement method for automatic testing technology |
CN104778118B (en) * | 2013-12-30 | 2018-08-28 | 深圳键桥通讯技术股份有限公司 | The improved method of automatization testing technique |
CN104360951A (en) * | 2014-12-09 | 2015-02-18 | 迈普通信技术股份有限公司 | Script testing method and device |
CN104360951B (en) * | 2014-12-09 | 2017-09-29 | 迈普通信技术股份有限公司 | A kind of script method of testing and device |
CN107786382A (en) * | 2016-08-29 | 2018-03-09 | 迈普通信技术股份有限公司 | Interface system of selection, device, test console and test system |
CN107124326A (en) * | 2017-04-05 | 2017-09-01 | 烽火通信科技股份有限公司 | A kind of automated testing method and system |
CN107124326B (en) * | 2017-04-05 | 2020-05-05 | 烽火通信科技股份有限公司 | Automatic testing method and system |
CN118301059A (en) * | 2024-06-03 | 2024-07-05 | 中国电子科技集团公司第三十研究所 | Test topology and physical topology mapping method of entity network test bed |
Also Published As
Publication number | Publication date |
---|---|
CN100437513C (en) | 2008-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100437513C (en) | Method and system for implementing automatic testing | |
CN101867501B (en) | Method and system for automatically testing consistence of SNMP (Simple Network Management Protocol) interface information model | |
CN102023861A (en) | Method and system for generating test script and test suite | |
CN102118281B (en) | Method, device and network equipment for automatic testing | |
CN105760296B (en) | Automatic test control method, device and terminal | |
US10354031B2 (en) | Information processing by interpenetrating signal transmission channel in design for testability of chip | |
CN109062777A (en) | A kind of track traffic signal equipment general automation test macro | |
CN105068929A (en) | Test script generation method, test script generation device, testing method, testing device and testing system | |
CN104679488A (en) | Flow path customized development platform and method | |
CN102375778A (en) | Method and system for automatically testing digital signal processor (DSP) | |
CN110134400A (en) | Data capture method, device, electronic equipment and computer readable storage medium | |
CN106126528B (en) | A kind of moonlet test basic information generation method based on platform model | |
CN103412820A (en) | Test method and tester for pages in Web system | |
CN104750606A (en) | Reflection-based automated testing method | |
CN104699613B (en) | A kind of spacecraft-testing demand automatic creation system and its method | |
CN101221504B (en) | Test script scheduling executing system | |
CN100561476C (en) | A kind of code generating method based on the ASN type object | |
CN103605606B (en) | A kind of embedded software test use-case batch execution method that can automatically change | |
CN107451060A (en) | A kind of across mobile terminal automated test frame system | |
CN108984393A (en) | A kind of unit testing code automatic generation method and device | |
CN106598834A (en) | UI (User Interface) testing method and device | |
CN109783340A (en) | Test code programming method, IP test method and the device of SoC | |
CN103984769A (en) | Use-case data management and storage method | |
CN106646315A (en) | Automatic testing system and automatic testing method for digital measuring instruments | |
CN105933767A (en) | Middleware device, middleware realization method and television set |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081126 Termination date: 20121218 |