CN102768640A - Software testing method - Google Patents
Software testing method Download PDFInfo
- Publication number
- CN102768640A CN102768640A CN2012101932146A CN201210193214A CN102768640A CN 102768640 A CN102768640 A CN 102768640A CN 2012101932146 A CN2012101932146 A CN 2012101932146A CN 201210193214 A CN201210193214 A CN 201210193214A CN 102768640 A CN102768640 A CN 102768640A
- Authority
- CN
- China
- Prior art keywords
- button
- typing
- module
- key
- software
- 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
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000013522 software testing Methods 0.000 title abstract 4
- 238000012360 testing method Methods 0.000 claims abstract description 25
- 238000012163 sequencing technique Methods 0.000 claims description 13
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Landscapes
- Input From Keyboards Or The Like (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to the technical field of set top boxes, and discloses a software testing method. The software testing method specifically comprises the following steps of setting a first key, a second key and a third key on a remote controller of a set top box; starting a key entering module by pressing down the first key; entering keys corresponding to software by utilizing the remote controller; starting a key transmitting module by pressing down the third key after entering is finished; and transmitting key entering sequence and time intervals which are recorded by the key entering module to a key receiving module according to a first-in first-out principle. The key receiving module receives key information and invokes corresponding software to test. By the software testing method, testing personnel can find out mistakes in a key entering process at any time, labor intensity of the testing personnel is reduced, work efficiency of the testing personnel is improved, and the purpose of fast and effectively testing the software is achieved.
Description
Technical field
The present invention relates to DTV STB, relate in particular to a kind of method of software test.
Background technology
Along with the develop rapidly of DTV, various application also emerge in an endless stream on the DTV, and increasing software need move on STB, and the complexity of software is also increasingly high.Yet the method for test set-top box software is mainly undertaken by manual work in the prior art, and whether remote controller is pressed different keys on the telepilot according to the requirement of requirement specification book manually, come each item software function of proof machine top box normal.Yet the amount of software that STB need be tested is many and complicated; Therefore need great amount of manpower to accomplish test; Also need the tester to carry out the button input interval time simultaneously, just can reach the effect of accurate test according to each software corresponding key order, button.So very high to tester's requirement, tester's labour intensity is also very big, and test process also is difficult to reproduce, and has wasted great amount of manpower and resource, does not but have good test effect.
Summary of the invention
The objective of the invention is method to software test in the prior art to the tester is required height, tester's labour intensity is big, and the technical matters that test process is difficult to reproduce the invention discloses a kind of method of software test.
The object of the invention is realized through following technical proposals:
A kind of method of software test; It specifically comprises following steps: first button, second button, the 3rd button are set on set box remote control; Said first button is used to start button typing module and stops key the typing module; Said second button is used to start the button editor module and stops key editor module, and said the 3rd button is used to start the button sending module;
Press first button; Start button typing module; Use a teleswitch the software corresponding key is carried out typing, typing is pressed the 3rd button after accomplishing, and starts the button sending module; The sequencing of the button typing of button typing module records and the time interval are sent to the button receiver module according to the principle of first in first out, and the button receiver module is accepted key information and is called corresponding software and test.
Preferably; Said method also is included in the test process; If the typing of button is wrong or button between interval time do not reach requirement, press the second button pause button typing module, get into the button editor module; To the button of typing and/or edit the interval time between the button, press second button once more after editor accomplishes and get back to button typing mould.
Preferably, said method also comprises and accepts the sequencing and the time interval of the button typing of module and be kept among the FLASH sending to button.
Preferably, said method also comprises the sequencing and the time interval data extract that are kept at the software corresponding key typing among the FLASH are come out, and directly software same in other STBs is tested.
Beneficial effect of the present invention: through three key to run being set on the telepilot of STB and stopping corresponding software module; Software module writes down the sequencing of button typing and sends to the button receiver module after the time interval and handles; The button of button typing module typing and the time interval fact between the button are shown to the tester; The tester can find the mistake in the button key entry process at any time; Reduce tester's labour intensity, improved tester's work efficiency, reached the purpose of quick Validity Test software.
Embodiment
Below in conjunction with specific embodiment the present invention is further described.
The invention discloses a kind of method of software test; It specifically comprises following steps: first button, second button, the 3rd button are set on set box remote control; Said first button is used to start button typing module and stops key the typing module; Said second button is used to start the button editor module and stops key editor module, and said the 3rd button is used to start the button sending module;
Press first button; Start button typing module; Use a teleswitch the software corresponding key is carried out typing, typing is pressed the 3rd button after accomplishing, and starts the button sending module; The sequencing of the button typing of button typing module records and the time interval are sent to the button receiver module according to the principle of first in first out, and the button receiver module is accepted key information and is called corresponding software and test.
Said method is through being provided with three key to run and stopping corresponding software module on the telepilot of STB; Software module writes down the sequencing of button typing and sends to the button receiver module after the time interval and handles; The button of button typing module typing and the time interval fact between the button are shown to the tester; The tester can find the mistake in the button key entry process at any time; Reduce tester's labour intensity, improved tester's work efficiency, reached the purpose of quick Validity Test software.
Preferably; Said method also is included in the test process; If the typing of button is wrong or button between interval time do not reach requirement, press the second button pause button typing module, get into the button editor module; To the button of typing and/or edit the interval time between the button, press second button once more after editor accomplishes and get back to button typing mould.The button editor module can accomplish like the button of deleting typing, insert new button, revise time interval between each button or the like editor.
Pass through of the control of second button in the said method to the button editor module; The tester can revise the key information of typing easily; Accurately check the key information of typing and the difference between the software corresponding key information; Further reduce tester's labour intensity, improved tester's work efficiency, reached the purpose of quick Validity Test software.
Preferably, said method also comprises and accepts the sequencing and the time interval of the button typing of module and be kept among the FLASH sending to button.The sequencing and the time interval of button typing are kept among the FLASH; Can also test by the button of former typing after making the STB outage start; Made things convenient for tester's operation; Simultaneously also make tester's test job have the property of tracing back, can confirm at any time whether the work of testing is effective.
Preferably, said method also comprises comes out the sequencing and the time interval data extract that are kept at the software corresponding key typing among the FLASH, directly software same in other STBs is tested.The key testing data of same like this software only need be imported and write down once; Just can directly call the back tests the software on other STBs; Made things convenient for tester's use; Further improved tester's work efficiency,, just can guarantee the accuracy of on other STB, testing accurately one by one as long as confirm the sequencing and the time interval data of this a button typing.
The practical implementation process is following:
1. on set-top box remote controller, define a button R, a button P and a button S.
2. when pushing button R for the first time, start button typing module, the work of the typing module that stops key when pressing R once more; The work of pause button typing module when pushing button P for the first time, and start the button editor module, the work of the editor module that stops key when pressing P once more, and start button typing module; When pushing button S, STB starts the button sending module.
3. when pushing button R, STB starts button typing module, all buttons that the tester presses and all being noted in order the interval time between button, and when pushing button R once more, the stop key work of typing module of STB.
4. under the situation that button typing module starts; If the tester finds to have pushed the wrong key; Pressed key more, few by the time interval between key or the button do not reach requirement, the work of the P pause button typing module that can push button; And startup button editor module; Delete the button of typing or insert new button or revise time interval between each button etc., the P that pushes button once more after the having revised work of editor module that stops key, and start button typing module and continue the typing button.
5. after the tester thinks that a certain test operation of taking turns is accomplished; The stop key work of typing module and be saved in the data of typing module records among the flash of the S that can push button once more can also be tested by the button of former typing after starting in order to the STB outage.
6. button typing; Editor, after preservation was accomplished, the tester arrived the initial function interface that writes down button by the operating remote controller STB; Button S starts the button sending module then, and the button of button typing module typing is sent by time interval of typing principle by first in first out.
7. STB button receiver module receives key assignments, handles accordingly, reaches the purpose of automatic test.
Here the present invention is described in detail through concrete examples of implementation; Provide the description of the foregoing description to make or be suitable for the present invention in order to make those skilled in the art, the various modifications of these embodiment are to understand easily for a person skilled in the art.The present invention is not limited to these examples, or some aspect wherein.Scope of the present invention is elaborated through additional claim.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention; But as previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of accompanying claims of the present invention.
Claims (4)
1. the method for a software test; It specifically comprises following steps: first button, second button, the 3rd button are set on set box remote control; Said first button is used to start button typing module and stops key the typing module; Said second button is used to start the button editor module and stops key editor module, and said the 3rd button is used to start the button sending module;
Press first button; Start button typing module; Use a teleswitch the software corresponding key is carried out typing, typing is pressed the 3rd button after accomplishing, and starts the button sending module; The sequencing of the button typing of button typing module records and the time interval are sent to the button receiver module according to the principle of first in first out, and the button receiver module is accepted key information and is called corresponding software and test.
2. the method for software test as claimed in claim 1; It is characterized in that said method also is included in the test process; If the typing of button is wrong or button between interval time do not reach requirement, press the second button pause button typing module, get into the button editor module; To the button of typing and/or edit the interval time between the button, press second button once more after editor accomplishes and get back to button typing mould.
3. the method for software test as claimed in claim 2 is characterized in that said method also comprises to accept the sequencing and the time interval of the button typing of module and be kept among the FLASH sending to button.
4. the method for software test as claimed in claim 3; It is characterized in that said method also comprises comes out the sequencing and the time interval data extract that are kept at the software corresponding key typing among the FLASH, directly software same in other STBs is tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210193214.6A CN102768640B (en) | 2012-06-13 | 2012-06-13 | Software testing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210193214.6A CN102768640B (en) | 2012-06-13 | 2012-06-13 | Software testing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102768640A true CN102768640A (en) | 2012-11-07 |
CN102768640B CN102768640B (en) | 2014-12-24 |
Family
ID=47096047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210193214.6A Expired - Fee Related CN102768640B (en) | 2012-06-13 | 2012-06-13 | Software testing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102768640B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104767995A (en) * | 2015-03-25 | 2015-07-08 | 青岛歌尔声学科技有限公司 | Method for recording electronic product test data and recording module |
CN105187915A (en) * | 2015-09-21 | 2015-12-23 | 浪潮软件集团有限公司 | Testing method for scrambling program playing of high-security set top box |
CN106572396A (en) * | 2016-11-03 | 2017-04-19 | 成都视达科信息技术有限公司 | Set top box front panel fault locking and unlocking method and device |
CN109144866A (en) * | 2018-08-15 | 2019-01-04 | 广东美的厨房电器制造有限公司 | Method for testing software and software testing device based on household electrical appliance |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953564A (en) * | 2006-11-22 | 2007-04-25 | Ut斯达康通讯有限公司 | A test system and method for set top box |
CN101478696A (en) * | 2008-12-31 | 2009-07-08 | 深圳市同洲电子股份有限公司 | Automatic test method, system and multimedia device for test cases |
CN101727737A (en) * | 2009-11-13 | 2010-06-09 | 深圳创维-Rgb电子有限公司 | Debugging remote controller |
CN101931827A (en) * | 2010-08-05 | 2010-12-29 | 康佳集团股份有限公司 | Set-top box test method for event replay |
-
2012
- 2012-06-13 CN CN201210193214.6A patent/CN102768640B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953564A (en) * | 2006-11-22 | 2007-04-25 | Ut斯达康通讯有限公司 | A test system and method for set top box |
CN101478696A (en) * | 2008-12-31 | 2009-07-08 | 深圳市同洲电子股份有限公司 | Automatic test method, system and multimedia device for test cases |
CN101727737A (en) * | 2009-11-13 | 2010-06-09 | 深圳创维-Rgb电子有限公司 | Debugging remote controller |
CN101931827A (en) * | 2010-08-05 | 2010-12-29 | 康佳集团股份有限公司 | Set-top box test method for event replay |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104767995A (en) * | 2015-03-25 | 2015-07-08 | 青岛歌尔声学科技有限公司 | Method for recording electronic product test data and recording module |
CN105187915A (en) * | 2015-09-21 | 2015-12-23 | 浪潮软件集团有限公司 | Testing method for scrambling program playing of high-security set top box |
CN105187915B (en) * | 2015-09-21 | 2018-05-29 | 浪潮软件集团有限公司 | Testing method for scrambling program playing of high-security set top box |
CN106572396A (en) * | 2016-11-03 | 2017-04-19 | 成都视达科信息技术有限公司 | Set top box front panel fault locking and unlocking method and device |
CN106572396B (en) * | 2016-11-03 | 2019-07-05 | 成都视达科信息技术有限公司 | A kind of set top box front panel fault locking and unlocking method and device |
CN109144866A (en) * | 2018-08-15 | 2019-01-04 | 广东美的厨房电器制造有限公司 | Method for testing software and software testing device based on household electrical appliance |
Also Published As
Publication number | Publication date |
---|---|
CN102768640B (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102768640A (en) | Software testing method | |
CN104185066A (en) | Method and device for automatically verifying electronic program menu | |
CN103365779A (en) | Software test method and system | |
CN106815681B (en) | Transformer substation secondary equipment closed-loop management platform based on two-dimensional code and management system thereof | |
CN101635864A (en) | Method and system for remotely testing electronic device | |
CN103019942B (en) | Method and system for automatically testing applications to be tested based on android system | |
MY170276A (en) | Method and system for synchronizing operations of multiple groups | |
CN104123221A (en) | Response time test method and device | |
CN105224462A (en) | The recognition methods of control element and device | |
CN103761331A (en) | Processing system for drawing data and processing method thereof | |
CN105677568A (en) | Test scene generating method for railway signal computer interlocking system | |
CN105260273A (en) | Testing method and apparatus for intelligent electronic device | |
WO2008117419A1 (en) | Operation instruction system, operation instruction method, operation instruction program, computer-readable recording medium containing the operation instruction program and operation instruction device | |
CN104064201A (en) | Data synchronization method and system | |
RU2014107674A (en) | METHOD AND DEVICE FOR DETERMINING THE FREQUENCY OF USE OF THE APPLIED PROGRAM | |
CN103514303A (en) | Method and system for recognizing electrical element wiring diagram | |
CN104216823A (en) | Automatic testing method and master control device | |
CN101634681A (en) | Automatic test system of electronic device | |
CN105430299A (en) | Joined screen signal source annotation method and system | |
CN103580761A (en) | Testing method and device of communication device | |
CN202282008U (en) | Two-dimensional-code-based equipment-patrolling managing device | |
CN102663205B (en) | Software realization method and system for vehicle assembly shop tooling site management | |
CN104408556B (en) | Remote units test installation system based on Android mobile terminal | |
CN103661497A (en) | Train number allocating method and device and train number allocator | |
CN205283550U (en) | Module function automatic test system and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141224 |
|
CF01 | Termination of patent right due to non-payment of annual fee |