CN101969576A - Digital television page testing system and method thereof - Google Patents

Digital television page testing system and method thereof Download PDF

Info

Publication number
CN101969576A
CN101969576A CN 201010268722 CN201010268722A CN101969576A CN 101969576 A CN101969576 A CN 101969576A CN 201010268722 CN201010268722 CN 201010268722 CN 201010268722 A CN201010268722 A CN 201010268722A CN 101969576 A CN101969576 A CN 101969576A
Authority
CN
China
Prior art keywords
test
page
case
test case
digital television
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
Application number
CN 201010268722
Other languages
Chinese (zh)
Inventor
罗笑南
陈锦维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
National Sun Yat Sen University
Original Assignee
National Sun Yat Sen University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by National Sun Yat Sen University filed Critical National Sun Yat Sen University
Priority to CN 201010268722 priority Critical patent/CN101969576A/en
Publication of CN101969576A publication Critical patent/CN101969576A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention provides a digital television page testing system and a method thereof. The method comprises the following steps of: registering formal test cases to form a test case database, reading test cases from the test case database, and running the test cases if the test cases are formal to obtain a test result; and comparing the test result and a preset expected result to generate a test report. The invention solves the problems of large workload, low efficiency, poor reliability, the lack of real time and flexibility of data processing, and the like in the digital television page test.

Description

A kind of page of digital television test macro and method thereof
Technical field
The present invention relates to the Digital Television field tests, more specifically, relate to a kind of page of digital television test macro and method thereof.
Background technology
In most of page of digital television tests, when developer's test case that has been the digital television interaction application and development, comprise will test contents so that check whether this content is normally provided by page of digital television, test case is provided for the tester, and the tester obtains visit to corresponding test case individually by page of digital television, and will rely on the outcome record that obtains by the page of digital television test in the test tabulation.
Need one by one each website of accessing and check shown information by the test of the artificial page of digital television of carrying out of tester.Therefore, because the moving of each webpage, so just pretty troublesome and will be with a lot of selection of time mouses and enter key or wait loaded web page.Owing to will rely on hand-written information, just be difficult to guarantee result's reliability to test.In at present known test macro, processing mode about the data information of page of digital television test, the test result that can only on the equipment of test, show this time, other people can't see this test result report, and if when making the test report summarized results, then need be in artificial mode, manually be input to each time test result in the database, carry out the processing of data information again, can't be handled in a kind of mode of real-time processing test result data data.
The present invention proposes a kind of page of digital television test macro and method thereof, and the test job amount is big among the page of digital television manual testing, efficient is low, the result lacks problems such as reliability to solve.
Summary of the invention
According to an aspect of the present invention, the invention provides a kind of page of digital television test macro, its formation comprises:
The test case data storehouse, be used to store test case and the data relevant with test case, the a plurality of test cases of described test case data library storage and according to the page of digital television tagsort, by one or more dialogues of kind storage, and each dialogue comprises result and the expected results that obtains from the page of digital television test.
The use-case development module is used for the development and testing use-case.
Registering modules, be used for test case is registered in page of digital television test case data storehouse, described test case needs through described Registering modules inspection before registration, if described test case compliant is then accepted registration and it is stored in the test case data storehouse, otherwise, the refusal registration;
Control module, be used for from described test case data storehouse read test use-case, and according to the respective page window of the tested use-case of test case call number TV page open, and call number TV page interface imports data in the described test case and operation in the subsequent page of described page window and described page window into, collects by the value that obtains in the page of digital television test at last and will be worth as testing the result who talks with and export.
The report generation module is used for test result and expected results that the operation test case obtains are compared and generate test report.
According to a further aspect in the invention, the invention provides a kind of page of digital television method of testing, comprising:
The test case of registration compliant in the test case data storehouse, read test use-case from the test case data storehouse, judge whether test case accords with the use-case format specification, under incongruent situation, finish test procedure, if conform to the standard then according to the respective page window of the tested use-case of test case call number TV page open, and call number TV page interface the data in the described test case and the operation import in the subsequent page of described page window and described page window, obtain test result; Described test result and the expected result that sets in advance are compared and generate test report.
From technique scheme as can be seen, because the inspection of page of digital television test case in the embodiment of the invention, all automations are carried out to call, move, handle in real time that test result, report generate etc., need not manual intervention, solved that workload is big in the page of digital television test, efficient is not high, reliability is too poor, data processing lacks problems such as real-time and flexibility, improved the efficient of page of digital television test, its test result has higher reliability.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the modular structure key diagram of embodiments of the invention 1;
Fig. 2 is the page of digital television testing process key diagram of embodiments of the invention 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, it only is the present invention's part embodiment that described embodiment is interpreted as, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of page of digital television test macro and method thereof, can improve the efficient of page of digital television test and result's reliability.Below be elaborated respectively.
Embodiment 1
In the present embodiment, the operational process of page of digital television test macro as shown in Figure 1, page of digital television test macro of the present invention comprises use-case development module S101, Registering modules S102, test case data storehouse S103, control module S104 and report generation module S105.
For use-case development module S101, be used to develop the page of digital television test case.
After having developed test case, Registering modules S102 makes that the tester can be at the classification of test page of digital television and formulate corresponding test case standard criterion, whether meet corresponding standard in order to the verification test use-case, if test case compliant, then it is registered in the S103 of test case data storehouse, otherwise, the refusal registration.
Test case data storehouse S103 is in fact corresponding to a database, wherein stored and met test specification and test case that pass through registration, also should store information relevant and data, as testing time, input data, dateout, test result, expected results etc. with test case.
For control module S104, it is read test use-case from described test case data storehouse at first, and according to the respective page window of the tested use-case of test case call number TV page open, and call number TV page interface imports data in the described test case and operation in the subsequent page of described page window and described page window into, collect by the value that obtains in the page of digital television test at last and will be worth the result who talks with as test and export, simultaneously information is write down and writes among the S103 of test case data storehouse.
At last, according to user's demand, report generation module S105 can be from the S103 of test case data storehouse the read test data, form form, present to the user as test report.This module can realize according to the report capability of database.
Embodiment 2
Fig. 2 represents the page of digital television method of testing flow chart of embodiment 2.In the present embodiment, at first in the test case data storehouse, register the test case of compliant, next read test use-case from the test case data storehouse, judge whether test case meets the use-case format specification, under incongruent situation, finish test procedure, if conform to the standard, test case is the interface that provides of the call number TV page then, parameter in the test case and operation are imported in the page, after receiving the information of being submitted to and processing, results page is returned page of digital television, and test case obtains results page from page of digital television, opens the page of next procedure, and submission relevant information, up to the test result page that gets to the end, and the content in the judged result page, if obtain correct test result, then this test record in database and be denoted as and test successfully and with the test result record, otherwise be denoted as test crash.
At last, described test result and the expected result that sets in advance are compared and generate test report.
The benefit of this execution mode is, the inspection of page of digital television test case among the embodiment, all automations are carried out to call, move, handle in real time that test result, report generate etc., need not to intervene, problems such as the test job amount is big in the page of digital television test, efficient is low, poor reliability, shortage flexibility, data processing shortage real-time, the wasting of resources have been solved, improved the efficient of page of digital television test greatly, its test result has high reliability.
Page of digital television test flow chart of the present invention as shown in Figure 2, step is as follows:
Development and testing use-case S201, development and testing use-case according to demand, and then use-case checked S202.
Registration test case S203, the tester can be at the classification of test page of digital television and is formulated corresponding test case standard criterion, whether meet corresponding standard in order to the verification test use-case, if the test case compliant is then registered it in the test case data storehouse.
Read test use-case S204, operation test case S205, read test use-case from described test case data storehouse at first, and according to the respective page window of the tested use-case of test case call number TV page open, and call number TV page interface imports data in the described test case and operation in the subsequent page of described page window and described page window into, collect by the value that obtains in the page of digital television test at last and will be worth the result who talks with as test and export S206, simultaneously information is write down and writes in the test case data storehouse.
The test result and the expected results of record are compared S207, generate test report S208.
Need to prove, contents such as the information interaction between said system and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than to a kind of page of digital television test macro and method thereof that the embodiment of the invention provided, be described in detail, use specific case herein principle of the present invention and execution mode 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 (3)

1. a page of digital television test macro is characterized in that, comprising: test case data storehouse, use-case development module, Registering modules, control module, report generation module;
Described test case data storehouse is used to store test case and the data relevant with test case;
Described use-case development module is used for the development and testing use-case;
Described Registering modules is used for test case is registered in page of digital television test case data storehouse; Described test case needs through described Registering modules inspection before registration, if described test case compliant is then accepted registration and it is stored in the test case data storehouse;
Described control module is used for from described test case data storehouse read test use-case, and according to the respective page window of the tested use-case of test case call number TV page open, and call number TV page interface imports data in the described test case and operation in the subsequent page of described page window and described page window into, collects by the value that obtains in the page of digital television test at last and will be worth as testing the result who talks with and export;
Described report generation module is used for test result and expected results that the operation test case obtains are compared and generate test report.
2. system according to claim 1 is characterized in that, test case needs before registration through the Registering modules inspection, and compliant is then accepted registration and it is stored in the test case data storehouse.
3. page of digital television method of testing, it is characterized in that, at first in the test case data storehouse, register the test case of compliant, next read test use-case from the test case data storehouse, judge whether test case meets the use-case format specification, under incongruent situation, finish test procedure, if conform to the standard, test case is the interface that provides of the call number TV page then, parameter in the test case and operation are imported in the page, after information that reception is submitted to and the processing, results page is returned page of digital television, test case obtains results page from page of digital television, open the page of next procedure, and submit relevant information to, up to the test result page that gets to the end, and the content in the judged result page, if obtain correct test result, then this test record in database and be denoted as and test successfully and with the test result record, otherwise be denoted as test crash; At last, described test result and the expected result that sets in advance are compared and generate test report.
CN 201010268722 2010-08-31 2010-08-31 Digital television page testing system and method thereof Pending CN101969576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010268722 CN101969576A (en) 2010-08-31 2010-08-31 Digital television page testing system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010268722 CN101969576A (en) 2010-08-31 2010-08-31 Digital television page testing system and method thereof

Publications (1)

Publication Number Publication Date
CN101969576A true CN101969576A (en) 2011-02-09

Family

ID=43548654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010268722 Pending CN101969576A (en) 2010-08-31 2010-08-31 Digital television page testing system and method thereof

Country Status (1)

Country Link
CN (1) CN101969576A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686456A (en) * 2016-12-30 2017-05-17 深圳Tcl数字技术有限公司 Detection method and device of TV application

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521996A (en) * 2003-02-13 2004-08-18 ���ǵ�����ʽ���� Browser testing system and method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521996A (en) * 2003-02-13 2004-08-18 ���ǵ�����ʽ���� Browser testing system and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686456A (en) * 2016-12-30 2017-05-17 深圳Tcl数字技术有限公司 Detection method and device of TV application

Similar Documents

Publication Publication Date Title
CN101339534B (en) Software test apparatus and test method
CN107229559B (en) Detection method and device for testing integrity of service system
CN104461846B (en) The method and apparatus for detecting application program power consumption
CN102819766A (en) Method, device and enterprise system for checking forms
CN106201481A (en) Assembly management method and apparatus in application development system
CN109934433A (en) A kind of personnel ability's appraisal procedure, device and cloud service platform
CN104461526B (en) A kind of control visiting method and device of end application
CN105684027A (en) House resource verifying method and system for real estate network
CN111767226A (en) Method, system and equipment for testing cloud computing platform resources
CN111723020A (en) Method, device and equipment for testing electric energy meter testing software
CN110597704B (en) Pressure test method, device, server and medium for application program
CN103580954A (en) Device and method for verifying switch chip through software simulation
CN112037844B (en) Variable retention time pattern analysis method, device, equipment and readable storage medium
CN109460365B (en) A kind of system performance testing method, apparatus, equipment and storage medium
CN107480056A (en) A kind of method for testing software and device
WO2017050037A1 (en) Automated test method and device
CN103235757B (en) Several apparatus and method that input domain tested object is tested are made based on robotization
CN101847124A (en) Method for realizing browser testing and browser testing system
CN112860587B (en) UI automatic test method and device
CN107766230A (en) A kind of method and apparatus tested based on configuration file
CN111580852B (en) Method and system for identifying software change influence range
CN113052375A (en) Method and device for predicting play volume of episode
CN101969576A (en) Digital television page testing system and method thereof
CN116738901A (en) Chip verification method and device
CN116561003A (en) Test data generation method, device, computer equipment 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: 20110209