CN102567192A - Automatic testing method and automatic testing system for video and audio file functions based on classification and combination - Google Patents

Automatic testing method and automatic testing system for video and audio file functions based on classification and combination Download PDF

Info

Publication number
CN102567192A
CN102567192A CN2010105931745A CN201010593174A CN102567192A CN 102567192 A CN102567192 A CN 102567192A CN 2010105931745 A CN2010105931745 A CN 2010105931745A CN 201010593174 A CN201010593174 A CN 201010593174A CN 102567192 A CN102567192 A CN 102567192A
Authority
CN
China
Prior art keywords
test
excel
function
result
test result
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
CN2010105931745A
Other languages
Chinese (zh)
Other versions
CN102567192B (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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201010593174.5A priority Critical patent/CN102567192B/en
Publication of CN102567192A publication Critical patent/CN102567192A/en
Application granted granted Critical
Publication of CN102567192B publication Critical patent/CN102567192B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides an automatic testing method for video and audio file functions based on classification and combination, which includes the steps: classifying and arranging materials needing to be tested, and writing the materials into an EXCEL; importing a performance function into the materials needing to be tested in the EXCEL; testing and acquiring a testing result; and writing the testing result into the EXCEL and generating a testing result report. By the aid of the automatic testing method in the embodiment, under the condition of a vast quantity of data, the materials are classified and tested, and feasibility of some functions of a certain material and infeasibility of some functions of the material can be visually seen from the testing result report which is finally generated, so that the materials required by projects are selected and removed, and the problems that manual testing is heavy in workload and possibly unrealizable are solved.

Description

A kind of to looking audio file based on function automatic detection method and the system of sorting out combination
Technical field
The present invention relates to the automatic test technology field of file function, particularly a kind of to looking audio file based on function automatic detection method and the system of sorting out combination.
Background technology
Under the huge situation of present data volume; How a certain class file type in the system is sorted out, even judged all and need test, and the manual testing is only applicable to the less work of some data volumes now file to whether the function of file is truly feasible; After data volume arrives to a certain degree; The manual testing is inefficiency not only, and might intactly accomplish test, and error rate is high; Therefore under the background of test, how utilizing automatic test to come testing system software is an a kind of difficult problem.
Summary of the invention
For solving the problems of the technologies described above, it is a kind of to looking audio file based on the function automatic detection method of sorting out combination that one aspect of the present invention provides, and may further comprise the steps:
The material that classified finishing need be tested writes among the EXCEL;
With the material import feature function that needs test among the EXCEL;
Test, obtain test result;
Test result is write among the EXCEL, generate the test result report.
On the other hand, it is a kind of to looking audio file based on the function automatic detection system of sorting out combination that the present invention also provides, and comprising:
Writing module is used for material is write EXCEL and test result is write EXCEL;
Material imports module, is used for the material import feature function with the test of EXCEL needs;
Test module is used for the material that material importing module imports is tested;
The report generation module is used for after EXCEL writes test result, generating test report.
The present invention has the following advantages: under the huge situation of data volume; Through the material of needs test is sorted out, import test then, and test result is write EXCEL; Can from the test result report of last generation, find out that which function of material of a certain type is feasible intuitively; Which is infeasible, so that the material that needs in the engineering is selected, rejected, has solved the problem that manual testing's workload is big and might can't realize.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of to looking the schematic flow sheet of audio file based on the function automatic detection method of sorting out combination for the embodiment of the invention;
Fig. 2 is a kind of to looking the structural drawing of audio file based on the function automatic detection system of sorting out combination for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
As shown in Figure 1, a kind of for the embodiment of the invention to looking the schematic flow sheet of audio file based on the function automatic detection method of sorting out combination, comprising:
Step S101, the material that classified finishing need be tested writes among the EXCEL.
At first, the material that affirmation need be tested, the material among the present invention mainly are to look audio file.Under its fixed position, carry out classified finishing then.In embodiments of the present invention all materials under a certain path are sorted out according to dual mode and are carried out:
First kind: the concrete form by material is sorted out, and for example the material file suffix is mp3, wma, avi etc., is that the material of mp3 is classified as one type with all suffix, is that the material of wma is classified as one type with all suffix, and promptly the material of same format is classified as one type;
Second kind: sort out by the control type, the various classification of disk material, audio frequency transcoding device or video code translator are arranged.
Step S102 is with the material import feature function that needs test among the EXCEL.
Correspond to two kinds of different classifying mode among the step S101, import material through dual mode: engineering browser mode imports with CTRL+I and imports.Import the material of concrete form under the material path among the recursive call EXCEL through the engineering browser; Import the material that classifies as disk material, audio frequency transcoding device or video code translator through the CTRL+I shortcut, select control during importing so that follow-up functional test.
Step S103 tests, and obtains test result.
Material to from EXCEL, importing is tested; At first obtain execution result; Execution result comprises that playing prompting frame points out next step operation, deadlock or normal, judges test result through execution result then, and be specially: test result is that function is infeasible to execution result in order to crash then; Next step operates then that test result is whether Unknown Function feasible to execution result for prompting, execution result for normally then test result be that function is feasible.
Step S104 writes test result among the EXCEL, generates the test result report.
The test result of sorting out material is write the corresponding position of EXCEL Central Plains material, can obtain material test result very intuitively, directly from EXCEL, generate the test report of all test materials then.The test result report comprises test material file name, material file pathname, material classification, test function and test result.When function was feasible, test result was P in the test result report; When function was infeasible, test result was F in the test result report; When whether Unknown Function was feasible, test result be the unknown in the test result report.
Through earlier material being classified in the embodiment of the invention; Importing different classes of material by classification then tests; Thereby judge through test result whether the current function of material is feasible, can be under the great situation of data volume, whether test a certain type of material automatically is feasible to current function; Thereby be convenient to the material that needs in the engineering is selected, rejected, solved the problem that manual testing's workload is big and might can't realize.
As shown in Figure 2, a kind of for the embodiment of the invention to looking the structural drawing of audio file based on the function automatic detection system of sorting out combination, comprising:
Writing module 201 is used for the material that classified finishing is good and writes EXCEL, and the test result of test module 203 is write among the EXCEL;
Material imports module 202, is used for the material import feature function with the test of EXCEL needs;
Test module 203 is used for the material that material importing module 202 imports is tested, and obtains test result;
Report generation module 204 is used for after EXCEL writes test result, generating test report.
Wherein, material importing module comprises that the engineering browser imports module and CTRL+I imports module:
The engineering browser imports module, is used for the material import feature function that will test through the engineering browser;
CTRL+I imports module, is used for the material import feature function that will test through the CTRL+I shortcut.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, appoints
What those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (9)

1. one kind to looking audio file based on the function automatic detection method of sorting out combination, it is characterized in that, may further comprise the steps:
The material that classified finishing need be tested writes among the EXCEL;
With the material import feature function that needs test among the EXCEL;
Test, obtain test result;
Said test result is write among the EXCEL, generate the test result report.
2. automatic test approach as claimed in claim 1 is characterized in that, the said material that need test through classified finishing comprise by the concrete form of material sort out and by the control type by sorting out.
3. automatic test approach as claimed in claim 1 is characterized in that, saidly the material import feature function that needs test among the EXCEL is comprised that engineering browser mode imports with CTRL+I imports.
4. automatic test approach as claimed in claim 1 is characterized in that, the said test, and the acquisition test result comprises tests the material that from EXCEL, imports, and obtains execution result, judges test result through execution result.
5. automatic test approach as claimed in claim 4 is characterized in that, said execution result comprises that playing prompting frame points out next step operation, deadlock or normal.
6. automatic test approach as claimed in claim 4; It is characterized in that; Saidly judge that through execution result test result comprises that test result is that function is infeasible to execution result in order to crash then; Next step operates then that test result is whether Unknown Function feasible to execution result for prompting, execution result for normally then test result be that function is feasible.
7. automatic test approach as claimed in claim 1 is characterized in that, said test result report comprises test material file name, material file pathname, material classification, test function and test result.
8. one kind to looking audio file based on the function automatic detection system of sorting out combination, it is characterized in that, comprising:
Writing module is used for the material of needs test is write EXCEL, and test result is write among the EXCEL;
Material imports module, is used for the material import feature function with the test of EXCEL needs;
Test module is used for the material that said material importing module imports is tested;
The report generation module is used for after EXCEL writes test result, generating test report.
9. Auto-Test System as claimed in claim 8 is characterized in that, said material imports module and comprises that the engineering browser imports module, is used for the material import feature function that will test through the engineering browser;
CTRL+I imports module, is used for the material import feature function that will test through the CTRL+I shortcut.
CN201010593174.5A 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system Expired - Fee Related CN102567192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010593174.5A CN102567192B (en) 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010593174.5A CN102567192B (en) 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system

Publications (2)

Publication Number Publication Date
CN102567192A true CN102567192A (en) 2012-07-11
CN102567192B CN102567192B (en) 2015-09-23

Family

ID=46412660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010593174.5A Expired - Fee Related CN102567192B (en) 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system

Country Status (1)

Country Link
CN (1) CN102567192B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975924A (en) * 2016-04-29 2016-09-28 杭州当虹科技有限公司 Regression testing method for precisely recognizing ad content based on video frame statistics
CN106201888A (en) * 2016-07-18 2016-12-07 四川君逸易视科技有限公司 Intelligent video overlap-add procedure device automatic test approach and device
CN107025268A (en) * 2017-03-07 2017-08-08 捷开通讯(深圳)有限公司 Introduction method, import system and the importing equipment of battery parameter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN101847117A (en) * 2009-03-23 2010-09-29 中兴通讯股份有限公司 Unit testing method and device
CN101908052A (en) * 2009-11-27 2010-12-08 新奥特(北京)视频技术有限公司 Making method and device of multimedia program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN101847117A (en) * 2009-03-23 2010-09-29 中兴通讯股份有限公司 Unit testing method and device
CN101908052A (en) * 2009-11-27 2010-12-08 新奥特(北京)视频技术有限公司 Making method and device of multimedia program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975924A (en) * 2016-04-29 2016-09-28 杭州当虹科技有限公司 Regression testing method for precisely recognizing ad content based on video frame statistics
CN106201888A (en) * 2016-07-18 2016-12-07 四川君逸易视科技有限公司 Intelligent video overlap-add procedure device automatic test approach and device
CN107025268A (en) * 2017-03-07 2017-08-08 捷开通讯(深圳)有限公司 Introduction method, import system and the importing equipment of battery parameter

Also Published As

Publication number Publication date
CN102567192B (en) 2015-09-23

Similar Documents

Publication Publication Date Title
JP7230083B2 (en) Method and apparatus for map service testing
CN114546738B (en) Universal test method, system, terminal and storage medium for server
CN104182335A (en) Software testing method and device
CN112005259A (en) Intelligent selection of test scripts for commodity testing
CN107423213A (en) A kind of filec descriptor distribution detection method and device
CN104899016A (en) Call stack relationship obtaining method and call stack relationship obtaining device
CN103365668B (en) A kind of dynamic link library loads and the method, apparatus of link
CN104834759B (en) The implementation method and device of Electronic Design
CN105489247A (en) Testing method and testing apparatus for memory chip
CN105740122A (en) Method and system for monitoring mobile phone memory leak
CN115145777B (en) Test method, system, device and storage medium
CN102567192B (en) A kind of to video and audio file based on sort out combination function automatic detection method and system
Tierno et al. Open issues for the automotive software testing
CN106649110B (en) Software testing method and system
US20170123962A1 (en) Defect detection using test cases generated from test models
CN103326930A (en) Automatic patrolling method and system for open platform interface
US10073938B2 (en) Integrated circuit design verification
CN101458301B (en) Method for implementing matching test for automatic test equipment
US11354113B1 (en) Reliable deployment of upgrade events for a service based on predefined rollout policies
CN113609008A (en) Test result analysis method and device and electronic equipment
CN112650673A (en) Method and device for creating test case in transaction tracking system and electronic equipment
US8510693B2 (en) Changing abstraction level of portion of circuit design during verification
CN102004660A (en) Realizing method and device of business flows
CN109376285B (en) Data sorting verification method based on json format, electronic device and medium
CN106919506B (en) Method and system for analyzing compatibility defects

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150923

Termination date: 20191216