CN102620746A - Navigator testing system - Google Patents
Navigator testing system Download PDFInfo
- Publication number
- CN102620746A CN102620746A CN2012100465423A CN201210046542A CN102620746A CN 102620746 A CN102620746 A CN 102620746A CN 2012100465423 A CN2012100465423 A CN 2012100465423A CN 201210046542 A CN201210046542 A CN 201210046542A CN 102620746 A CN102620746 A CN 102620746A
- Authority
- CN
- China
- Prior art keywords
- testing
- test
- module
- navigating instrument
- processing module
- 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
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a testing system and a testing method of a navigator. The testing system comprises the navigator with a testing server and a personal computer (PC) connected with the navigator and provided with a testing client. The testing server comprises an information processing module connected with a main control module of the navigator and a communication port module connected with the information processing module. The PC provided with the testing client comprises a testing main control module, a testing information processing module connected with the testing main control module and used for processing the testing server, a testing result analysis module connected with the testing information preprocessing module and used for analyzing the testing results and a script processing module used for processing a testing script. The aim of automated testing is achieved by automatically leading the testing client to send testing instructions to the testing server, so that labor cost is greatly reduced, testing coverage rate is higher, and testing is more complete and full. The testing system and the testing method give full play to the advantages of software itself and complete work which cannot be completed by human.
Description
Technical field
The present invention relates to a kind of navigating instrument test macro, refer in particular to a kind of navigational system test macro of robotization.
Background technology
Test for a navigational system of just having accomplished; Basically all be to adopt the manual testing at present; Though the manual testing can satisfy most demand, also aspect many, have significantly deficiency: 1. at first human cost is high, and the manpower test no doubt be unable to do without the input of manpower; In some complexities and repeated demanding test, the input of manpower is very tangible; 2. efficient is low, and speed is slow, and manually-operated efficient is low to be (as people's reaction, thinking etc.) slowly with speed because the defective that self can't evade; 3. through regular meeting the very high test environment of some complexities appears in the field of software test; Some test often needs the joint test of plurality of units module to be effective; Test such as performance and stable aspect; Need carry out the overlap test that media play, navigation way calculate, also have function such as map demonstration to use simultaneously, if at this moment be that single dependence manpower is tested, the details of possible some test will be held (media parameter, navigation setting etc.) not too easily; Will cause the inconsistent of test cases like this, thus cause test result to problem review can not certainty.For above-mentioned manual testing's deficiency, this just needs to adopt automatic test, and automatic test can be good at solving the existing variety of issue of manual testing, improves the efficient and the order of accuarcy of test greatly.
Summary of the invention
The present invention is directed to existing test and adopt the existing various deficiencies of manual testing, propose a kind of navigational system test macro of robotization for navigational system.
The technical scheme that realizes the object of the invention is: a kind of test macro of navigating instrument; Comprise navigating instrument and the PC that is connected with navigating instrument; Said navigating instrument is provided with the testing service end, comprises the message processing module that is connected with the navigating instrument main control module, the communications port module that is connected with message processing module.
Said PC is provided with test client, the script processing module that comprises the test main control module, handles testing service end and the detecting information pre-processing module of test client interactive information, the test result analysis module that is used for the analytical test result that is connected with the detecting information pre-processing module, is used to handle test script with being used to of testing that main control module is connected.
Said test client also is provided with the navigation simulation module that is used to realize the navigation simulation operation.
Said navigating instrument is connected with PC through USB.
The performing step of system is:
(1) the test main control module navigation appearance of test client initiatively sends linking request; When communications port module receives linking request; This linking request is delivered to message processing module; Message processing module is handled linking request; Comprise transmission, accept linking request and discharge link; After PC links successfully with navigator, this link of detecting information pretreatment module record;
(2) the testing service end of script processing module navigation appearance sends test instruction; The communications port module of testing service end is delivered to message processing module with order after receiving test instruction; Message processing module will carry out analyzing and processing to this test instruction, and the test instruction after will handling again is delivered to the navigating instrument main control module;
(3) after the navigating instrument main control module will be accomplished the operation of appointment according to the test instruction content, operating result is sent to test client by communications port module;
(4) after the detecting information pre-processing module on the PC is received operating result; Operation result information is sent to the test result analysis module; The test result analysis module will be resolved and classify operation result information; The instruction fetch of page operation in the operation result information and logic redirect is come out and is used to generate the test script of automatic playback, again the test script that generates is sent to the script processing module;
(5) the script processing module extracts the operational order of test script and instruction is sent to the testing service end of navigating instrument.
What the navigation simulation module was used to generate simulation can be used for manually-operated navigating instrument interface, and collects artificial operational order, and operational order is sent to navigating instrument.
Navigating instrument adopts socket to communicate by letter with communicating by letter of PC.
Communications port module adopts two communication linkage passages, and one is the reception instruction path, and one is the transmit operation data channel.
Said test script also comprises the test script of manual compiling.
Said test result analysis module generates test report according to behaviour's object information.
The present invention has positive effect: automatic test is used in (1), can greatly alleviate human cost.(2) use after the automatic test, the coverage rate of test is higher, tests complete more comprehensively.(3) through the advantage of software itself, can accomplish the incompetent work of manpower.
Description of drawings
Accompanying drawing 1 is formed structural representation for the present invention is whole.
Embodiment
For the ease of those skilled in the art's understanding, technical scheme of the present invention is made a detailed description below in conjunction with accompanying drawing and specific embodiment:
As shown in Figure 1, comprise navigating instrument and the PC that is connected with navigating instrument through USB.
Navigating instrument is provided with the testing service end, comprises the message processing module that is connected with the navigating instrument main control module, the communications port module that is connected with message processing module.
PC is provided with test client, comprises the script processing module and the navigation simulation module that is used to realize the navigation simulation operation of testing main control module, the detecting information pre-processing module, the test result analysis module that is used for the analytical test result that is connected with the detecting information pre-processing module that are used to handle testing service end and test client interactive information that are connected with the test main control module, being used to handle test script.
Current employing between testing service end and the test client is based on the socket communication mode of USB, and communications port module adopts two communication linkage passages, and one is the reception instruction path, and one is the transmit operation data channel.
The test main control module navigation appearance of test client initiatively sends linking request; When communications port module receives linking request; This linking request is delivered to message processing module; Message processing module sends it back the test main control module with this linking request and confirms link attribute (promptly realizing handshake procedure), and message processing module is accepted linking request after the success of shaking hands, and PC is set up with navigating instrument and linked.After PC links successfully with navigator, this link of detecting information pretreatment module record.Message processing module can also discharge link according to the actual requirements.
The testing service end that links successful this processing module of rear foot navigation appearance sends test instruction; The communications port module of testing service end is delivered to message processing module with order after receiving test instruction; Message processing module will carry out analyzing and processing to this test instruction, and the test instruction after will handling again is delivered to the navigator main control module; The navigator main control module will be sent to test client with operating result by communications port module after will accomplishing the operation of appointment based on the test instruction content.After test client detecting information pre-processing module is received operating result; Operation result information is sent to the test result analysis module; The test result analysis module will be resolved and classify operation result information; The instruction fetch of page operation in the operation result information and logic redirect is come out and is used to generate the test script of automatic playback, again the test script that generates is sent to the script processing module, simultaneously; The test result analysis module generates test report according to operation result information, so that the statistics abnormal occurrence.The script processing module with the test result analysis module the operational order in the test script of the test script that automatically generates or manual compiling extract and instruction sent to the testing service end of navigating instrument, transfer to navigating instrument and carry out.Preferably, more terse, efficient for script, the script technology that the present invention adopts is dynamic script PYTHON.
Whenever necessary; Can also can be used for manually-operated navigating instrument interface through what the navigation simulation module generated a simulation; The tester is at the navigating instrument interface operation of simulation, and the navigation simulation module is sent to navigating instrument after the operational order of manual work is collected, and realizes the simulated operation test to navigating instrument.
The not concrete functional module of introducing all can adopt functional module ripe in the prior art among the present invention, repeats no more at this.
Under the situation that does not deviate from spirit of the present invention and essence thereof, those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these changes and distortion all should belong to the protection domain of the appended claim of the present invention.
Claims (9)
1. the test macro of a navigating instrument; Comprise navigating instrument and the PC that is connected with navigating instrument; It is characterized in that: said navigating instrument is provided with the testing service end, and said testing service end comprises the message processing module that is connected with the navigating instrument main control module, the communications port module that is connected with message processing module;
Said PC is provided with test client, the script processing module that comprises the test main control module, handles testing service end and the detecting information pre-processing module of test client interactive information, the test result analysis module that is used for the analytical test result that is connected with the detecting information pre-processing module, is used to handle test script with being used to of testing that main control module is connected.
2. the test macro of navigating instrument according to claim 1 is characterized in that: said test client also is provided with the navigation simulation module that is used to realize the navigation simulation operation.
3. the test macro of navigating instrument according to claim 2 is characterized in that: said navigating instrument is connected with PC through USB.
4. the method for testing of a navigating instrument the steps include:
(1) the test main control module navigation appearance of test client initiatively sends linking request; When communications port module receives linking request; This linking request is delivered to message processing module; Message processing module is handled linking request; Comprise transmission, accept linking request and discharge link; After PC links successfully with navigator, this link of detecting information pretreatment module record;
(2) the testing service end of script processing module navigation appearance sends test instruction; The communications port module of testing service end is delivered to message processing module with order after receiving test instruction; Message processing module will carry out analyzing and processing to this test instruction, and the test instruction after will handling again is delivered to the navigating instrument main control module;
(3) after the navigating instrument main control module will be accomplished the operation of appointment according to the test instruction content, operating result is sent to test client by communications port module;
(4) after the detecting information pre-processing module on the PC is received operating result; Operation result information is sent to the test result analysis module; The test result analysis module will be resolved and classify operation result information; The instruction fetch of page operation in the operation result information and logic redirect is come out and is used to generate the test script of automatic playback, again the test script that generates is sent to the script processing module;
(5) the script processing module extracts the operational order of test script and instruction is sent to the testing service end of navigating instrument.
5. the method for testing of navigating instrument according to claim 4 is characterized in that: what the navigation simulation module was used to generate simulation can be used for manually-operated navigating instrument interface, and collects artificial operational order, and operational order is sent to navigating instrument.
6. the method for testing of navigating instrument according to claim 5 is characterized in that: navigating instrument adopts socket to communicate by letter with communicating by letter of PC.
7. the method for testing of navigating instrument according to claim 6 is characterized in that: communications port module adopts two communication linkage passages, and one for receiving instruction path, and one is the transmit operation data channel.
8. the method for testing of navigating instrument according to claim 7, it is characterized in that: said test script also comprises the test script of manual compiling.
9. the method for testing of navigating instrument according to claim 8, it is characterized in that: the test result analysis module generates test report according to operation result information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210046542.3A CN102620746B (en) | 2012-02-28 | 2012-02-28 | Navigator testing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210046542.3A CN102620746B (en) | 2012-02-28 | 2012-02-28 | Navigator testing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102620746A true CN102620746A (en) | 2012-08-01 |
CN102620746B CN102620746B (en) | 2015-06-24 |
Family
ID=46560809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210046542.3A Active CN102620746B (en) | 2012-02-28 | 2012-02-28 | Navigator testing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102620746B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102874181A (en) * | 2012-08-22 | 2013-01-16 | 广州智予恒电子科技有限公司 | Intelligent navigation user experience system |
CN103900606A (en) * | 2012-12-25 | 2014-07-02 | 上海博泰悦臻电子设备制造有限公司 | Automatic-simulation-navigation-based navigation path reliability detection method and device |
CN104359495A (en) * | 2014-11-20 | 2015-02-18 | 百度在线网络技术(北京)有限公司 | Application testing method and device |
WO2016029724A1 (en) * | 2014-08-28 | 2016-03-03 | 深圳市赛格导航科技股份有限公司 | Automatic testing method and system for vehicular navigation instrument |
CN108920372A (en) * | 2018-07-09 | 2018-11-30 | 北京首汽智行科技有限公司 | Shared automobile intelligent car-mounted terminal automatization test system and method based on serial ports |
CN109285543A (en) * | 2018-09-07 | 2019-01-29 | 惠州市德赛西威汽车电子股份有限公司 | A kind of vehicle-mounted multimedia navigating instrument voice automatization test system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000201202A (en) * | 1999-01-08 | 2000-07-18 | Nec Corp | Client server test system |
CN101022375A (en) * | 2007-04-04 | 2007-08-22 | 杭州华为三康技术有限公司 | Centralizing automatic testing device and method for testing radio local network |
KR20070104202A (en) * | 2006-04-21 | 2007-10-25 | 골드피처 주식회사 | Automation test service system for view software of portable telephone and method thereof |
CN101286904A (en) * | 2008-06-16 | 2008-10-15 | 中兴通讯股份有限公司 | Testing device and method for concurrent load of flow media server |
CN101435703A (en) * | 2008-12-24 | 2009-05-20 | 北京航空航天大学 | Semi-true object emulation technology apparatus of unmanned coaxal helicopter autonomous navigation system |
CN101847118A (en) * | 2009-03-24 | 2010-09-29 | 迈普通信技术股份有限公司 | Automatic test system |
-
2012
- 2012-02-28 CN CN201210046542.3A patent/CN102620746B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000201202A (en) * | 1999-01-08 | 2000-07-18 | Nec Corp | Client server test system |
KR20070104202A (en) * | 2006-04-21 | 2007-10-25 | 골드피처 주식회사 | Automation test service system for view software of portable telephone and method thereof |
CN101022375A (en) * | 2007-04-04 | 2007-08-22 | 杭州华为三康技术有限公司 | Centralizing automatic testing device and method for testing radio local network |
CN101286904A (en) * | 2008-06-16 | 2008-10-15 | 中兴通讯股份有限公司 | Testing device and method for concurrent load of flow media server |
CN101435703A (en) * | 2008-12-24 | 2009-05-20 | 北京航空航天大学 | Semi-true object emulation technology apparatus of unmanned coaxal helicopter autonomous navigation system |
CN101847118A (en) * | 2009-03-24 | 2010-09-29 | 迈普通信技术股份有限公司 | Automatic test system |
Non-Patent Citations (1)
Title |
---|
王晓丽等: "《便携式低功耗雷达导航仪智能测控系统》", 《现代电子技术》, vol. 34, no. 17, 11 September 2011 (2011-09-11), pages 146 - 148 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102874181A (en) * | 2012-08-22 | 2013-01-16 | 广州智予恒电子科技有限公司 | Intelligent navigation user experience system |
CN103900606A (en) * | 2012-12-25 | 2014-07-02 | 上海博泰悦臻电子设备制造有限公司 | Automatic-simulation-navigation-based navigation path reliability detection method and device |
WO2016029724A1 (en) * | 2014-08-28 | 2016-03-03 | 深圳市赛格导航科技股份有限公司 | Automatic testing method and system for vehicular navigation instrument |
CN105444776A (en) * | 2014-08-28 | 2016-03-30 | 深圳市赛格导航科技股份有限公司 | Automatic test method of vehicle navigator, and system thereof |
CN104359495A (en) * | 2014-11-20 | 2015-02-18 | 百度在线网络技术(北京)有限公司 | Application testing method and device |
CN108920372A (en) * | 2018-07-09 | 2018-11-30 | 北京首汽智行科技有限公司 | Shared automobile intelligent car-mounted terminal automatization test system and method based on serial ports |
CN109285543A (en) * | 2018-09-07 | 2019-01-29 | 惠州市德赛西威汽车电子股份有限公司 | A kind of vehicle-mounted multimedia navigating instrument voice automatization test system |
Also Published As
Publication number | Publication date |
---|---|
CN102620746B (en) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102620746A (en) | Navigator testing system | |
CN104717337B (en) | A kind of method of batch testing mobile phone application and its equipment used | |
CN103995751B (en) | A kind of Overpassing Platform by Using system and method | |
CN103973858A (en) | Automatic testing system of mobile terminals | |
CN104980552B (en) | Realize the method and system of Android mobile terminal automatic test | |
CN111211934A (en) | Cluster remote communication test method and system | |
CN104106106A (en) | Method and apparatus for wirelessly managing classroom environment | |
CN103810092A (en) | Application system testing method and device | |
CN102708232A (en) | Processing method and device for distributed simulation data | |
CN104484162B (en) | A kind of software test case designs write method | |
CN103746873A (en) | System and method for testing communication module | |
CN105786694A (en) | Automatic test system and method, and mobile terminals | |
CN102136964B (en) | Website testing method and system | |
CN108009086B (en) | System automation test method based on case decomposition and function learning | |
CN110825617B (en) | Method and device for simulating communication interaction between devices | |
CN105515903A (en) | Test method of monitoring functions of FC switch | |
CN108062266A (en) | A kind of PCIE-SSD automated testing methods based on cloud platform | |
CN105577264A (en) | Unmanned plane line patrol system based on 4G network | |
CN108088488A (en) | A kind of target range telemetry joining method | |
CN108182116A (en) | A kind of bidding documents analysis method, device, equipment and storage medium | |
CN107579871A (en) | The generation method of distributed testing script based on model inspection and generation system | |
CN103853933A (en) | Android digital forensics-oriented user behavior analysis method and system | |
CN114416597A (en) | Test case record generation method and device | |
CN108009093A (en) | A kind of method for testing software, apparatus and system | |
CN103856373A (en) | Web system robustness testing method based on HTTP mutation |
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 | ||
C56 | Change in the name or address of the patentee | ||
CP01 | Change in the name or title of a patent holder |
Address after: 516006 Guangdong province Huizhou City Zhongkai high tech Development Zone, Zhujiang Road No. 1 Patentee after: HUIZHOU DESAY SV AUTOMOTIVE CO., LTD. Address before: 516006 Guangdong province Huizhou City Zhongkai high tech Development Zone, Zhujiang Road No. 1 Patentee before: Huizhou Desay SV Auto. Electronics Co., Ltd. |