CN104765684A - Automatic verification method and system for demand implementation - Google Patents

Automatic verification method and system for demand implementation Download PDF

Info

Publication number
CN104765684A
CN104765684A CN201510151474.0A CN201510151474A CN104765684A CN 104765684 A CN104765684 A CN 104765684A CN 201510151474 A CN201510151474 A CN 201510151474A CN 104765684 A CN104765684 A CN 104765684A
Authority
CN
China
Prior art keywords
demand
comparison data
information
demand information
confession
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510151474.0A
Other languages
Chinese (zh)
Inventor
李蕊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech Communication 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN201510151474.0A priority Critical patent/CN104765684A/en
Publication of CN104765684A publication Critical patent/CN104765684A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an automatic verification method and system for demand implementation. The automatic verification method includes steps that S1, acquiring demand information, generating detection content according to the demand information, and acquiring the corresponding status data to be detected according to the detection content; S2, acquiring comparison data corresponding to the demand information from a database; S3, comparing the status data of the step S1 with the corresponding comparison data, and automatically obtaining the test result. The automatic verification method and system for the demand implementation are capable of improving the verification efficiency and saving the manpower cost.

Description

Demand realizes automatic verification method and system
Technical field
The invention belongs to software testing technology field, relate to a kind of method for testing software, particularly relate to a kind of demand and realize automatic verification method; In addition, the invention still further relates to a kind of demand and realize automated verification system.
Background technology
Current version cannot accomplish Aulomatizeted Detect one by one for numerous and diverse customer demand, still adopt artificial contrast to identify, the realization of customer demand can be checked so more accurately, but for a large amount of same client demand, still adopting mode so, is very serious to the waste of manpower.
In view of this, nowadays in the urgent need to designing a kind of new method of testing, to overcome the above-mentioned defect of existing method of testing.
Summary of the invention
Technical matters to be solved by this invention is: provide a kind of demand to realize automatic verification method, can improve verification efficiency, saves human cost.
In addition, the present invention also provides a kind of demand to realize automated verification system, can improve verification efficiency, saves human cost.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of demand realizes automatic verification method, and described method comprises the steps:
Step S1, acquisition demand information, information generates Detection of content according to demand, and obtains status data corresponding to be detected according to Detection of content;
Step S2, the confession comparison data that acquisition is corresponding with described demand information from comparison data storehouse;
Step S3, by step S1 obtain status data compare with corresponding confession comparison data, automatically obtain test result.
As a preferred embodiment of the present invention, described demand information is the application of test standby wallpapers;
Obtain the windowmanager control of current phone;
According to the interface class of windowmanager control, obtain the bitmap wallpaper of current phone;
Document flow is converted to by bigmap wallpaper;
New files, is written to storage space by output stream conversion;
The picture placed in storage space and in application carries out a some pixel comparison and can judge that whether wallpaper is correctly preset.
As a preferred embodiment of the present invention, described method also comprises for comparison data generation step, and information generates for comparison data according to demand.
As a preferred embodiment of the present invention, described method specifically comprises:
Comparison data generation step, generates for comparison data according to each demand information, is stored in comparison data storehouse;
Obtain demand information list, therefrom obtain each demand information, and each demand information is sorted, detect respectively in order; When starting to detect, obtain corresponding status data according to each demand information;
The confession comparison data corresponding with described demand information is obtained from comparison data storehouse;
The status data of acquisition is compared with corresponding confession comparison data, automatically obtains test result.
A kind of demand realizes automated verification system, and described system comprises:
Demand information acquisition module, generates Detection of content in order to information according to demand, and obtains status data corresponding to be detected according to Detection of content;
Comparison data storehouse, in order to the confession comparison data that storage demand information is corresponding;
Comparing module, compares with corresponding confession comparison data in order to the status data obtained by described demand information acquisition module, automatically obtains test result.
As a preferred embodiment of the present invention, described system also comprises for comparison data generation module, generates for comparison data in order to information according to demand.
Beneficial effect of the present invention is: the demand that the present invention proposes realizes automatic verification method and system, can improve verification efficiency, saves human cost.The present invention is directed to customer demand table and form version detection mechanism corresponding with it, this version detection mechanism, by corresponding with demand, detect the detection application that demand code is formed, issues the initial stage, carry out Autonomous test to version, thus save human cost at version.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that demand of the present invention realizes automatic verification method.
Fig. 2 is the composition schematic diagram that demand of the present invention realizes automated verification system.
Fig. 3 is the schematic diagram of the inventive method in embodiment two.
Embodiment
The preferred embodiments of the present invention are described in detail below in conjunction with accompanying drawing.
Embodiment one
Refer to Fig. 1, present invention is disclosed a kind of demand and realize automatic verification method, described method comprises the steps:
Step S1, acquisition demand information, information generates Detection of content according to demand, and obtains status data corresponding to be detected according to Detection of content;
Step S2, the confession comparison data that acquisition is corresponding with described demand information from comparison data storehouse;
Step S3, by step S1 obtain status data compare with corresponding confession comparison data, automatically obtain test result.Comparison data is wallpaper such as, compares to the pixel of wallpaper; Such as standby layout, catching screen shot effect by flutterring, comparing etc. to layout.
In addition, described method can also comprise step S0 before step S1: for comparison data generation step, and information generates for comparison data according to demand.As for wallpaper, the wallpaper that client provides directly can be entered into background data base, and after webpage clicks, generate the comparative information of a requirements comparison list with corresponding script, then PC carries out cooperation testing authentication.
In the present embodiment, described demand information is the application of test standby wallpapers; Certainly, the present invention can also be used to test other demand informations.The application of test standby wallpapers comprises the steps:
Obtain the windowmanager control of current phone;
According to the interface class of windowmanager control, obtain the bitmap wallpaper of current phone;
Document flow is converted to by bigmap wallpaper;
New files, is written to storage space by output stream conversion;
The picture placed in storage space and in application carries out a some pixel comparison and can judge that whether wallpaper is correctly preset.
Be described above the flow process that demand of the present invention realizes automatic verification method, the present invention, while the above-mentioned verification method of announcement, also discloses a kind of demand and realizes automated verification system; Refer to Fig. 2, described system comprises: demand information acquisition module 2, comparison data storehouse 3, comparing module 4, confession comparison data generation module 1.
Demand information acquisition module 2 generates Detection of content in order to information according to demand, and obtains status data corresponding to be detected according to Detection of content; Comparison data storehouse 3 is in order to confession comparison data corresponding to storage demand information; Comparing module 4 is compared with corresponding confession comparison data in order to the status data obtained by described demand information acquisition module, automatically obtains test result.Generate for comparison data in order to information according to demand for comparison data generation module 1.
Embodiment two
Refer to Fig. 3, demand of the present invention realizes automatic verification method and specifically comprises the steps:
Comparison data generation step, generates for comparison data according to each demand information, is stored in comparison data storehouse;
Obtain demand information list, therefrom obtain each demand information, and each demand information is sorted, detect respectively in order; When starting to detect, obtain corresponding status data according to each demand information;
The confession comparison data corresponding with described demand information is obtained from comparison data storehouse;
The status data of acquisition is compared with corresponding confession comparison data, automatically obtains test result.
In sum, the demand that the present invention proposes realizes automatic verification method and system, can improve verification efficiency, saves human cost.The present invention is directed to customer demand table and form version detection mechanism corresponding with it, this version detection mechanism, by corresponding with demand, detect the detection application that demand code is formed, issues the initial stage, carry out Autonomous test to version, thus save human cost at version.
Here description of the invention and application is illustrative, not wants by scope restriction of the present invention in the above-described embodiments.Distortion and the change of embodiment disclosed are here possible, are known for the replacement of embodiment those those of ordinary skill in the art and the various parts of equivalence.Those skilled in the art are noted that when not departing from spirit of the present invention or essential characteristic, the present invention can in other forms, structure, layout, ratio, and to realize with other assembly, material and parts.When not departing from the scope of the invention and spirit, can other distortion be carried out here to disclosed embodiment and change.

Claims (6)

1. demand realizes an automatic verification method, it is characterized in that, described method comprises the steps:
Step S1, acquisition demand information, information generates Detection of content according to demand, and obtains status data corresponding to be detected according to Detection of content;
Step S2, the confession comparison data that acquisition is corresponding with described demand information from comparison data storehouse;
Step S3, by step S1 obtain status data compare with corresponding confession comparison data, automatically obtain test result.
2. demand according to claim 1 realizes automatic verification method, it is characterized in that:
Described demand information is the application of test standby wallpapers;
Obtain the windowmanager control of current phone;
According to the interface class of windowmanager control, obtain the bitmap wallpaper of current phone;
Document flow is converted to by bigmap wallpaper;
New files, is written to storage space by output stream conversion;
The picture placed in storage space and in application carries out a some pixel comparison and can judge that whether wallpaper is correctly preset.
3. demand according to claim 1 realizes automatic verification method, it is characterized in that:
Described method also comprises for comparison data generation step, and information generates for comparison data according to demand.
4. demand according to claim 1 realizes automatic verification method, it is characterized in that:
Described method specifically comprises:
Comparison data generation step, generates for comparison data according to each demand information, is stored in comparison data storehouse;
Obtain demand information list, therefrom obtain each demand information, and each demand information is sorted, detect respectively in order; When starting to detect, obtain corresponding status data according to each demand information;
The confession comparison data corresponding with described demand information is obtained from comparison data storehouse;
The status data of acquisition is compared with corresponding confession comparison data, automatically obtains test result.
5. demand realizes an automated verification system, it is characterized in that, described system comprises:
Demand information acquisition module, generates Detection of content in order to information according to demand, and obtains status data corresponding to be detected according to Detection of content;
Comparison data storehouse, in order to the confession comparison data that storage demand information is corresponding;
Comparing module, compares with corresponding confession comparison data in order to the status data obtained by described demand information acquisition module, automatically obtains test result.
6. demand according to claim 5 realizes automated verification system, it is characterized in that:
Described system also comprises for comparison data generation module, generates for comparison data in order to information according to demand.
CN201510151474.0A 2015-04-01 2015-04-01 Automatic verification method and system for demand implementation Pending CN104765684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510151474.0A CN104765684A (en) 2015-04-01 2015-04-01 Automatic verification method and system for demand implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510151474.0A CN104765684A (en) 2015-04-01 2015-04-01 Automatic verification method and system for demand implementation

Publications (1)

Publication Number Publication Date
CN104765684A true CN104765684A (en) 2015-07-08

Family

ID=53647528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510151474.0A Pending CN104765684A (en) 2015-04-01 2015-04-01 Automatic verification method and system for demand implementation

Country Status (1)

Country Link
CN (1) CN104765684A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025114A (en) * 2017-04-17 2017-08-08 广州视源电子科技股份有限公司 A kind of software requirement information matches degree inspection method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7165191B1 (en) * 2004-01-29 2007-01-16 Sun Microsystems, Inc. Automated verification of user interface tests on low-end emulators and devices
US7339891B2 (en) * 2002-01-09 2008-03-04 Mverify Corporation Method and system for evaluating wireless applications
CN102541700A (en) * 2010-12-16 2012-07-04 卓望数码技术(深圳)有限公司 Terminal test method, test device and terminal agency
CN103136094A (en) * 2011-11-25 2013-06-05 阿里巴巴集团控股有限公司 Page testing method and device
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7339891B2 (en) * 2002-01-09 2008-03-04 Mverify Corporation Method and system for evaluating wireless applications
US7165191B1 (en) * 2004-01-29 2007-01-16 Sun Microsystems, Inc. Automated verification of user interface tests on low-end emulators and devices
CN102541700A (en) * 2010-12-16 2012-07-04 卓望数码技术(深圳)有限公司 Terminal test method, test device and terminal agency
CN103136094A (en) * 2011-11-25 2013-06-05 阿里巴巴集团控股有限公司 Page testing method and device
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025114A (en) * 2017-04-17 2017-08-08 广州视源电子科技股份有限公司 A kind of software requirement information matches degree inspection method and system

Similar Documents

Publication Publication Date Title
CN104615538A (en) Mobile phone application testing method based on mobile phone interface control elements
CN103425572B (en) Code analysis methods and code analysis system
CN102945158B (en) Method and system for automatic classification of application installation on electronic equipment
JP2019520615A (en) Character recognition method, device, server and storage medium of claim document for damages
CN103365967B (en) Automatic difference detection method and device based on crawler
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN105354138A (en) Method for determining specific control attribute of mobile phone page
CN103914375A (en) Method and device for testing owner-drawing interface software
CN102541728A (en) Method for expanding identifiable control of automatic test tool
CN101667118A (en) Method and device for multi-language version development and replacement
CN108415830A (en) A kind of generation method and device of software test case
CN104809068A (en) Web automatic testing framework construction method based on selenium
CN103942138A (en) Testing method and device
CN105005568A (en) Front-end processing device and method of web page on the basis of template
CN105138463A (en) Testing method and system for mobile terminal software
CN105260273A (en) Testing method and apparatus for intelligent electronic device
CN103440197B (en) A kind of method automatically generating difference test report based on contrast test
CN104732425A (en) E-commerce platform customer behavior analytical method based on big data
US20150227577A1 (en) Method and device for guaranteeing consistency of planning data
CN104765684A (en) Automatic verification method and system for demand implementation
CN102662962B (en) Dynamic display method based on webpage elements
CN103198250B (en) The checking method of intelligent television application program
CN103150251A (en) Method for intelligently acquiring automated test object
CN103336739A (en) Software testing method and platform
CN103699482A (en) Method and device for testing reasonableness of controls

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150708