CN102455958A - Test system - Google Patents
Test system Download PDFInfo
- Publication number
- CN102455958A CN102455958A CN2010105140217A CN201010514021A CN102455958A CN 102455958 A CN102455958 A CN 102455958A CN 2010105140217 A CN2010105140217 A CN 2010105140217A CN 201010514021 A CN201010514021 A CN 201010514021A CN 102455958 A CN102455958 A CN 102455958A
- Authority
- CN
- China
- Prior art keywords
- test
- tested end
- module
- webpage
- tested
- 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
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a test system, which comprises at least one tested end and a test end, wherein the test end is connected with the tested end; a plurality of preset hardware types and a plurality of preset hardware setting files which correspond to the preset hardware types are stored at the test end; the test end judges whether the type of the tested end is one of the preset hardware types; when the type of the tested end is one of the preset hardware types, the test end acquires a tested end hardware setting file which corresponds to the type of the tested end from the preset hardware setting files; the test end generates at least one tested end test item according to the tested end hardware setting file; and the test end performs the at least one tested end test item on the tested end.
Description
Technical field
The invention relates to a kind of test macro.
Background technology
Along with the high development of Information technology, the application of computer hardware device is also healed and is become universal.These computer hardware devices comprise the display card that makes display data on the screen, make network card of sound card that computing machine sounds etc. and connected network etc.With the network card is example, and network card is the bridge that main frame and the Internet are linked up, if there is not network card, then main frame just can't link and surfs the Internet.
When these computer hardware devices complete, need one to overlap function and the usefulness that method of testing is tested these hardware units.For example, when the test network card, can launch network card earlier, confirm then whether main frame can link to surf the Internet, and link and go up the spent time of network, verify the function and the usefulness of network card.
Prior art is when these computer hardware devices of test; Need the hardware setting file of detecting computer hardware device earlier, like model, the error detection mode of being supported, the error correction mode of being supported or other hardware related setting file of CPU (Central Processing Unit).Yet the detecting hardware setting often causes the computer hardware device start slowly, thereby needs the long test duration.
Summary of the invention
Therefore, the object of the present invention is to provide a kind of test macro.
An embodiment of the present invention is that a kind of test macro is being provided, and in order to when having the hardware setting file of tested end, according to the hardware setting file of the tested end that has had, tested end is tested, and do not detected the hardware setting of tested end again.Test macro comprises an at least one tested end and a test lead.Test lead and tested end are set up and are linked.Tested end has a tested end model.Test lead comprises a hardware menu, a model judge module, an enactment document and obtains module, a test event generation module and a testing execution module.The hardware menu has several preset ardware model numbers and corresponding to several preset hardware setting files of each preset ardware model number.The model judge module judges that whether tested end model is one of them of preset ardware model number.When tested end model was one of them of preset ardware model number, enactment document was obtained module from being stored in the preset hardware setting file of hardware menu, obtains the tested end hardware setting file corresponding to tested end model.The test event generation module produces at least one tested end test event according to tested end hardware setting file.Testing execution module is carried out at least one tested end test event to tested end.
According to one embodiment of the invention, test lead also can comprise a hardware detection module, in order to when tested end model is not one of them of preset ardware model number, tested end is detected, to obtain the tested end hardware setting file of tested end.In addition, test lead also can comprise an enactment document writing module, and the tested end hardware setting file in order to the hardware detection module is obtained writes the hardware menu.
According to another embodiment of the present invention, test lead also can comprise a webpage provides module, in order to a test webpage to be provided.Wherein when tested end being carried out at least one tested end test event, testing execution module can regularly return present detecting information a to webpage module is provided, and makes webpage provide module with present detecting information whereby, is shown in the test webpage.In addition, the test event generation module can provide several optional test event to webpages that module is provided according to tested end hardware setting file.Webpage provides module that optional test event is shown in the test webpage, sees through the test webpage whereby, produce one select signal with select optional test event at least one of them, as at least one tested end test event.
According to another embodiment of the present invention, test lead also can comprise a test result data storehouse and a test result generation module.The test result generation module produce a test result, and stores test results is to the test result data storehouse after tested end being carried out at least one tested end test event.
According to another embodiment of the present invention, test lead also can comprise an arranging module, in order to when at least one tested end test event is several, tested end test event is carried out scheduling, to produce a tested end test event ordering.So testing execution module sorts according to tested end test event, tested end is carried out tested end test event.
Another embodiment of the present invention is that a kind of test macro is being provided, and comprises:
At least one tested end has a tested end model; And
One test lead is set up binding with this tested end, comprises:
One hardware menu has a plurality of preset ardware model numbers and corresponding to a plurality of preset hardware setting file of those preset ardware model numbers;
One model judge module judges that whether this tested end model is one of them of those preset ardware model numbers;
One enactment document is obtained module, when this tested end model is one of them of those preset ardware model numbers, is stored in certainly in those preset hardware setting files of this hardware menu, obtains the tested end hardware setting file corresponding to this tested end model;
One hardware detection module when this tested end model is not one of them of those preset ardware model numbers, is detected this tested end, to obtain this tested end hardware setting file of this tested end;
One enactment document writing module, this tested end hardware setting file with this hardware detection module is obtained writes this hardware menu;
One webpage provides module, and a test webpage is provided;
One test event generation module; According to this tested end hardware setting file; Provide a plurality of optional test events to this webpage that module is provided, this webpage provides module that those optional test events are shown in this test webpage, sees through this test webpage whereby and produces a selection signal; With select those optional test events at least one of them, as at least one tested end test event;
One testing execution module; This tested end is carried out this at least one tested end test event; Wherein when this tested end being carried out this at least one tested end test event; This testing execution module regularly returns present detecting information to this webpage module is provided, and makes this webpage provide the module should present detecting information whereby, is shown in this test webpage;
One test result data storehouse;
One test result generation module after tested end is carried out this at least one tested end test event to this, produces a test result, and stores this test result to this test result data storehouse; And
One arranging module; When being a plurality of, those tested end test events are carried out scheduling in this at least one tested end test event, to produce a tested end test event ordering; Make this testing execution module according to this tested end test event ordering whereby, this tested end is carried out those tested end test events.
Can know by the invention described above embodiment, use the present invention and have advantage.When the hardware setting file of tested end has been stored in the hardware menu, can be directly according in the hardware menu corresponding to the hardware setting file of tested end model, tested end is tested.Therefore, can save the time of the hardware setting file of the tested end of detecting.In addition, when in the hardware menu, not having the hardware setting file of tested end, still can detect the hardware setting file of tested end earlier, with foundation as the tested end of test.In addition, can or provide test relevant operation through a test web displaying detecting information.Wherein, because webpage compatible high and be easy to see through Network Transmission, test therefore that webpage can show or be sent to long-range through network on this machine of test lead.
Description of drawings
For letting above and other objects of the present invention, characteristic, advantage and the embodiment can be more obviously understandable, the explanation of appended accompanying drawing be following:
Fig. 1 is the functional block diagram according to a kind of test macro of an embodiment of the present invention.
[primary clustering symbol description]
100: tested end 207: testing execution module
200: test lead 208: webpage provides module
201: hardware menu 209: the test result data storehouse
202: model judge module 210: the test result generation module
203: enactment document is obtained module 211: arranging module
204: hardware detection module 212: display module
205: enactment document writing module 213: the network communication assembly
206: test event generation module 300: network
Embodiment
Below will clearly demonstrate spirit of the present invention with accompanying drawing and detailed description; Has common knowledge the knowledgeable under any in the technical field after understanding preferred embodiment of the present invention; When can be by the technology of teachings of the present invention, change and modification, it does not break away from spirit of the present invention and scope.
Please with reference to Fig. 1, it is the functional block diagram according to a kind of test macro of an embodiment of the present invention.When the test lead of test macro had had the hardware setting file of tested end, test lead was tested tested end, and is not detected the hardware setting of tested end again according to the hardware setting file of the tested end that has had.
Test macro comprises an at least one tested end 100 and a test lead 200.Test lead 200 is set up with tested end 100 and is linked.Wherein, tested end 100 can be computer hardware device or other electronic installation.Test lead 200 can be the device different with tested end 100.In addition, test lead 200 also can be a test procedure that is installed on tested end 100.Tested end 100 has a tested end model.Test lead 200 comprises a hardware menu 201, a model judge module 202, an enactment document and obtains module 203, a test event generation module 206 and a testing execution module 207.Hardware menu 201 has several preset ardware model numbers and corresponding to several preset hardware setting files of each preset ardware model number.Wherein, preset hardware setting file can comprise model, the error detection mode of being supported, the error correction mode of being supported or other hardware related setting file of the CPU (Central Processing Unit) of preset ardware model number.
In addition, can, hardware menu 201 detect the hardware setting of tested end 100 when not having the hardware setting file corresponding to tested end model.Therefore, test lead 200 also can comprise a hardware detection module 204, in order to when tested end model is not one of them of preset ardware model number, tested end 100 is detected, to obtain the tested end hardware setting file of tested end 100.So test event generation module 206 can produce tested end test event according to the tested end hardware setting file of being detected, supply 207 pairs of tested ends 100 of testing execution module to carry out.Thus, even hardware menu 201 does not have the hardware setting file of tested end 100, test lead 200 still can be tested tested end 100.In addition, test lead 200 also can comprise an enactment document writing module 205, and the tested end hardware setting file in order to hardware detection module 204 is obtained writes hardware menu 201.Thus, when the device of next time test and tested end 100 same model, test lead 200 can be tested through the hardware setting file that writes hardware menu 201.
In addition, when tested end 100 being carried out at least one tested end test event, testing execution module 207 can regularly return present detecting information a to webpage module 208 is provided.So webpage provides module 208 can present detecting information be shown in the test webpage.Wherein, at present detecting information can comprise the result of the test event of present testing progress, executed completions, test event that executed is accomplished or the information that other test is correlated with.
In addition, test event generation module 206 can provide several optional test event to webpages that module 208 is provided according to tested end hardware setting file.Webpage provides module 208 that optional test event is shown in the test webpage.So the user can see through the test webpage, select optional test event at least one of them, as at least one tested end test event, select signal to produce one.Thus, the user can see through test webpage, the test event of selecting desire that tested end 100 is carried out.
In the time will carrying out a plurality of test event to tested end 100, test lead 200 can carry out scheduling to test event.Therefore, test lead 200 also can comprise an arranging module 211, in order to when at least one tested end test event is several, tested end test event is carried out scheduling, to produce a tested end test event ordering.So testing execution module 207 sorts according to tested end test event, tested end 100 is carried out tested end test event.The execution sequence that thus, can make tested end test event is elasticity comparatively.In addition, when adopting different scheduling modes to sort, only need rewrite arranging module 211 like desire, and other module that need not change test lead 200.
Can know by the invention described above embodiment, use the present invention and have advantage.When the hardware setting file of tested end has been stored in the hardware menu, can be directly according in the hardware menu corresponding to the hardware setting file of tested end model, tested end is tested.Therefore, can save the time of the hardware setting file of the tested end of detecting.In addition, when in the hardware menu, not having the hardware setting file of tested end, still can detect the hardware setting file of tested end earlier, with foundation as the tested end of test.In addition, can or provide test relevant operation through a test web displaying detecting information.Wherein, because webpage compatible high and be easy to see through Network Transmission, test therefore that webpage can show or be sent to the device of long-range different platform or operating system through network on this machine of test lead.
Though the present invention discloses as above with embodiment; Right its is not in order to limit the present invention; Anyly be familiar with this art; Do not breaking away from the spirit and scope of the present invention, when can doing various changes and retouching, so protection scope of the present invention is as the criterion when looking the scope that appending claims defines.
Claims (8)
1. a test macro is characterized in that, comprises:
At least one tested end has a tested end model; And
One test lead is set up binding with this tested end, comprises:
One hardware menu has a plurality of preset ardware model numbers and corresponding to a plurality of preset hardware setting file of those preset ardware model numbers;
One model judge module judges that whether this tested end model is one of them of those preset ardware model numbers;
One enactment document is obtained module, when this tested end model is one of them of those preset ardware model numbers, is stored in certainly in those preset hardware setting files of this hardware menu, obtains the tested end hardware setting file corresponding to this tested end model;
One test event generation module according to this tested end hardware setting file, produces at least one tested end test event; And
One testing execution module is carried out this at least one tested end test event to this tested end.
2. test macro according to claim 1 is characterized in that, this test lead also comprises:
One hardware detection module when this tested end model is not one of them of those preset ardware model numbers, is detected this tested end, to obtain this tested end hardware setting file of this tested end.
3. test macro according to claim 2 is characterized in that, this test lead also comprises:
One enactment document writing module, this tested end hardware setting file with this hardware detection module is obtained writes this hardware menu.
4. test macro according to claim 1 is characterized in that, this test lead also comprises:
One webpage provides module; One test webpage is provided; Wherein when this tested end being carried out this at least one tested end test event; This testing execution module regularly returns present detecting information to this webpage module is provided, and makes this webpage provide the module should present detecting information whereby, is shown in this test webpage.
5. test macro according to claim 1 is characterized in that, this test lead also comprises:
One webpage provides module, and a test webpage is provided,
Wherein this test event generation module is according to this tested end hardware setting file; Provide a plurality of optional test events to this webpage that module is provided; This webpage provides module that those optional test events are shown in this test webpage; See through this test webpage whereby, produce one select signal with select those optional test events at least one of them, as this at least one tested end test event.
6. test macro according to claim 1 is characterized in that, this test lead also comprises:
One test result data storehouse; And
One test result generation module after tested end is carried out this at least one tested end test event to this, produces a test result, and stores this test result to this test result data storehouse.
7. test macro according to claim 1 is characterized in that, this test lead also comprises:
One arranging module; When being a plurality of, those tested end test events are carried out scheduling in this at least one tested end test event, to produce a tested end test event ordering; Make this testing execution module according to this tested end test event ordering whereby, this tested end is carried out those tested end test events.
8. a test macro is characterized in that, comprises:
At least one tested end has a tested end model; And
One test lead is set up binding with this tested end, comprises:
One hardware menu has a plurality of preset ardware model numbers and corresponding to a plurality of preset hardware setting file of those preset ardware model numbers;
One model judge module judges that whether this tested end model is one of them of those preset ardware model numbers;
One enactment document is obtained module, when this tested end model is one of them of those preset ardware model numbers, is stored in certainly in those preset hardware setting files of this hardware menu, obtains the tested end hardware setting file corresponding to this tested end model;
One hardware detection module when this tested end model is not one of them of those preset ardware model numbers, is detected this tested end, to obtain this tested end hardware setting file of this tested end;
One enactment document writing module, this tested end hardware setting file with this hardware detection module is obtained writes this hardware menu;
One webpage provides module, and a test webpage is provided;
One test event generation module; According to this tested end hardware setting file; Provide a plurality of optional test events to this webpage that module is provided, this webpage provides module that those optional test events are shown in this test webpage, sees through this test webpage whereby and produces a selection signal; With select those optional test events at least one of them, as at least one tested end test event;
One testing execution module; This tested end is carried out this at least one tested end test event; Wherein when this tested end being carried out this at least one tested end test event; This testing execution module regularly returns present detecting information to this webpage module is provided, and makes this webpage provide the module should present detecting information whereby, is shown in this test webpage;
One test result data storehouse;
One test result generation module after tested end is carried out this at least one tested end test event to this, produces a test result, and stores this test result to this test result data storehouse; And
One arranging module; When being a plurality of, those tested end test events are carried out scheduling in this at least one tested end test event, to produce a tested end test event ordering; Make this testing execution module according to this tested end test event ordering whereby, this tested end is carried out those tested end test events.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105140217A CN102455958A (en) | 2010-10-15 | 2010-10-15 | Test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105140217A CN102455958A (en) | 2010-10-15 | 2010-10-15 | Test system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102455958A true CN102455958A (en) | 2012-05-16 |
Family
ID=46039167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105140217A Pending CN102455958A (en) | 2010-10-15 | 2010-10-15 | Test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102455958A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760086A (en) * | 2012-07-06 | 2012-10-31 | 北京泛华恒兴科技有限公司 | Data detection control method and device based on flexible testing technology |
CN103716097A (en) * | 2012-10-01 | 2014-04-09 | 安立股份有限公司 | Mobile terminal test apparatus and mobile terminal test method |
CN105279058A (en) * | 2015-11-20 | 2016-01-27 | 英业达科技有限公司 | System test method |
CN109032862A (en) * | 2018-07-12 | 2018-12-18 | 江苏慧学堂系统工程有限公司 | A kind of computer system fault diagnosis system and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797366A (en) * | 2004-12-30 | 2006-07-05 | 英业达股份有限公司 | Method and system for testing computer platform |
CN101582038A (en) * | 2008-05-13 | 2009-11-18 | 英业达股份有限公司 | Installation method of operating system for test |
-
2010
- 2010-10-15 CN CN2010105140217A patent/CN102455958A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797366A (en) * | 2004-12-30 | 2006-07-05 | 英业达股份有限公司 | Method and system for testing computer platform |
CN101582038A (en) * | 2008-05-13 | 2009-11-18 | 英业达股份有限公司 | Installation method of operating system for test |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760086A (en) * | 2012-07-06 | 2012-10-31 | 北京泛华恒兴科技有限公司 | Data detection control method and device based on flexible testing technology |
CN102760086B (en) * | 2012-07-06 | 2016-06-08 | 北京泛华恒兴科技有限公司 | Data detection control method and device based on flexible test technology |
CN103716097A (en) * | 2012-10-01 | 2014-04-09 | 安立股份有限公司 | Mobile terminal test apparatus and mobile terminal test method |
CN103716097B (en) * | 2012-10-01 | 2015-12-02 | 安立股份有限公司 | Mobile terminal test device and mobile terminal test method |
CN105279058A (en) * | 2015-11-20 | 2016-01-27 | 英业达科技有限公司 | System test method |
CN109032862A (en) * | 2018-07-12 | 2018-12-18 | 江苏慧学堂系统工程有限公司 | A kind of computer system fault diagnosis system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102708050B (en) | Method and system for testing mobile application | |
CN111427803B (en) | Automated random test method, apparatus, computer device and medium | |
CN102810077B (en) | Abnormal hardware detecting method and device | |
CN105260299A (en) | Method, device, and system for software test | |
CN101738550B (en) | Electronic device test device and test method | |
CN102664925B (en) | A kind of method of displaying searching result and device | |
CN107678949B (en) | Automatic testing method for realizing different communication modes of embedded equipment | |
CN105335511A (en) | Webpage access method and device | |
CN107133165B (en) | Browser compatibility detection method and device | |
CN110011875B (en) | Dial testing method, device, equipment and computer readable storage medium | |
CN110442519B (en) | Crash file processing method and device, electronic equipment and storage medium | |
CN108111364B (en) | Service system testing method and device | |
CN104199701A (en) | Method and device for starting applications in browser | |
CN106126197A (en) | Make the method and device of the mobile terminal application page and PC end application page synchronization | |
CN102455958A (en) | Test system | |
CN105204912A (en) | Driver matching method and device | |
CN104809063A (en) | Test method and device of distributed system | |
CN102455965A (en) | Electronic device test system and method | |
CN106126517A (en) | The PC end application page is converted to the method and device of the mobile terminal application page | |
KR20100001836A (en) | Sever, method for managing learning environment by network service and computer readable record-medium on which program for executing method thereof | |
US8959209B1 (en) | Systems and methods to indicate compatibility | |
CN112527678A (en) | Method, apparatus, device and storage medium for testing protocol | |
CN102984229B (en) | For configuring the method and system of trust machine | |
US20150213783A1 (en) | Touch electronic device and touch link method | |
CN111931161B (en) | RISC-V processor based chip verification method, apparatus and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120516 |