CN106341681A - Television application testing method and apparatus - Google Patents
Television application testing method and apparatus Download PDFInfo
- Publication number
- CN106341681A CN106341681A CN201610649408.0A CN201610649408A CN106341681A CN 106341681 A CN106341681 A CN 106341681A CN 201610649408 A CN201610649408 A CN 201610649408A CN 106341681 A CN106341681 A CN 106341681A
- Authority
- CN
- China
- Prior art keywords
- application program
- test
- test case
- tested
- application
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention provides a television application testing method and apparatus. The method includes the following steps that: a plurality of auxiliary test applications corresponding to an application to be tested are determined; a plurality of first test cases corresponding to the application to be tested, and second test cases corresponding to the auxiliary test applications are determined; the cross-test order of the first test cases and the second test cases is determined, so that at least one second test case is included between two adjacent first test cases; and the first test cases and the second test cases are tested according to the cross-test order. The television application testing method and apparatus are used for improving the accuracy of application testing.
Description
Technical field
The present embodiments relate to TV technology, more particularly, to a kind of television applications method of testing and device.
Background technology
With the continuous development of TV tech, the application program that can install in TV gets more and more, in order to ensure TV
In each application program can normally run, before to application issued, need on television application program to be carried out
Test.
In the prior art, when needing the application program installed on television is tested, generally pacify on television
Dress application program, and repetitive operation is carried out to the application program installed in TV by tester, should in tester's operation
During program, tester is by being observed (the function in such as application program to the running status of application program
Whether normally start, whether the interface of application program is normal etc.), to determine the test result of application program.
However, because the test item of application program is excessively so that tester is difficult to application program is tested comprehensively,
Lead to the accuracy that application program is tested poor.
Content of the invention
The embodiment of the present invention provides a kind of television applications method of testing and device, for improving Application testing
Accuracy.
In a first aspect, the embodiment of the present invention provides a kind of television applications method of testing, comprising:
Determine the corresponding multiple subtest application programs of application program to be tested;
Determine corresponding multiple first test cases of described application program to be tested and each described subtest application program
Corresponding second test case;
Determine the cross-beta order of described first test case and described second test case, so that two adjacent the
At least one second test case is included between one test case;
According to described cross-beta order, each described first test case and each described second test case are surveyed
Examination.
In a kind of possible embodiment, the described determination corresponding multiple subtest application journeys of application program to be tested
Sequence, comprising:
Obtain the corresponding multiple sample daily records of described application program to be tested, each described sample daily record is used for instruction user pair
The usage record of the application program in TV;
The corresponding affiliate application of described application program to be tested, described pass is obtained in each the plurality of sample daily record
The time of running of connection application program is less than the first predetermined threshold value with the time difference of the time of running of described application program to be tested;
The plurality of subtest application program is determined in described affiliate application.
In alternatively possible embodiment, described determine the plurality of subtest in described affiliate application
Application program, comprising:
Obtain the degree of association of each described affiliate application and described application program to be tested;
The affiliate application that the degree of association is more than the second predetermined threshold value is defined as described subtest application program.
In alternatively possible embodiment, described determine corresponding multiple first tests of described application program to be tested
Example and corresponding second test case of each described subtest application program, comprising:
According to the test parameter of each described subtest application program, determine that each described subtest application program is corresponding
Second test case;
Determine the test parameter of corresponding, the described application program to be tested of each described second test case respectively;
Test parameter according to corresponding, the described application program to be tested of each described second test case, determines institute respectively
State multiple first test cases.
In alternatively possible embodiment, described determine described first test case and described second test case
Cross-beta order, so that include at least one second test case between two the first adjacent test cases, comprising:
Obtain corresponding second test case of each described first test case;
Determine the testing sequence of described first test case;
Testing sequence according to described first test case and corresponding second test of each described first test case are real
Example, determines described cross-beta order, wherein, order between each described first test case and corresponding second test case
For preset order.
In alternatively possible embodiment, described according to described cross-beta order, real to each described first test
After example and each described second test case are tested, also include:
Generate each described first test case corresponding test mark.
Second aspect, the embodiment of the present invention provides a kind of television applications test device, comprising:
First determining module, for determining the corresponding multiple subtest application programs of application program to be tested;
Second determining module, for determining corresponding multiple first test cases of described application program to be tested and each institute
State corresponding second test case of subtest application program;
3rd determining module, the cross-beta for determining described first test case and described second test case is suitable
Sequence, so that include at least one second test case between two the first adjacent test cases;
Test module, for according to described cross-beta order, to each described first test case and each described second survey
Examination example is tested.
In a kind of possible embodiment, described first determining module includes first acquisition unit, second acquisition unit
And determining unit, wherein,
Described first acquisition unit is used for, and obtains the corresponding multiple sample daily records of described application program to be tested, each described
Sample daily record is used for the usage record to the application program in TV for the instruction user;
Described second acquisition unit is used for, and obtains described application program to be tested and correspond in each the plurality of sample daily record
Affiliate application, the time of the time of running of the time of running of described affiliate application and described application program to be tested
Difference is less than the first predetermined threshold value;
Described determining unit is used for, and determines the plurality of subtest application program in described affiliate application.
In alternatively possible embodiment, described determining unit specifically for:
Obtain the degree of association of each described affiliate application and described application program to be tested;
The affiliate application that the degree of association is more than the second predetermined threshold value is defined as described subtest application program.
In alternatively possible embodiment, described second determining module specifically for:
According to the test parameter of each described subtest application program, determine that each described subtest application program is corresponding
Second test case;
Determine the test parameter of corresponding, the described application program to be tested of each described second test case respectively;
Test parameter according to corresponding, the described application program to be tested of each described second test case, determines institute respectively
State multiple first test cases.
In alternatively possible embodiment, described 3rd determining module specifically for:
Obtain corresponding second test case of each described first test case;
Determine the testing sequence of described first test case;
Testing sequence according to described first test case and corresponding second test of each described first test case are real
Example, determines described cross-beta order, wherein, order between each described first test case and corresponding second test case
For preset order.
In alternatively possible embodiment, described device also includes generation module, wherein,
Described generation module is used for, in described second determining module according to described cross-beta order, to each described first
After test case and each described second test case are tested, generate each described first test case corresponding test mark
Know.
Television applications method of testing provided in an embodiment of the present invention and device, when needing to any one in TV
When application program to be tested is tested, first determine the corresponding multiple subtest application programs of this application program to be tested, and
Generate corresponding multiple first test cases of application program to be tested and corresponding second test of each subtest application program
Example, and according to cross-beta order, cross-beta is carried out to the first test case and the second test case.In this process,
Because the plurality of first test sample is to treat the multiple different test process of test application program execution, therefore, by holding
The plurality of first test case of row can achieve that treating test application program is comprehensively tested, further, to multiple
During first test case is tested, also intersection the second test sample is tested, and then realize to be tested
Handoff procedure between application program and subtest application program is tested, and further increases and treats test application program
That is tested is comprehensive, and then improves the accuracy that application program is tested.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
The application scenarios schematic diagram of the television applications method of testing that Fig. 1 provides for the present invention;
The schematic flow sheet of the television applications method of testing that Fig. 2 provides for the present invention;
The schematic flow sheet of the determination subtest application program method that Fig. 3 provides for the present invention;
Fig. 4 provides location survey really to try the schematic flow sheet of case method for the present invention;
The schematic flow sheet of the determination cross-beta sequential grammar that Fig. 5 provides for the present invention;
The structural representation one of the television applications test device that Fig. 6 provides for invention;
The structural representation two of the television applications test device that Fig. 7 provides for invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
The application scenarios schematic diagram of the television applications method of testing that Fig. 1 provides for the present invention, refers to Fig. 1, including
TV 101 and television applications test device 102.Multiple application programs are installed in TV 101 (be designated as respectively applying journey
Sequence 1 is to application program n).Television applications test device 102 can be tested to each application program in TV 101.
Optionally, television applications test device 102 can be arranged at and have in the computer of annexation with TV, and by meter
Calculation machine realizes the application program in TV is tested;Television applications test device 102 can also be arranged on TV 101
In.In this application, in television applications test device 102, to any one in TV 101, application program to be tested enters
During row test, television applications test device 102 can treat the other application in test application program and TV
Program carries out cross-beta, treats test application program with realization and is more comprehensively tested, and then improves to application program
The accuracy that the carrying out of test is tested.Below, by specific example, the technical scheme shown in the embodiment of the present application is carried out in detail
Explanation.
It should be noted that these specific embodiments can be combined with each other, for same or analogous concept below
Or process may repeat no more in certain embodiments.
The schematic flow sheet of the television applications method of testing that Fig. 2 provides for the present invention, refers to Fig. 2, and the method can
To include:
S201, determine the corresponding multiple subtest application programs of application program to be tested;
S202, determine corresponding multiple first test cases of application program to be tested and each subtest application program pair
The second test case answered;
S203, determine the cross-beta order of the first test case and the second test case, so that two adjacent first
At least one second test case is included between test case;
S204, according to cross-beta order, each first test case and each second test case are tested.
The executive agent of the embodiment of the present invention is television applications test device (hereinafter referred test device), optional
, this test device can be provided in TV and have in the computer of annexation it is also possible in setting and TV.If test
In device setting and computer, then computer and TV can be accessed the same network segment, and set up between computer and TV
Adb links.Optionally, this test device can be realized by software and/or hardware.
In embodiments of the present invention, test device is similar to the test process of any one application program in TV.Under
Face, taking the process that test device is tested to the application program to be tested in TV as a example, to the method shown in Fig. 2 embodiment
It is described in detail.
When need to treat test application program tested when, test device first determines that application program to be tested is corresponding many
Individual subtest application program.This subtest application program is treated test application program for realization and is more comprehensively surveyed
Examination, optionally, install in TV, the other any applications in addition to application program to be tested all can be answered for be tested
With program corresponding subtest application program.Optionally, application journey to be tested can be selected by visualization interface by user
Sequence corresponding subtest application program is it is also possible to select rule by test device according to default, installing, except treating on television
Subtest application program is determined in other any applications outside test application program.Optionally, this default selection rule
Can be then that multiple application programs minimum for testing time are defined as subtest application program;This default selection rule is also
Can be that the multiple application programs the strongest with application program dependency to be tested are defined as subtest application program;This is pre-
If selecting rule can also be that the multiple application programs being easiest to lead to application failure to be tested are defined as subtest
Application program.It should be noted that above-mentioned is simply to select rule with default in exemplary fashion, it is not to select rule to default
Restriction then, in actual application, can arrange this default selection rule according to actual needs.
After test device determines to obtain application program to be tested corresponding subtest application program, test device is true
Fixed corresponding multiple first test cases of application program to be tested and corresponding second test of each subtest application program are real
Example.Wherein, a test sample refers to a test process to application program performing, this test according to default test parameter
Parameter can for correspondence program input Action Events, for example, to application program input basic navigation event (upper and lower,
Corresponding event of left and right button etc.), prime navaid event (determination, return event etc.), system navigation event (homepage, quiet
Sound, volume control event etc.).When application program is for video playback application program, the corresponding test case of this application program can
Think the startup to video playback application program, select video, play video, suspend video, exit video playback application program
A test process.
After test device determines to obtain multiple first test cases and the second test case, test device determines first
The cross-beta order of test case and the second test case, so that include at least one between two the first adjacent test cases
Individual second test case.Optionally, this cross-beta can be inputted by visualization interface according to actual test demand by user
Order is it is also possible to determine this cross-beta order by test device.Optionally, test device can be answered to be tested according to user
Determine this cross-beta order with the actually used process of program, so that the reality of this cross-beta order and application program to be tested
Border uses process increasingly similar, and then improves the verity treating test application program test.
Test device determine obtain cross-beta order after, test device according to cross-beta order, to each first
Test case and each second test case are tested, to determine the test result treating test application program.Optionally, surveying
Trial assembly is put during the first test case and the second test case are tested, and test device can generate test log,
Test device can determine test result according to test log, and certainly, user can also look at test log, to answer to be tested
It is analyzed with the test result of program.
Optionally, after each first test case and each second test case are tested, test device is acceptable
Generate each first test case corresponding test mark, the test mark of each the first test case all differs.So, use
According to test mark, family easily can determine that this test identifies corresponding test process, and then can be easily to test process
Reset, reappeared the fault in application program to be tested beneficial to user.
Below, by specific example, the method shown in Fig. 2 embodiment is described in detail.
Exemplary be designated as application program 1- application program 8 respectively it is assumed that being provided with 8 application programs in TV, more false
If application program to be tested is application program 1.
When test device needs application program 1 is tested, optionally, test device will be carried out with application program 1
Switching the most frequently 5 application programs be defined as HELPER APPLICATIONS it is assumed that assistance application test program is application program 2-
Application program 6.Wherein, HELPER APPLICATIONS is switched over application program 1 and refers to, starts at once after exiting application program 1
HELPER APPLICATIONS or start application program 1 at once after exiting HELPER APPLICATIONS.
Test device determines corresponding 5 the first test cases of application program, is designated as test case 11- test case respectively
15, wherein, test case 11- test case 15 is the different test processs to application program 1 execution.Test device is also respectively really
Determine the second test sample of application program 2- application program 6, be designated as test case 2- test case 6 respectively.
Test device determines the cross-beta order of the plurality of first test case and the second test case it is assumed that this intersection
Testing sequence is: test case 11, test case 2, test case 12, test case 3, test case 13, test case 4, survey
Examination example 14, test case 5, test case 15, test case 6.
Test device is tested to test case 11- test case 15 and test case 2- according to above-mentioned cross-beta order
Example 6 is tested, to determine the test result to application program 1.
Television applications method of testing provided in an embodiment of the present invention, to be tested to any one in TV when needing
When application program is tested, first determine the corresponding multiple subtest application programs of this application program to be tested, and generate and treat
Corresponding multiple first test cases of test application program and corresponding second test case of each subtest application program,
And according to cross-beta order, cross-beta is carried out to the first test case and the second test case.In this process, due to this
Multiple first test sample are to treat the multiple different test process of test application program execution, therefore, many by executing this
Individual first test case can achieve that treating test application program is comprehensively tested, and further, is surveying to multiple first
During examination example is tested, also intersection the second test sample is tested, and then realize to application journey to be tested
Handoff procedure between sequence and subtest application program is tested, and further increases and treats test application program and surveyed
That tries is comprehensive, and then improves the accuracy that application program is tested.
On the basis of embodiment illustrated in fig. 2, optionally, to be tested answering can be determined by implementation feasible as follows
With the corresponding multiple subtest application programs (s201 in embodiment illustrated in fig. 2) of program, specifically, shown in Figure 3
Embodiment.
The schematic flow sheet of the determination subtest application program method that Fig. 3 provides for the present invention, refers to Fig. 3, the party
Method may include that
S301, the acquisition corresponding multiple sample daily records of application program to be tested, each sample daily record is used for instruction user to electricity
Depending in application program usage record;
S302, in each multiple sample daily records, obtain the corresponding affiliate application of application program to be tested, associated application
The time of running of program is less than the first predetermined threshold value with the time difference of the time of running of application program to be tested;
S303, determine multiple subtest application programs in affiliate application.
In the embodiment shown in fig. 3, when test device it needs to be determined that the corresponding subtest of application program to be tested should
When using program, first obtain the corresponding multiple sample daily records of application program to be tested, in recording in each sample daily record, user is to TV
In application program usage record.Specifically, treating before test application program tested, first by certain customers in electricity
Depending on middle, application program to be tested is installed, and treats test application program and tried out, meanwhile, generate user on television to TV
In application program usage record.
After test device determines to obtain sample daily record, test device obtains application program to be tested in sample daily record
Corresponding affiliate application, the time of running of affiliate application is little with the time difference of the time of running of application program to be tested
In the first predetermined threshold value.Optionally, have recorded the time of running of each application program in TV in sample daily record, during this operation
The initial time of running of application program can be included quarter and terminate the time of running, so that test device is according to each application program
The time of running, the time difference of the time of running and the time of running of application program to be tested is less than the application journey of the first predetermined threshold value
Sequence is defined as affiliate application.Optionally, this first predetermined threshold value can be 1 minute, 5 minutes etc., can be according to actual need
This first predetermined threshold value is set.
After test device determines to obtain affiliate application, test device determines multiple auxiliary in affiliate application
Help test application program.Optionally, test device can obtain the degree of association of each affiliate application and application program to be tested,
And the degree of association is defined as subtest application program more than the affiliate application of the second predetermined threshold value.Optionally, for appoint
One affiliate application of meaning, can be confirmed as the secondary of affiliate application according to this affiliate application in sample daily record
Number, determines the degree of association of this affiliate application and application program to be tested, wherein, is confirmed as the number of times of affiliate application
More, affiliate application is higher with the degree of association of application program to be tested.
Below, by specific example, the method shown in Fig. 3 embodiment is described in detail.
Exemplary it is assumed that application program to be tested is application program 1, before application program 1 is tested, first will
Application program 1 meets at 100 users and is tried out, and obtains the corresponding 100 sample daily records of this 100 users.
Test device is analyzed to this 100 sample daily records, determines that the application program that each sample daily record includes runs
Moment it is assumed that the application program time of running in this 100 sample daily records as shown in table 1:
Table 1
The application program time of running according to table 1 for the test device, determine the corresponding associated application journey of application program 1
Sequence, specifically, test device determines obtain, the corresponding affiliate application of application program 1 such as table 2 institute in each sample daily record
Show:
Table 2
The mark of sample daily record | The mark of affiliate application |
Sample daily record 1 | Application program 2 |
Sample daily record 2 | Application program 3, application program 2 |
Sample daily record 3 | Application program 2, application program 4 |
…… | …… |
The number of times that test device occurs according to affiliate application each in table 2, determines that in affiliate application auxiliary is surveyed
Examination application program, optionally, test device can will appear from the most multiple affiliate applications of number of times and be defined as subtest
Application program.
In above process, the test device actually used record to television applications, determination auxiliary survey according to user
Examination application program is so that treat the use that the process that test application program tested treats test application program closer to user
Process, and then improve the verity that application to be tested is tested.
On the basis of any one embodiment above-mentioned, optionally, can be determined according to implementation feasible as follows and treat
Corresponding multiple first test cases of test application program and the corresponding second test case (Fig. 2 of each subtest application program
S202 in illustrated embodiment), specifically, embodiment shown in Figure 4.
Fig. 4 provides location survey really to try the schematic flow sheet of case method for the present invention, refers to Fig. 4, the method can be wrapped
Include:
S401, the test parameter according to each subtest application program, determine each subtest application program corresponding
Two test cases;
S402, determine that each second test case is corresponding, the test parameter of application program to be tested respectively;
S403, respectively according to each second test case is corresponding, application program to be tested test parameter, determine multiple
One test case.
In the embodiment shown in fig. 4, after test device determines to obtain subtest application program, test device is first
Determine corresponding second test case of subtest application program.Optionally, due to subtest application program be used for realizing right
Handoff procedure between application program to be tested and subtest application program is tested, therefore, each HELPER APPLICATIONS pair
The test parameter answered can only include start-up operation and exit operation, i.e. the second test case is to subtest application program
The test process being started and being exited.
After test device determines to obtain corresponding second test case of each subtest application program, test device is divided
Do not determine that each second test case is corresponding, the test parameter of application program to be tested, optionally, according to the second test case
Difference, determines that the test parameter of the application program to be tested obtaining is also different.Optionally, can be according to user to answering in TV
The sample daily record being used with program, determines that each second test case is corresponding, the test parameter of application program to be tested, with
The test parameter that determination obtains is made more to meet the actually used process that user treats test application program.Optionally, each second survey
Examination example is corresponding, application program to be tested test parameter can include treating multiple operation things of test application program input
Part, the execution number of times of each Action Events, execution sequence of multiple Action Events etc..Optionally, Action Events can include substantially
Navigation event (corresponding event of upper and lower, left and right button etc.), prime navaid event (determination, return event etc.), system navigation
Event (homepage, quiet, volume control event etc.).
Determine in test device obtain that each second test case is corresponding, after application program to be tested test parameter,
Test device, respectively according to each second test case is corresponding, application program to be tested test parameter, determines multiple first surveys
Examination example.Wherein, when the test parameter of application program to be tested is different, the first test case being determined according to this test parameter
Also differ.For example, it is assumed that application program to be tested is music application, test device determines obtain, this music application
The test parameter of program includes: startup event, down button event, choose event, return event, then true according to this test parameter
Surely the test case obtaining is startup music application, down button is chosen a piece of music, play music, exits music application
One test process of program.
In above process, test device determines that each second test case is corresponding, test of application program to be tested ginseng
Number, and according to each second test case is corresponding, application program to be tested test parameter, determine multiple first test cases,
So that determining that the first test case respectively each second test case obtaining is corresponding, further increase to application to be tested
Program test comprehensive.
On the basis of embodiment illustrated in fig. 4, optionally, the first test can be determined by implementation feasible as follows
Cross-beta order (s203 in embodiment illustrated in fig. 2) of example and the second test case, specifically, shown in Figure 5
Embodiment.
The schematic flow sheet of the determination cross-beta sequential grammar that Fig. 5 provides for the present invention, refers to Fig. 5, the method can
To include:
S501, acquisition corresponding second test case of each first test case;
S502, determine the testing sequence of the first test case;
S503, the testing sequence according to the first test case and corresponding second test case of each first test case, really
Determine cross-beta order, wherein, the order between each first test case and corresponding second test case is preset order.
Embodiment according to Fig. 4, test device can determine the first test case and the correspondence of the second test case
Relation, when test device it needs to be determined that during cross-beta order, test device obtains corresponding second survey of each first test case
Examination example.
Test device also determines that the testing sequence of the first test case, optionally, can pass through visualization interface by user
Input the testing sequence of the first test case it is also possible to be treated the use day of test application program according to user by test device
Will, determines the testing sequence of the first test case.
Test device according to the testing sequence of the first test case, corresponding second test case of each first test case,
And the order between each first test case and corresponding second test case is preset order, determine cross-beta order.
Below, by specific example, the method shown in Fig. 5 embodiment is described in detail.
Exemplary it is assumed that the first test case includes s11, s12, s13, s14, each first test case corresponding second
Test case is as shown in table 3:
Table 3
First test case | Second test case |
s11 | s2 |
s12 | s3 |
s13 | s4 |
s14 | s5 |
Assume again that the first test case order be s11, s12, s13, s14, the first test case with corresponding second survey
Preset order between examination example is: before the first test case is located at the second test case, then test device is according to the first survey
The testing sequence of examination example, corresponding second test case of each first test case and preset order, determine the intersection obtaining
Testing sequence is:
s11、s2、s12、s3、s13、s4、s14、s5.
In above process, test device is according to the corresponding relation between the first test case and the second test case, really
Determine cross-beta order, so that test device can be intersected to the first related test case and the second test case successively
Test, and then can more comprehensively treat test application program and the handoff procedure of subtest application program is tested,
Further improve the accuracy to Application testing.
The structural representation one of the television applications test device that Fig. 6 provides for invention, refers to Fig. 6, this device bag
Include:
First determining module 601, for determining the corresponding multiple subtest application programs of application program to be tested;
Second determining module 602, for determining corresponding multiple first test cases of described application program to be tested and each
Corresponding second test case of described subtest application program;
3rd determining module 603, for determining the cross-beta of described first test case and described second test case
Sequentially, so that including at least one second test case between two the first adjacent test cases;
Test module 604, for according to described cross-beta order, to each described first test case and each described second
Test case is tested.
Television applications test device shown in the embodiment of the present invention can execute the skill shown in said method embodiment
Art scheme, it realizes principle and beneficial effect is similar to, and is no longer repeated herein.
The structural representation two of the television applications test device that Fig. 7 provides for invention, in the base of embodiment illustrated in fig. 6
On plinth, refer to Fig. 7, described first determining module 601 includes first acquisition unit 6011, second acquisition unit 6012 and determines
Unit 6013, wherein,
Described first acquisition unit 6011 is used for, and obtains the corresponding multiple sample daily records of described application program to be tested, respectively
Described sample daily record is used for the usage record to the application program in TV for the instruction user;
Described second acquisition unit 6012 is used for, and obtains described application program to be tested in each the plurality of sample daily record
Corresponding affiliate application, the time of running of described affiliate application and the time of running of described application program to be tested
Time difference is less than the first predetermined threshold value;
Described determining unit 6013 is used for, and determines the plurality of subtest application journey in described affiliate application
Sequence.
In a kind of possible embodiment, described determining unit 6013 specifically for:
Obtain the degree of association of each described affiliate application and described application program to be tested;
The affiliate application that the degree of association is more than the second predetermined threshold value is defined as described subtest application program.
In alternatively possible embodiment, described second determining module 602 specifically for:
According to the test parameter of each described subtest application program, determine that each described subtest application program is corresponding
Second test case;
Determine the test parameter of corresponding, the described application program to be tested of each described second test case respectively;
Test parameter according to corresponding, the described application program to be tested of each described second test case, determines institute respectively
State multiple first test cases.
In alternatively possible embodiment, described 3rd determining module 603 specifically for:
Obtain corresponding second test case of each described first test case;
Determine the testing sequence of described first test case;
Testing sequence according to described first test case and corresponding second test of each described first test case are real
Example, determines described cross-beta order, wherein, order between each described first test case and corresponding second test case
For preset order.
Further, described device also includes generation module 605, wherein,
Described generation module 605 is used for, in described second determining module 602 according to described cross-beta order, to each institute
State the first test case and after each described second test case tested, generate the corresponding survey of each described first test case
Test-object is known.
Television applications test device shown in the embodiment of the present invention can execute the skill shown in said method embodiment
Art scheme, it realizes principle and beneficial effect is similar to, and is no longer repeated herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to
Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.This journey
Sequence upon execution, executes the step including above-mentioned each method embodiment;And aforesaid storage medium includes: rom, ram, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Finally it is noted that various embodiments above, only in order to technical scheme to be described, is not intended to limit;To the greatest extent
Pipe has been described in detail to the present invention with reference to foregoing embodiments, it will be understood by those within the art that: its according to
So the technical scheme described in foregoing embodiments can be modified, or wherein some or all of technical characteristic is entered
Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a kind of television applications method of testing is it is characterised in that include:
Determine the corresponding multiple subtest application programs of application program to be tested;
Determine that corresponding multiple first test cases of described application program to be tested and each described subtest application program correspond to
The second test case;
Determine the cross-beta order of described first test case and described second test case, so that two the first adjacent surveys
At least one second test case is included between examination example;
According to described cross-beta order, each described first test case and each described second test case are tested.
2. method according to claim 1 is it is characterised in that the corresponding multiple auxiliary of described determination application program to be tested
Test application program, comprising:
Obtain the corresponding multiple sample daily records of described application program to be tested, each described sample daily record is used for instruction user to TV
In application program usage record;
Obtain the corresponding affiliate application of described application program to be tested in each the plurality of sample daily record, described association should
It is less than the first predetermined threshold value with the time of running of program with the time difference of the time of running of described application program to be tested;
The plurality of subtest application program is determined in described affiliate application.
3. method according to claim 2 it is characterised in that described determine in described affiliate application the plurality of
Subtest application program, comprising:
Obtain the degree of association of each described affiliate application and described application program to be tested;
The affiliate application that the degree of association is more than the second predetermined threshold value is defined as described subtest application program.
4. the method according to any one of claim 1-3 is it is characterised in that the described application program pair to be tested of described determination
Multiple first test cases answered and corresponding second test case of each described subtest application program, comprising:
According to the test parameter of each described subtest application program, determine each described subtest application program corresponding second
Test case;
Determine the test parameter of corresponding, the described application program to be tested of each described second test case respectively;
Test parameter according to corresponding, the described application program to be tested of each described second test case, determines described many respectively
Individual first test case.
5. method according to claim 4 is it is characterised in that described first test case of described determination and described second is surveyed
The cross-beta order of examination example, so that including at least one second test case between two the first adjacent test cases,
Including:
Obtain corresponding second test case of each described first test case;
Determine the testing sequence of described first test case;
Testing sequence according to described first test case and corresponding second test case of each described first test case, really
Fixed described cross-beta order, wherein, each described first test case is pre- with the order between corresponding second test case
If order.
6. the method according to any one of claim 1-3 it is characterised in that described according to described cross-beta order, right
After each described first test case and each described second test case are tested, also include:
Generate each described first test case corresponding test mark.
7. a kind of television applications test device is it is characterised in that include:
First determining module, for determining the corresponding multiple subtest application programs of application program to be tested;
Second determining module, for determining corresponding multiple first test cases of described application program to be tested and each described auxiliary
Help corresponding second test case of test application program;
3rd determining module, for determining the cross-beta order of described first test case and described second test case, with
Make to include at least one second test case between two the first adjacent test cases;
Test module, for according to described cross-beta order, real to each described first test case and each described second test
Example is tested.
8. device according to claim 7 it is characterised in that described first determining module include first acquisition unit,
Two acquiring units and determining unit, wherein,
Described first acquisition unit is used for, and obtains the corresponding multiple sample daily records of described application program to be tested, each described sample
Daily record is used for the usage record to the application program in TV for the instruction user;
Described second acquisition unit is used for, and obtains the corresponding pass of described application program to be tested in each the plurality of sample daily record
Connection application program, the time of running of described affiliate application is little with the time difference of the time of running of described application program to be tested
In the first predetermined threshold value;
Described determining unit is used for, and determines the plurality of subtest application program in described affiliate application.
9. device according to claim 8 it is characterised in that described determining unit specifically for:
Obtain the degree of association of each described affiliate application and described application program to be tested;
The affiliate application that the degree of association is more than the second predetermined threshold value is defined as described subtest application program.
10. the device according to any one of claim 7-9 it is characterised in that described second determining module specifically for:
According to the test parameter of each described subtest application program, determine each described subtest application program corresponding second
Test case;
Determine the test parameter of corresponding, the described application program to be tested of each described second test case respectively;
Test parameter according to corresponding, the described application program to be tested of each described second test case, determines described many respectively
Individual first test case.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810434314.0A CN108650505B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
CN201810434320.6A CN108833904B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
CN201610649408.0A CN106341681B (en) | 2016-08-09 | 2016-08-09 | Television applications test method and device |
CN201810434315.5A CN108600741A (en) | 2016-08-09 | 2016-08-09 | Television applications test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610649408.0A CN106341681B (en) | 2016-08-09 | 2016-08-09 | Television applications test method and device |
Related Child Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810434315.5A Division CN108600741A (en) | 2016-08-09 | 2016-08-09 | Television applications test method |
CN201810434320.6A Division CN108833904B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
CN201810434314.0A Division CN108650505B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106341681A true CN106341681A (en) | 2017-01-18 |
CN106341681B CN106341681B (en) | 2018-08-07 |
Family
ID=57824994
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810434314.0A Active CN108650505B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
CN201610649408.0A Active CN106341681B (en) | 2016-08-09 | 2016-08-09 | Television applications test method and device |
CN201810434320.6A Active CN108833904B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
CN201810434315.5A Withdrawn CN108600741A (en) | 2016-08-09 | 2016-08-09 | Television applications test method |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810434314.0A Active CN108650505B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810434320.6A Active CN108833904B (en) | 2016-08-09 | 2016-08-09 | Television application program testing method |
CN201810434315.5A Withdrawn CN108600741A (en) | 2016-08-09 | 2016-08-09 | Television applications test method |
Country Status (1)
Country | Link |
---|---|
CN (4) | CN108650505B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135390A (en) * | 2017-05-08 | 2017-09-05 | 湖南快乐阳光互动娱乐传媒有限公司 | Automatic testing method and system for television application |
CN109597762A (en) * | 2018-11-28 | 2019-04-09 | 平安科技(深圳)有限公司 | System transposition method of testing, system, electronic device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102095448A (en) * | 2010-12-08 | 2011-06-15 | 江苏天泽信息产业股份有限公司 | Automatic testing system of production line of vehicle information terminal and testing method of system |
CN102855184A (en) * | 2012-07-24 | 2013-01-02 | 北京播思软件技术有限公司 | Android automatic test cross application device and method |
CN103838663A (en) * | 2012-11-20 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Application testing method and device |
CN104794049A (en) * | 2014-01-20 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Application program test method and device |
CN105302706A (en) * | 2014-06-05 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Application test method and apparatus |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1164488A1 (en) * | 2000-06-14 | 2001-12-19 | Canal+ Technologies Société Anonyme | Remote debugging in an embedded system enviroment |
KR100803581B1 (en) * | 2000-10-26 | 2008-02-15 | 삼성전자주식회사 | Apparatus for automatic generating test data and method thereof |
CN101431692A (en) * | 2007-11-08 | 2009-05-13 | 青岛海信电器股份有限公司 | Video apparatus test method and system |
CN100568179C (en) * | 2008-04-01 | 2009-12-09 | 中兴通讯股份有限公司 | A kind of method for generating test case based on relation |
CN101661580B (en) * | 2009-07-22 | 2012-05-02 | 中国农业银行股份有限公司 | Method and system for testing software |
US8978015B2 (en) * | 2011-08-15 | 2015-03-10 | Red Hat, Inc. | Self validating applications |
CN102508780B (en) * | 2011-11-21 | 2014-08-20 | 电子科技大学 | Crossed dynamic software testing method and device |
CN104008056B (en) * | 2014-05-30 | 2016-11-23 | 广州华多网络科技有限公司 | Method for testing software and device |
CN105404505A (en) * | 2015-11-02 | 2016-03-16 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105608005B (en) * | 2015-12-23 | 2018-05-25 | 深圳创维-Rgb电子有限公司 | The test method and system of a kind of television system |
-
2016
- 2016-08-09 CN CN201810434314.0A patent/CN108650505B/en active Active
- 2016-08-09 CN CN201610649408.0A patent/CN106341681B/en active Active
- 2016-08-09 CN CN201810434320.6A patent/CN108833904B/en active Active
- 2016-08-09 CN CN201810434315.5A patent/CN108600741A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102095448A (en) * | 2010-12-08 | 2011-06-15 | 江苏天泽信息产业股份有限公司 | Automatic testing system of production line of vehicle information terminal and testing method of system |
CN102855184A (en) * | 2012-07-24 | 2013-01-02 | 北京播思软件技术有限公司 | Android automatic test cross application device and method |
CN103838663A (en) * | 2012-11-20 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Application testing method and device |
CN104794049A (en) * | 2014-01-20 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Application program test method and device |
CN105302706A (en) * | 2014-06-05 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Application test method and apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135390A (en) * | 2017-05-08 | 2017-09-05 | 湖南快乐阳光互动娱乐传媒有限公司 | Automatic testing method and system for television application |
CN109597762A (en) * | 2018-11-28 | 2019-04-09 | 平安科技(深圳)有限公司 | System transposition method of testing, system, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108600741A (en) | 2018-09-28 |
CN108833904B (en) | 2020-10-13 |
CN108833904A (en) | 2018-11-16 |
CN106341681B (en) | 2018-08-07 |
CN108650505A (en) | 2018-10-12 |
CN108650505B (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Hao et al. | Test input reduction for result inspection to facilitate fault localization | |
CN108717393A (en) | A kind of applied program testing method and mobile terminal | |
US20160352892A1 (en) | Method and apparatus for facilitating speech application testing | |
KR102537875B1 (en) | Method and apparatus for dinamically injecting fault for vehicle ecu software test | |
CN107943694B (en) | Test data generation method and device | |
US20100115496A1 (en) | Filter generation for load testing managed environments | |
US6957420B2 (en) | Method of generating test scripts for systems having dynamic behavior | |
CN107463500A (en) | Adjustment method, medium, system and the computing device of test script | |
CN104461846B (en) | The method and apparatus for detecting application program power consumption | |
US10877778B2 (en) | Sequence detection and automation for complex portal environments | |
CN104239168B (en) | Interim card detection method and equipment | |
CN106776312B (en) | The method, apparatus of cloud pressure testing data distribution calculates equipment and pressure testing system | |
US11409623B2 (en) | Integrated circuit (IC) power-up testing method and device, and electronic equipment | |
CN103699477A (en) | Pressure testing method and terminal | |
CN106341681A (en) | Television application testing method and apparatus | |
Sandin et al. | Comparative Evaluation of Automated Unit Testing Tool for PHP | |
CN107220165A (en) | The method and apparatus of pressure test on a kind of artificial line | |
CN106326102A (en) | Test method and apparatus | |
CN110659209A (en) | Automatic testing method, device and system based on interface calling | |
CN111414309A (en) | Automatic test method of application program, computer equipment and storage medium | |
CN113127331B (en) | Test method and device based on fault injection and computer equipment | |
CN110502422A (en) | A kind of automatic test approach, test device and the device with store function | |
CN100462938C (en) | System and method for simulating programe mounting and operating | |
CN107704391A (en) | Selenium-based testing method and device | |
CN108763039B (en) | Service fault simulation method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |