CN108650505A - Television applications test method - Google Patents

Television applications test method Download PDF

Info

Publication number
CN108650505A
CN108650505A CN201810434314.0A CN201810434314A CN108650505A CN 108650505 A CN108650505 A CN 108650505A CN 201810434314 A CN201810434314 A CN 201810434314A CN 108650505 A CN108650505 A CN 108650505A
Authority
CN
China
Prior art keywords
test
application program
test case
tested
subtest
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
Application number
CN201810434314.0A
Other languages
Chinese (zh)
Other versions
CN108650505B (en
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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201810434314.0A priority Critical patent/CN108650505B/en
Publication of CN108650505A publication Critical patent/CN108650505A/en
Application granted granted Critical
Publication of CN108650505B publication Critical patent/CN108650505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring 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/4424Monitoring 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

A kind of television applications test method of offer of the embodiment of the present invention and device, this method include:Determine the corresponding multiple subtest application programs of application program to be tested;Determine corresponding multiple first test cases of application program to be tested and corresponding second test case of each subtest application program;The cross-beta sequence of the first test case and the second test case is determined, so as to include at least one second test case between two adjacent first test cases;According to cross-beta sequence, each first test case and each second test case are tested.Accuracy for improving Application testing.

Description

Television applications test method
The application is on 08 09th, 2016 entitled " television applications test method and the device " proposed The divisional application of Chinese invention patent application 201610649408.0.
Technical field
The present embodiments relate to TV technology more particularly to a kind of television applications test method and devices.
Background technology
With the continuous development of TV tech, the application program that can be installed in TV is more and more, in order to ensure TV In each application program can with normal operation, before to application issued, need on television to application program carry out Test.
In the prior art, when needing to test the application program of installation on television, usually pacify on television Application program is filled, and repetitive operation is carried out to the application program installed in TV by tester, is answered in tester's operation During program, tester is observed (such as the function in application program by the operating status to application program Whether normally start, whether the interface of application program is normal etc.), to determine the test result of application program.
However, the test item due to application program is excessive so that tester is difficult to be tested comprehensively application program, Cause the accuracy tested application program poor.
Invention content
A kind of television applications test method of offer of the embodiment of the present invention and device, for improving Application testing Accuracy.
In a first aspect, the embodiment of the present invention provides a kind of television applications test method, including:
Determine the corresponding multiple subtest application programs of application program to be tested;
Determine corresponding multiple first test cases of the application program to be tested and each subtest application program Corresponding second test case;
The cross-beta sequence of first test case and second test case is determined, so that two adjacent the It include at least one second test case between one test case;
According to cross-beta sequence, each first test case and each second test case are surveyed Examination.
In a kind of possible embodiment, the corresponding multiple subtest application journeys of the determination application program to be tested Sequence, including:
The corresponding multiple sample daily records of the application program to be tested are obtained, each sample daily record is used to indicate user couple The usage record of application program in TV;
The corresponding affiliate application of the application program to be tested, the pass are obtained in each the multiple sample daily record The time difference for joining the time of running of application program and the time of running of the application program to be tested is less than the first predetermined threshold value;
The multiple subtest application program is determined in the affiliate application.
It is described that the multiple subtest is determined in the affiliate application in alternatively possible embodiment Application program, including:
Obtain the degree of association of each affiliate application and the application program to be tested;
The affiliate application that the degree of association is more than to the second predetermined threshold value is determined as the subtest application program.
In alternatively possible embodiment, the determination application program corresponding multiple first to be tested is tested Example and corresponding second test case of each subtest application program, including:
According to the test parameter of each subtest application program, determine that each subtest application program is corresponding Second test case;
The test parameter of corresponding, the described application program to be tested of each second test case is determined respectively;
Respectively according to the test parameter of corresponding, the described application program to be tested of each second test case, institute is determined State multiple first test cases.
In alternatively possible embodiment, determination first test case and second test case Cross-beta sequence, so as to include at least one second test case between two adjacent first test cases, including:
Obtain corresponding second test case of each first test case;
Determine the testing sequence of first test case;
It is real according to corresponding second test of the testing sequence of first test case and each first test case Example determines the cross-beta sequence, wherein the sequence between each first test case and corresponding second test case For preset order.
It is described according to cross-beta sequence in alternatively possible embodiment, it is real to each first test After example and each second test case are tested, further include:
Generate the corresponding test mark of each first test case.
Second aspect, the embodiment of the present invention provide a kind of television applications test device, including:
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 the application program to be tested and each institute State corresponding second test case of subtest application program;
Third determining module, the cross-beta for determining first test case and second test case are suitable Sequence, so as to include at least one second test case between two adjacent first test cases;
Test module, for according to cross-beta sequence, being surveyed to each first test case and each described second Examination example is tested.
In a kind of possible embodiment, first determining module includes first acquisition unit, second acquisition unit And determination unit, wherein
The first acquisition unit is used for, and obtains the corresponding multiple sample daily records of the application program to be tested, each described Sample daily record is used to indicate usage record of the user to the application program in TV;
The second acquisition unit is used for, and the application program to be tested is obtained in each the multiple sample daily record and is corresponded to Affiliate application, the time of the time of running of the time of running of the affiliate application and the application program to be tested Difference is less than the first predetermined threshold value;
The determination unit is used for, and the multiple subtest application program is determined in the affiliate application.
In alternatively possible embodiment, the determination unit is specifically used for:
Obtain the degree of association of each affiliate application and the application program to be tested;
The affiliate application that the degree of association is more than to the second predetermined threshold value is determined as the subtest application program.
In alternatively possible embodiment, second determining module is specifically used for:
According to the test parameter of each subtest application program, determine that each subtest application program is corresponding Second test case;
The test parameter of corresponding, the described application program to be tested of each second test case is determined respectively;
Respectively according to the test parameter of corresponding, the described application program to be tested of each second test case, institute is determined State multiple first test cases.
In alternatively possible embodiment, the third determining module is specifically used for:
Obtain corresponding second test case of each first test case;
Determine the testing sequence of first test case;
It is real according to corresponding second test of the testing sequence of first test case and each first test case Example determines the cross-beta sequence, wherein the sequence between each first test case and corresponding second test case For preset order.
In alternatively possible embodiment, described device further includes generation module, wherein
The generation module is used for, in second determining module according to cross-beta sequence, to each described first After test case and each second test case are tested, the corresponding test mark of each first test case is generated Know.
Television applications test method 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, the corresponding multiple subtest application programs of the application program to be tested are first determined, 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 sequence, cross-beta is carried out to the first test case and the second test case.In this process, Since multiple first test sample is to treat multiple and different test process of test application program execution, by holding Multiple first test case of row, which can be realized, to be treated test application program and is comprehensively tested, further, to multiple During first test case is tested, what is also intersected tests the second test sample, and then realizes to be tested Handoff procedure between application program and subtest application program is tested, and is further improved and is treated test application program That is tested is comprehensive, and then improves the accuracy tested application program.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the application scenarios schematic diagram of television applications test method provided by the invention;
Fig. 2 is the flow diagram of television applications test method provided by the invention;
Fig. 3 is the flow diagram of determining subtest application program method provided by the invention;
Fig. 4 is the flow diagram of determining test case method provided by the invention;
Fig. 5 is the flow diagram of determining cross-beta sequential grammar provided by the invention;
Fig. 6 is the structural schematic diagram one for the television applications test device that invention provides;
Fig. 7 is the structural schematic diagram two for the television applications test device that invention provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram of television applications test method provided by the invention, refers to Fig. 1, including TV 101 and television applications test device 102.Multiple application programs are installed (to be denoted as respectively using journey in TV 101 Sequence 1 to application program N).Television applications test device 102 can test each application program in TV 101. Optionally, television applications test device 102 can be set in the computer for having connection relation with TV, and pass through meter The application program in TV is tested in the realization of calculation machine;Television applications test device 102 can also be arranged in TV 101 In.In this application, television applications test device 102 to any one application program to be tested in TV 101 into During row test, television applications test device 102 can treat the other application in test application program and TV Program carries out cross-beta, to realize that treating test application program is more comprehensively tested, and then improves to application program The accuracy of test test.In the following, by specific example, technical solution shown in the embodiment of the present application is carried out detailed Explanation.
It should be noted that these specific embodiments can be combined with each other below, for same or analogous concept Or process may repeat no more in certain embodiments.
Fig. 2 is the flow diagram of television applications test method provided by the invention, refers to Fig. 2, this method can To include:
S201, the corresponding multiple subtest application programs of application program to be tested are determined;
S202, corresponding multiple first test cases of application program to be tested and each subtest application program pair are determined The second test case answered;
S203, the cross-beta sequence for determining the first test case and the second test case, so that two adjacent first It include at least one second test case between test case;
S204, according to cross-beta sequence, 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 , the test device can be provided in TV with connection relation computer in, can also be arranged in TV.If test Device is arranged with computer, then can computer and TV be accessed the same network segment, and establish between computer and TV Adb is linked.Optionally, which can pass through software and or hardware realization.
In embodiments of the present invention, test device is similar to the test process of any one application program in TV.Under Face, by taking the process that test device tests the application program to be tested in TV as an example, to method shown in Fig. 2 embodiments 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 more A subtest application program.The subtest application program is more comprehensively surveyed for realizing test application program is treated Examination, optionally, other any applications installed in TV, in addition to application program to be tested to be tested all can be answered With the corresponding subtest application program of program.Optionally, can by user by visualization interface select it is to be tested apply journey The corresponding subtest application program of sequence, can also be installing, except waiting for by test device according to default selection rule on television Subtest application program is determined in other any applications except test application program.Optionally, the default selection rule Can be then that the minimum multiple application programs of testing time are determined as subtest application program;The default selection rule is also Can be that will be determined as subtest application program with the strongest multiple application programs of application program correlation to be tested;This is pre- If selecting rule can also be will to be easiest to cause multiple application programs of application failure to be tested to be determined as subtest Application program.It should be noted that above-mentioned is only with default selection rule in exemplary fashion, it is not to default selection rule Restriction then can be set according to actual needs the default selection rule in actual application.
After test device determines to obtain the corresponding subtest application program of application program to be tested, 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 the test process executed to application program according to preset test parameter, the test Parameter can be correspondence program input action event, for example, to application program input basic navigation event (above and below, Corresponding event of left and right button etc.), prime navaid event (determination, return event etc.), system navigation event it is (homepage, quiet Sound, volume control event etc.).When application program is video playing application program, the corresponding test case of the application program can Think the startup to video playing application program, selects video, play video, suspend video, exit video playing 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 of test case and the second test case sequence, so as to include at least one between two adjacent first test cases A second test case.Optionally, the cross-beta can be inputted according to actual test demand by visualization interface by user Sequentially, cross-beta sequence can also be determined by test device.Optionally, test device can be answered according to user to be tested Cross-beta sequence is determined with the actual use process of program, so that the reality of the cross-beta sequence and application program to be tested Border is increasingly similar using process, and then improves the authenticity for treating test application program test.
After test device determines to obtain cross-beta sequence, test device is according to cross-beta sequence, to each first Test case and each second test case are tested, to determine the test result for treating test application program.Optionally, it is surveying Trial assembly is set the first test case and the second test case are tested during, 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 testing each first test case and each second test case, test device can be with The corresponding test mark of each first test case is generated, the test mark of each the first test case is all different.In this way, with Family can easily identify according to test and determine that the test identifies corresponding test process, and then can be easily to test process It is reset, reappears the failure in application program to be tested conducive to user.
In the following, by specific example, method shown in Fig. 2 embodiments is described in detail.
Illustratively, it is assumed that 8 application programs are installed in TV, are denoted as application program 1- application programs 8 respectively, then false If application program to be tested is application program 1.
When test device needs to test application program 1, optionally, test device will be carried out with application program 1 Switching 5 application programs the most frequent are determined as HELPER APPLICATIONS, it is assumed that assistance application test program is application program 2- Application program 6.Wherein, it refers to exiting after application program 1 to start at once that HELPER APPLICATIONS is switched over application program 1 It HELPER APPLICATIONS or exits and starts application program 1 after HELPER APPLICATIONS at once.
Test device determines corresponding 5 the first test cases of application program, is denoted as test case 11- test cases respectively 15, wherein test case 11- test cases 15 are the different test process executed to application program 1.Test device is also true respectively The second test sample for determining application program 2- application programs 6 is denoted as test case 2- test cases 6 respectively.
Test device determines the cross-beta sequence of multiple first test case and the second test case, it is assumed that the intersection Testing sequence is:Test case 11, test case 12, test case 3, test case 13, test case 4, is surveyed test case 2 Try example 14, test case 5, test case 15, test case 6.
Test device is according to above-mentioned cross-beta sequence to test case 11- test cases 15 and test case 2- tests Example 6 is tested, to determine the test result to application program 1.
Television applications test method provided in an embodiment of the present invention, it is to be tested to any one in TV when needing When application program is tested, the corresponding multiple subtest application programs of the application program to be tested are first determined, and generate and wait for Corresponding multiple first test cases of test application program and corresponding second test case of each subtest application program, And according to cross-beta sequence, cross-beta is carried out to the first test case and the second test case.In this process, due to this Multiple first test samples are to treat multiple and different test process of test application program execution, therefore, more by executing this A first test case, which can be realized, to be treated test application program and is comprehensively tested, and further, is surveyed to multiple first During examination example is tested, what is also intersected tests the second test sample, and then realizes and treat test application journey Handoff procedure between sequence and subtest application program is tested, and is further improved and is treated test application program and surveyed That tries is comprehensive, and then improves the accuracy tested application program.
On the basis of embodiment shown in Fig. 2, optionally, to be tested answer can be determined by following feasible realization method With the corresponding multiple subtest application programs (S201 in embodiment illustrated in fig. 2) of program, specifically, shown in Figure 3 Embodiment.
Fig. 3 is the flow diagram of determining subtest application program method provided by the invention, refers to Fig. 3, the party Method may include:
S301, the corresponding multiple sample daily records of application program to be tested are obtained, each sample daily record is used to indicate user to electricity The usage record of application program depending in;
S302, the corresponding affiliate application of application program to be tested, associated application are obtained in each multiple sample daily records The time of running of program and the time difference of the time of running of application program to be tested are less than the first predetermined threshold value;
S303, multiple subtest application programs are determined 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 is answered When with program, the corresponding multiple sample daily records of application program to be tested are first obtained, user is to TV in being recorded in each sample daily record In application program usage record.Specifically, before treating test application program and being tested, first by certain customers in electricity Depending on middle installation application program to be tested, and treats test application program and tried out, meanwhile, user is generated 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 and the time difference of the time of running of application program to be tested are small In the first predetermined threshold value.Optionally, the time of running of each application program in TV is had recorded in sample daily record, when the operation Quarter may include the starting time of running of application program and terminate the time of running, so that test device is according to each application program The time difference of the time of running and the time of running of application program to be tested are less than the application journey of the first predetermined threshold value by the time of running Sequence is determined as affiliate application.Optionally, which can be 1 minute, 5 minutes etc., can be according to practical need First predetermined threshold value is set.
After test device determines to obtain affiliate application, test device determination in affiliate application is multiple auxiliary 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 affiliate application that the degree of association is more than to the second predetermined threshold value is determined as subtest application program.Optionally, for appoint One affiliate application of meaning can be confirmed as time of affiliate application according to the affiliate application in sample daily record Number, determines the degree of association of the affiliate application and application program to be tested, wherein be confirmed as the number of affiliate application More, affiliate application and the degree of association of application program to be tested are higher.
In the following, by specific example, method shown in Fig. 3 embodiments is described in detail.
Illustratively, it is assumed that application program to be tested is application program 1, before testing application program 1, first will Application program 1 meets at 100 users and tries out, and obtains the corresponding 100 sample daily records of 100 users.
Test device analyzes 100 sample daily records, determines the application program operation that each sample daily record includes Moment, it is assumed that the application program time of running in 100 sample daily records is as shown in table 1:
Table 1
Test device determines 1 corresponding associated application journey of application program according to the application program time of running shown in table 1 Sequence, specifically, test device determines obtain, 1 corresponding affiliate application of application program such as 2 institute of table 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
…… ……
Test device determines that auxiliary is surveyed according to the number that each affiliate application occurs in table 2 in affiliate application Application program is tried, optionally, the most multiple affiliate applications of occurrence number can be determined as subtest by test device Application program.
In above process, test device records the actual use of television applications according to user, determines that auxiliary is surveyed Try application program so that treat the use that the process that test application program is tested treats test application program closer to user Process, and then improve and treat the authenticity that test application is tested.
On the basis of any one above-mentioned embodiment, optionally, it can be waited for according to following feasible realization method determination 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 is the flow diagram of determining test case method provided by the invention, refers to Fig. 4, this method can wrap It includes:
S401, according to the test parameter of each subtest application program, determine each subtest application program corresponding Two test cases;
S402, the test parameter for determining corresponding, the to be tested application program of each second test case respectively;
S403, respectively according to the test parameter of corresponding, the to be tested application program of each second test case, 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, since subtest application program is 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 only including start-up operation and can exit operation, that is, the second test case is to subtest application program The test process for being started and being exited.
After test device determines to obtain corresponding second test case of each subtest application program, test device point Not Que Ding corresponding, the to be tested application program of each second test case test parameter, optionally, according to the second test case Difference determines that the test parameter of obtained application program to be tested is also different.It optionally, can be according to user to answering in TV The sample daily record used with program determines the test parameter of corresponding, the to be tested application program of each second test case, with Make to determine that obtained test parameter more meets the actual use process that user treats test application program.Optionally, it each second surveys The test parameter of corresponding, the to be tested application program of examination example may include the multiple operation things for treating test application program input The execution sequence etc. for executing number, multiple action events of part, each action event.Optionally, action event may include basic Navigation event (corresponding event of upper and lower, left and right button etc.), prime navaid event (determination, return event etc.), system navigation Event (homepage, mute, volume control event etc.).
After test device determines to obtain the test parameter of corresponding, the to be tested application program of each second test case, Test device determines that multiple first survey respectively according to the test parameter of corresponding, the to be tested application program of each second test case Try example.Wherein, when the test parameter difference of application program to be tested, according to the first test case of test parameter determination Also it differs.For example, it is assumed that application program to be tested is music application, test device the determines, music application The test parameter of program includes:Startup event, down button event choose event, return event, then true according to the test parameter Surely the test case obtained chooses a piece of music, plays music, exits music application for startup music application, down button One test process of program.
In above process, test device determines the test ginseng of corresponding, the to be tested application program of each second test case Number, and according to the test parameter of corresponding, the to be tested application program of each second test case, determine multiple first test cases, So as to determine that the first obtained test case is respectively that each second test case is corresponding, further improves and treat test application Program test it is comprehensive.
On the basis of embodiment shown in Fig. 4, optionally, the first test can be determined by following feasible realization method The cross-beta of example and the second test case sequence (S203 in embodiment illustrated in fig. 2), specifically, shown in Figure 5 Embodiment.
Fig. 5 is the flow diagram of determining cross-beta sequential grammar provided by the invention, refers to Fig. 5, this method can To include:
S501, corresponding second test case of each first test case is obtained;
S502, the testing sequence for determining the first test case;
S503, testing sequence and corresponding second test case of each first test case according to the first test case, really Determine cross-beta sequence, wherein the sequence between each first test case and corresponding second test case is preset order.
Embodiment according to Fig.4, test device can determine the correspondence of the first test case and the second test case Relationship, when test device it needs to be determined that when cross-beta sequence, test device obtains each first test case corresponding second and surveys Try example.
Test device also determines that the testing sequence of the first test case optionally can pass through visualization interface by user The testing sequence of the first test case is inputted, the use day of test application program can also be treated 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 sequence between each first test case and corresponding second test case is preset order, determines cross-beta sequence.
In the following, by specific example, method shown in Fig. 5 embodiments is described in detail.
Illustratively, 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 sequence of the first test case is S11, S12, S13, S14, the first test case is surveyed with corresponding second Examination example between preset order be:First test case is located at before the second test case, then test device is surveyed according to first Testing sequence, corresponding second test case of each first test case and the preset order of example are tried, determines obtained intersection Testing sequence is:
S11、S2、S12、S3、S13、S4、S14、S5。
In above process, test device is according to the correspondence between the first test case and the second test case, really Cross-beta sequence is determined, so that test device can successively intersect relevant first test case and the second test case Test, and then the handoff procedure that can more comprehensively treat test application program and subtest application program is tested, The further accuracy improved to Application testing.
Fig. 6 is the structural schematic diagram one for the television applications test device that invention provides, and refers to Fig. 6, the device packet It includes:
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 the application program to be tested and each Corresponding second test case of the subtest application program;
Third determining module 603, the cross-beta for determining first test case and second test case Sequentially, so as to include at least one second test case between two adjacent first test cases;
Test module 604 is used for according to cross-beta sequence, to each 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 skill shown in above method embodiment Art scheme, realization principle and advantageous effect are similar, are no longer repeated herein.
Fig. 7 is the structural schematic diagram two for the television applications test device that invention provides, the base of embodiment shown in Fig. 6 On plinth, Fig. 7 is referred to, first determining module 601 includes first acquisition unit 6011, second acquisition unit 6012 and determines Unit 6013, wherein
The first acquisition unit 6011 is used for, and obtains the corresponding multiple sample daily records of the application program to be tested, respectively The sample daily record is used to indicate usage record of the user to the application program in TV;
The second acquisition unit 6012 is used for, and the application program to be tested is obtained in each the multiple sample daily record Corresponding affiliate application, the time of running of the affiliate application and the time of running of the application program to be tested Time difference is less than the first predetermined threshold value;
The determination unit 6013 is used for, and the multiple subtest application journey is determined in the affiliate application Sequence.
In a kind of possible embodiment, the determination unit 6013 is specifically used for:
Obtain the degree of association of each affiliate application and the application program to be tested;
The affiliate application that the degree of association is more than to the second predetermined threshold value is determined as the subtest application program.
In alternatively possible embodiment, second determining module 602 is specifically used for:
According to the test parameter of each subtest application program, determine that each subtest application program is corresponding Second test case;
The test parameter of corresponding, the described application program to be tested of each second test case is determined respectively;
Respectively according to the test parameter of corresponding, the described application program to be tested of each second test case, institute is determined State multiple first test cases.
In alternatively possible embodiment, the third determining module 603 is specifically used for:
Obtain corresponding second test case of each first test case;
Determine the testing sequence of first test case;
It is real according to corresponding second test of the testing sequence of first test case and each first test case Example determines the cross-beta sequence, wherein the sequence between each first test case and corresponding second test case For preset order.
Further, described device further includes generation module 605, wherein
The generation module 605 is used for, in second determining module 602 according to cross-beta sequence, to each institute It states the first test case and after each second test case tested, generates the corresponding survey of each first test case Test-object is known.
Television applications test device shown in the embodiment of the present invention can execute skill shown in above method embodiment Art scheme, realization principle and advantageous effect are similar, are no longer repeated herein.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (4)

1. a kind of television applications test method, which is characterized in that including:
Determine the corresponding multiple subtest application programs of application program to be tested;
Determine that corresponding multiple first test cases of the application program to be tested and each subtest application program correspond to The second test case;
The cross-beta sequence for determining first test case and second test case, so that two adjacent first survey Include at least one second test case between examination example;
According to cross-beta sequence, each first test case and each second test case are tested;
The subtest application program is determined by test device according to default selection rule;It is described it is default select rule for, will It is determined as subtest application program with the strongest multiple application programs of application program correlation to be tested.
2. according to the method described in claim 1, it is characterized in that, the determination application program to be tested is corresponding multiple First test case and corresponding second test case of each subtest application program, including:
According to the test parameter of each subtest application program, each subtest application program corresponding second is determined Test case;
The test parameter of corresponding, the described application program to be tested of each second test case is determined respectively;
Respectively according to the test parameter of corresponding, the described application program to be tested of each second test case, determine described more A first test case.
3. according to the method described in claim 2, it is characterized in that, the determination first test case and described second is surveyed The cross-beta sequence of example is tried, so as to include at least one second test case between two adjacent first test cases, Including:
Obtain corresponding second test case of each first test case;
Determine the testing sequence of first test case;
According to the testing sequence of first test case and corresponding second test case of each first test case, really The fixed cross-beta sequence, wherein each first test case is pre- with the sequence between corresponding second test case If sequence.
4. according to the method described in claim 1, it is characterized in that, described according to cross-beta sequence, to each described the After one test case and each second test case are tested, further include:
Generate the corresponding test mark of each first test case.
CN201810434314.0A 2016-08-09 2016-08-09 Television application program testing method Active CN108650505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810434314.0A CN108650505B (en) 2016-08-09 2016-08-09 Television application program testing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810434314.0A CN108650505B (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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610649408.0A Division CN106341681B (en) 2016-08-09 2016-08-09 Television applications test method and device

Publications (2)

Publication Number Publication Date
CN108650505A true CN108650505A (en) 2018-10-12
CN108650505B CN108650505B (en) 2020-08-28

Family

ID=57824994

Family Applications (4)

Application Number Title Priority Date Filing Date
CN201610649408.0A Active CN106341681B (en) 2016-08-09 2016-08-09 Television applications test method and device
CN201810434314.0A Active CN108650505B (en) 2016-08-09 2016-08-09 Television application program testing method
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
CN201610649408.0A Active CN106341681B (en) 2016-08-09 2016-08-09 Television applications test method and device

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) CN106341681B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020101920A1 (en) * 2000-10-26 2002-08-01 Samsung Electronics Co., Ltd Automatic test data generating apparatus and method
CN101251798A (en) * 2008-04-01 2008-08-27 中兴通讯股份有限公司 Test case generating method based on relationship
CN101431692A (en) * 2007-11-08 2009-05-13 青岛海信电器股份有限公司 Video apparatus test method and system
CN101661580A (en) * 2009-07-22 2010-03-03 中国农业银行股份有限公司 Method and system for testing software

Family Cites Families (11)

* Cited by examiner, † Cited by third party
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
CN102095448B (en) * 2010-12-08 2012-07-18 天泽信息产业股份有限公司 Automatic testing system of production line of vehicle information terminal and testing method of system
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
CN102855184B (en) * 2012-07-24 2015-06-10 播思通讯技术(北京)有限公司 Android automatic test cross application device and method
CN103838663A (en) * 2012-11-20 2014-06-04 腾讯科技(深圳)有限公司 Application testing method and device
CN104794049B (en) * 2014-01-20 2019-05-24 腾讯科技(深圳)有限公司 Applied program testing method and device
CN104008056B (en) * 2014-05-30 2016-11-23 广州华多网络科技有限公司 Method for testing software and device
CN105302706B (en) * 2014-06-05 2019-05-24 腾讯科技(深圳)有限公司 Applied program testing method 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020101920A1 (en) * 2000-10-26 2002-08-01 Samsung Electronics Co., Ltd Automatic test data generating apparatus and method
CN101431692A (en) * 2007-11-08 2009-05-13 青岛海信电器股份有限公司 Video apparatus test method and system
CN101251798A (en) * 2008-04-01 2008-08-27 中兴通讯股份有限公司 Test case generating method based on relationship
CN101661580A (en) * 2009-07-22 2010-03-03 中国农业银行股份有限公司 Method and system for testing software

Also Published As

Publication number Publication date
CN108650505B (en) 2020-08-28
CN108833904A (en) 2018-11-16
CN106341681B (en) 2018-08-07
CN106341681A (en) 2017-01-18
CN108600741A (en) 2018-09-28
CN108833904B (en) 2020-10-13

Similar Documents

Publication Publication Date Title
US10769047B2 (en) Stepping and application state viewing between points
CN105630686B (en) A kind of application traversal test method, equipment and mobile terminal
TWI515655B (en) Method, system, and computer-readable memory for switching threads within routines
US8135572B2 (en) Integrated debugger simulator
US20120174069A1 (en) Graphical user interface testing systems and methods
CN108717393A (en) A kind of applied program testing method and mobile terminal
CN105828125A (en) Video push method and apparatus
US6957420B2 (en) Method of generating test scripts for systems having dynamic behavior
CN106341681B (en) Television applications test method and device
US10877778B2 (en) Sequence detection and automation for complex portal environments
Gardlo et al. Impact of screening technique on crowdsourcing qoe assessments
KR20160029754A (en) Software failure locating method, apparatus and equipment
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
Sun et al. Multi-objective test case prioritization for GUI applications
US20090158091A1 (en) Intelligent Job Functionality
US8201151B2 (en) Method and system for providing post-mortem service level debugging
CN106155560A (en) Application control method and device based on touch control and user terminal
US9691036B2 (en) Decision making in an elastic interface environment
US7565341B2 (en) Automatically configuring a server to support different types of file accesses
US10530835B2 (en) Application recording
CN107885649A (en) The performance test methods and device of IOS application programs
CN105701012A (en) Parameter setting method and device
CN108881585A (en) Built-in application program test processing method, device, electronic equipment and storage medium
Etsenake et al. Understanding the Human-LLM Dynamic: A Literature Survey of LLM Use in Programming Tasks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant