CN104657274A - Method and device for testing software interface - Google Patents

Method and device for testing software interface Download PDF

Info

Publication number
CN104657274A
CN104657274A CN201510099239.3A CN201510099239A CN104657274A CN 104657274 A CN104657274 A CN 104657274A CN 201510099239 A CN201510099239 A CN 201510099239A CN 104657274 A CN104657274 A CN 104657274A
Authority
CN
China
Prior art keywords
software interface
key element
design documentation
module
code
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
CN201510099239.3A
Other languages
Chinese (zh)
Other versions
CN104657274B (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201510099239.3A priority Critical patent/CN104657274B/en
Publication of CN104657274A publication Critical patent/CN104657274A/en
Application granted granted Critical
Publication of CN104657274B publication Critical patent/CN104657274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for testing a software interface. The method comprises the following steps of obtaining a design file of the software interface, wherein the design file of the software interface comprises attributes of elements of the software interface; obtaining a code of the software interface; comparing the attributes of the elements of the code of the software interface and the attributes of the elements of the software interface in the design file of the software interface, using the comparing result as the testing result of the software interface, and outputting. The method for obtaining the code of the software interface can generate the code of the software interface according to the design file of the software interface. The method has the advantages that the testing code, script cost and maintenance cost are reduced, and the sufficient automatic testing of the massive software interface is realized; by utilizing the method of automatically generating the software interface, the development process is standardized, the development cost is effectively reduced, and the problem of easiness in mistakes caused by manual customizing is reduced.

Description

Software interface method of testing and device
Technical field
The present invention relates to software testing technology field, particularly relate to software interface method of testing and device.
Background technology
Current, along with development and the innovation of business, the element that software interface comprises gets more and more, also more and more numerous and diverse to the test of software interface, and the test point of each software interface can reach nearly 100.Calculate containing 20 data input field positions with a software interface average packet, under limiting case, each software interface will test 2000 test items.Change actual conditions statistics according to banking industry application system, every batch is changed software interface amendment and will reach thousands of, and therefore under limiting case, every batch of software interface test item will reach 2,000,000.
Manual operations carries out software interface test, there is the problem that test specification is complete, test execution is not in place, cannot meet complete or collected works' test request of each batch of a large amount of amendment software interface now.
Existing software interface automatization testing technique is in the majority with dynamic autoization test mode, although dynamic autoization test mode can solve the problem that test specification is incomplete, test execution is not in place, but the change due to software interface is very frequently, ordinary business practice department demand, software interface will do larger adjustment, and the automatized script reusability of " recording " before causing is become very poor by this adjustment.If do not want to safeguard, then the words recording a time also can cause the waste of manpower.After all, although script and real program code are all the products of programming, but code is final products, the intermediate link that script is just tested, the result that script performs is only the conceivable thing of tester, the strength that costs a lot of money safeguards intermediate product, and whether any one developing department all will consider input and output has carefully been worth.By the investigation to industry automatic test, physical layer interface is surveyed in industry dynamic autoization test 70%, and 20% surveys integration testing, only has 10% to be applied in software interface test aspect.Cost of development is high, maintenance cost is high, cannot guarantee inputoutput income, and the method for therefore dynamic autoization test cannot solve magnanimity software interface test problem.
Summary of the invention
The embodiment of the present invention provides a kind of software interface method of testing, and in order to reduce testing cost, script development and maintenance cost, realize the abundant automatic test of magnanimity software interface, the method comprises:
Obtain software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface;
Obtain software interface code;
The attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, comparison result is exported as software interface test result.
In an embodiment, described acquisition software interface design documentation, comprising:
Configure property location and the title of each key element of software interface in described software interface design documentation.
In an embodiment, described acquisition software interface code, comprising:
According to described software interface design documentation, generate software interface code.
In an embodiment, according to described software interface design documentation, generate software interface code, comprise one or more as follows:
Extract the raw data of form document in described software interface design documentation, generate dynamic key element, assemble discrete key element, carry out tag processes, the process of duplication of name key element, key element coordinate calculates, newly-increased, the amendment of key element and deleting, document bomp, exception record, the judgement in null and space in document, the identification of key word, selects differentiation and the inspection of the defeated item of defeated Xiang Yubi.
In an embodiment, the attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, comprises one or more as follows:
The extraction of key element in described software interface design documentation, the extraction of key element in software interface code, attribute comparison, error log, inefficacy Document Statistice, start up with command-line options pattern is arranged.
In an embodiment, described comparison result to be exported as software interface test result, comprising: prompting error message and the number of error file, carry out abnormal log printing.
In an embodiment, described method also comprises:
According to software interface test result, software interface code and/or described software interface design documentation are modified.
The embodiment of the present invention also provides a kind of software interface proving installation, and in order to reduce testing cost, script development and maintenance cost, realize the abundant automatic test of magnanimity software interface, this device comprises:
Component attributes configuration module, for obtaining software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface;
Reverse dynamic chek module, for obtaining software interface code; The attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, obtains comparison result;
Functional realiey module, for exporting comparison result as software interface test result.
In an embodiment, described component attributes configuration module specifically for:
Configure property location and the title of each key element of software interface in described software interface design documentation.
In an embodiment, described functional realiey module also for:
According to described software interface design documentation, generate software interface code and be supplied to described reverse dynamic chek module.
In an embodiment, described functional realiey module, specifically for when generating software interface code according to described software interface design documentation, performs one or more as follows:
Extract the raw data of form document in described software interface design documentation, generate dynamic key element, assemble discrete key element, carry out tag processes, the process of duplication of name key element, key element coordinate calculates, newly-increased, the amendment of key element and deleting, document bomp, exception record, the judgement in null and space in document, the identification of key word, selects differentiation and the inspection of the defeated item of defeated Xiang Yubi.
In an embodiment, described reverse dynamic chek module specifically for by when in the attribute of key element each in software interface code and described software interface design documentation, the attribute of each key element of software interface is compared, performs one or more as follows:
The extraction of key element in described software interface design documentation, the extraction of key element in software interface code, attribute comparison, error log, inefficacy Document Statistice, start up with command-line options pattern is arranged.
In an embodiment, described device also comprises as one of lower module or combination:
Detailed design documentation review module, for regularly carrying out data check to described software interface design documentation;
Help tool model, for the related data of software interface code building and component attributes comparison is supplied to described functional realiey module;
Start up with command-line options module, for sending attribute comparison instruction with the module of order line to described reverse dynamic chek module;
Abnormal log print module, for carrying out the abnormal information of data check gained to described detailed design documentation review module, the abnormal information of abnormal information that described reverse dynamic chek module carries out attribute comparison gained and described functional realiey CMOS macro cell software interface code carries out abnormal log printout.
In an embodiment, described functional realiey module also for:
According to software interface test result, software interface code and/or described software interface design documentation are modified.
In the embodiment of the present invention, obtain software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface, obtain software interface code, the attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, comparison result is exported as software interface test result, ensure that test specification on the one hand, ensure that test execution puts in place, also reduce testing cost on the other hand, script development and maintenance cost, improve inputoutput income, enhance software interface product quality, magnanimity software interface can be realized abundant, automatic test.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.In the accompanying drawings:
Fig. 1 is the processing flow chart of software interface method of testing in the embodiment of the present invention;
Fig. 2 is the process flow diagram of the static automatic test of software interface in example of practical application in the embodiment of the present invention;
Fig. 3 is the structural representation of software interface proving installation in the embodiment of the present invention;
Fig. 4 is the instantiation figure of the proving installation of software interface shown in Fig. 3 in the embodiment of the present invention;
Fig. 5 is the exemplifying embodiment figure of software interface proving installation in the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing, the embodiment of the present invention is described in further details.At this, schematic description and description of the present invention is for explaining the present invention, but not as a limitation of the invention.
Inventor finds, by the static automatic test of software interface, test specification can be ensured on the one hand, guarantee that test execution puts in place, testing cost, script development and maintenance cost can also be reduced on the other hand, improve inputoutput incomes, strengthen software interface product quality, can realize magnanimity software interface fully, automatic test.
In embodiment, the static automatic test of above-mentioned software interface refers to not actual motion tested software, but passes through the process of the mistake existed in static scrutiny program code, software interface or document.For software interface test, whether the actual software interface of main testing software conforms to the explanation in demand.In current engineering activity, can be completed the design of each attribute of software interface by the analysis and design stage, design documentation is the test foundation of static test.Namely, the design documentation that the static automatic test of software interface provides with developer is for data source, design by developer in the design phase to software interface attribute, comprise: Page Name, pattern, field explanation etc., adopt the method for static test, in comparison actual software GUI code, whether property value is consistent with design documentation, can realize the object of magnanimity software interface automatic test.
Fig. 1 is the processing flow chart of software interface method of testing in the embodiment of the present invention.As shown in Figure 1, in the embodiment of the present invention, software interface method of testing can comprise:
Step 101, acquisition software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface;
Step 102, acquisition software interface code;
Step 103, the attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation to be compared, comparison result is exported as software interface test result.
As mentioned above, software interface method of testing in the embodiment of the present invention, with robotization means, the problem cannot fully tested by the method solution magnanimity software interface of static automatic test, and keep the effect of low cost, high yield.
During concrete enforcement, obtain software interface design documentation, can comprise: the property location and the title that configure each key element of software interface in described software interface design documentation.Correspondence position and the Property Name of each attribute of relevant factor in design documentation can be configured, by each factor content in the property location that defines and title dynamic implement Staticasoftware interface in embodiment.
In embodiment, inventor also considers, the software interface exploitation of industry all uses various software interface Customization Tool, correctness is ensured in exploitation aspect by this type of instrument, such as: field length 20, in the length attribute of developing instrument field, be arranged to 20, then this field length is exactly 20 certainly, can not be 19 also can not be 21.But existing software interface application software interface Customization Tool is developed, cannot accomplish fast, batch develops software interface., because software interface attribute is various, also easily make the mistake in manual customization procedure meanwhile, reduce product quality.Realizing quality to improve software interface further, reaching better test result, directly can also generate software interface by design documentation, thus reduce software interface development& testing workload, the more effective technical barrier realizing the test of magnanimity software interface.
Based on this, when specifically implementing, obtain software interface code, can comprise: according to described software interface design documentation, generate software interface code.By the mode that software interface generates automatically, specification development process, effectively reduces cost of development, decreases the problem customizing by hand and easily make mistakes.
During concrete enforcement, can also modify, to realize software interface increased quality to software interface code and/or described software interface design documentation according to software interface test result.
Fig. 2 is the process flow diagram of the static automatic test of software interface in example of practical application in the embodiment of the present invention, and as shown in Figure 2, application flow can be as follows:
Step 201, carry out the analysis and design of software interface with back office interface document according to demand, form software interface design documentation.Wherein interface document is the specification documents of various typing key elements of backstage definition, be developer's exploitation of starting most to rely on according to.Software interface design documentation is that front end developer comprises the detailed documentation of styles and the explanation of field key element according to the portion that interface document is write.
Step 202, generate software interface code by software interface design documentation.
Step 203, automatically carry out the static automatic test of software interface, and test result is exported.
Step 204, according to test result, software interface code and/or software interface design documentation to be modified.
Automatically generate the large technological difficulties of static automatic test two with software interface from software interface forward in embodiment to get involved, reach the object of magnanimity software interface automatic test.
In the process that software interface forward generates automatically, using software interface design documentation as input data, by generating software interface code to the parsing of document according to document styles, form Staticasoftware interface.Wherein generate software interface code according to software interface design documentation, can comprise one or more as follows:
Extract the raw data of form document in described software interface design documentation, generate dynamic key element, assemble discrete key element, carry out tag processes, the process of duplication of name key element, key element coordinate calculates, newly-increased, the amendment of key element and deleting, document bomp, exception record, the judgement in null and space in document, the identification of key word, selects differentiation and the inspection of the defeated item of defeated Xiang Yubi.
The static automatic test of software interface, mainly with the static page generated for comparing according to reverse illustrating with software interface field in Software for Design document, point out the number of error message and error file.Wherein the attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, can comprise one or more as follows:
The extraction of key element in described software interface design documentation, the extraction of key element in software interface code, attribute comparison, error log, inefficacy Document Statistice, start up with command-line options pattern is arranged.
At generation software interface code with carry out in the process of component attributes comparison, the generation of many forms, upgrading comparison operation can generating indexes key word, in order to elements of fix.Tape label and not tape label, repeat with unduplicated field place in can use regular expression.
In embodiment, comparison result is exported as software interface test result, the number of prompting error message and error file can be comprised, can also abnormal log printing be carried out.
Based on same inventive concept, additionally provide a kind of software interface proving installation in the embodiment of the present invention, as described in the following examples.The principle of dealing with problems due to software interface proving installation is similar to software interface method of testing, and therefore the enforcement of software interface proving installation see the enforcement of software interface method of testing, can repeat part and repeat no more.
Fig. 3 is the structural representation of software interface proving installation in the embodiment of the present invention.As shown in Figure 3, in the embodiment of the present invention, software interface proving installation can comprise:
Component attributes configuration module 301, for obtaining software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface;
Reverse dynamic chek module 302, for obtaining software interface code; The attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, obtains comparison result;
Functional realiey module 303, for exporting comparison result as software interface test result.
During concrete enforcement, the technical scheme that software interface proving installation can be combination by C# and Npoi (a kind of assembly of increasing income based on openxml is for excel document process) realizes.
Wherein, component attributes configuration module specifically may be used for: the property location and the title that configure each key element of software interface in described software interface design documentation.In embodiment, component attributes configuration module mainly configures correspondence position and the Property Name of individual each attribute of relevant factor in design documentation, by each factor content in the property location that defines and title dynamic implement Staticasoftware interface.
In embodiment, functional realiey module can also be used for: according to described software interface design documentation, generates software interface code and is supplied to described reverse dynamic chek module.Concrete, functional realiey module may be used for, when generating software interface code according to described software interface design documentation, performing one or more as follows:
Extract the raw data of form document in described software interface design documentation, generate dynamic key element, assemble discrete key element, carry out tag processes, the process of duplication of name key element, key element coordinate calculates, newly-increased, the amendment of key element and deleting, document bomp, exception record, the judgement in null and space in document, the identification of key word, selects differentiation and the inspection of the defeated item of defeated Xiang Yubi.
In embodiment, the document path, base address that reverse dynamic chek module can be configured by conversion check, design documentation under Dynamic Extraction each development task title and each task and the path generating software interface, by the path of extracting, static automatic test is carried out to corresponding document, become test detailed results document, the number of document and statistics is made mistakes, thus the various problems getting information about that development& testing process occurs, provide technical basis for solving a problem promptly.
Concrete, may be used for by when in the attribute of key element each in software interface code and described software interface design documentation, the attribute of each key element of software interface is compared, performing one or more as follows to dynamic chek module:
The extraction of key element in described software interface design documentation, the extraction of key element in software interface code, attribute comparison, error log, inefficacy Document Statistice, start up with command-line options pattern is arranged.
Fig. 4 is the instantiation figure of the proving installation of software interface shown in Fig. 3 in the embodiment of the present invention.As shown in Figure 4, in the embodiment of the present invention, software interface proving installation shown in Fig. 3 can also comprise as one of lower module or combination:
Detailed design documentation review module 401, for regularly carrying out data check to described software interface design documentation;
Help tool model 402, for the related data of software interface code building and component attributes comparison is supplied to functional realiey module 303;
Start up with command-line options module 403, for sending attribute comparison instruction with the module of order line to described reverse dynamic chek module 302;
Abnormal log print module 404, for carrying out the abnormal information of data check gained to described detailed design documentation review module 401, abnormal information that described reverse dynamic chek module 302 carries out attribute comparison gained and described functional realiey module 303 abnormal information that generates software interface code carries out abnormal log printout.
In embodiment, functional realiey module can also be used for: modify to software interface code and/or described software interface design documentation according to software interface test result.
During concrete enforcement, component attributes configuration module by the definition of each component attributes key word and positional information, can be responsible for the content of pages dynamically generating each key element, send factor content to functional realiey module according to different feature categories.
Reverse dynamic chek module can by the element information extracted from static page, search corresponding detailed design document according to Page Name to carry out document factor and compare, and record error message and statistics obsolete documents number, time last, result sends into functional realiey module Output rusults.
Detailed design documentation review module can check the legitimacy of design documentation according to the form of design documentation and attribution rule.Such as by reading the data in detailed design document, can check that according to the rule of module documentation Output rusults information sends abnormal log print module to if any abnormal information.
Help tool model can provide electronic form document and static page document function, valid data are passed to functional realiey module.Help tool model can provide dependent help function, such as: the extraction of document factor information, the inspection of key element and assembling, dynamic reminding of task names etc., the generation of each element template, check, and renewal rewards theory can rely on this module.
Start up with command-line options mode capabilities module can provide Cmd Shell pattern for the static automatic test of software interface.
Exception during abnormal log print module primary responsibility software interface generates automatically in the printing of exception error and the static automatic test of software interface prints, and is convenient to developer and investigates mistake.
Functional realiey module completes the generation of static page, accepts the information of other module, exports static page and check result.
Fig. 5 is the exemplifying embodiment figure of software interface proving installation in the embodiment of the present invention.As shown in Figure 5, Input Software interface document, document comprise style sheet, field explanation, input frame, under block menu, button, form, single choice check box, title block and RichTextBox etc.Perform the dynamic systematic function of static code and static code conversion check function.After component attributes configuration module, oppositely dynamic chek module, functional realiey module, detailed design documentation review module, help tool model, start up with command-line options module and the process of abnormal log print module, export static page or the dynamic menu page, the report of static automatic test and static page audit report (detailed design documentation review resume module result).
In sum, in the embodiment of the present invention, obtain software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface, obtain software interface code, the attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, comparison result is exported as software interface test result, ensure that test specification on the one hand, ensure that test execution puts in place, also reduce testing cost on the other hand, script development and maintenance cost, improve inputoutput income, enhance software interface product quality, magnanimity software interface can be realized abundant, automatic test.
Wherein, adopt software interface static state automatization testing technique, by the consistance of property value and design documentation in contrast actual software GUI code, thus ensure coding and the consistance designed.This mode ensure that software interface test specification, reduce testing cost, improve output income, enhance product quality.From utilization benefit, the static automatization testing technique of the embodiment of the present invention is better than the technology of dynamic autoization test and manual test.And automatically generated by forward and combine with reverse automatic test, effectively reduce the cost of development& testing, improve the quality of product.
In a word, by realization of the present invention, thoroughly solve the problem that magnanimity software interface cannot fully be tested, achieve the technical purpose of magnanimity software interface automatic test.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only specific embodiments of the invention; the protection domain be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a software interface method of testing, is characterized in that, comprising:
Obtain software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface;
Obtain software interface code;
The attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, comparison result is exported as software interface test result.
2. the method for claim 1, is characterized in that, described acquisition software interface design documentation, comprising:
Configure property location and the title of each key element of software interface in described software interface design documentation.
3. the method for claim 1, is characterized in that, described acquisition software interface code, comprising:
According to described software interface design documentation, generate software interface code.
4. method as claimed in claim 3, is characterized in that, according to described software interface design documentation, generates software interface code, comprises one or more as follows:
Extract the raw data of form document in described software interface design documentation, generate dynamic key element, assemble discrete key element, carry out tag processes, the process of duplication of name key element, key element coordinate calculates, newly-increased, the amendment of key element and deleting, document bomp, exception record, the judgement in null and space in document, the identification of key word, selects differentiation and the inspection of the defeated item of defeated Xiang Yubi.
5. the method for claim 1, is characterized in that, is compared by the attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation, comprises one or more as follows:
The extraction of key element in described software interface design documentation, the extraction of key element in software interface code, attribute comparison, error log, inefficacy Document Statistice, start up with command-line options pattern is arranged.
6. the method for claim 1, is characterized in that, is describedly exported as software interface test result by comparison result, comprising: prompting error message and the number of error file, carries out abnormal log printing.
7. the method as described in any one of claim 1 to 6, is characterized in that, also comprises:
According to software interface test result, software interface code and/or described software interface design documentation are modified.
8. a software interface proving installation, is characterized in that, comprising:
Component attributes configuration module, for obtaining software interface design documentation, described software interface design documentation comprises the attribute of each key element of software interface;
Reverse dynamic chek module, for obtaining software interface code; The attribute of each key element of software interface in the attribute of key element each in software interface code and described software interface design documentation is compared, obtains comparison result;
Functional realiey module, for exporting comparison result as software interface test result.
9. device as claimed in claim 8, is characterized in that, described component attributes configuration module specifically for:
Configure property location and the title of each key element of software interface in described software interface design documentation.
10. device as claimed in claim 8, is characterized in that, described functional realiey module also for:
According to described software interface design documentation, generate software interface code and be supplied to described reverse dynamic chek module.
11. devices as claimed in claim 10, is characterized in that, described functional realiey module, specifically for when generating software interface code according to described software interface design documentation, performs one or more as follows:
Extract the raw data of form document in described software interface design documentation, generate dynamic key element, assemble discrete key element, carry out tag processes, the process of duplication of name key element, key element coordinate calculates, newly-increased, the amendment of key element and deleting, document bomp, exception record, the judgement in null and space in document, the identification of key word, selects differentiation and the inspection of the defeated item of defeated Xiang Yubi.
12. devices as claimed in claim 8, it is characterized in that, described reverse dynamic chek module specifically for by when in the attribute of key element each in software interface code and described software interface design documentation, the attribute of each key element of software interface is compared, performs one or more as follows:
The extraction of key element in described software interface design documentation, the extraction of key element in software interface code, attribute comparison, error log, inefficacy Document Statistice, start up with command-line options pattern is arranged.
13. devices as described in any one of claim 8 to 12, is characterized in that, also comprise as one of lower module or combination:
Detailed design documentation review module, for regularly carrying out data check to described software interface design documentation;
Help tool model, for the related data of software interface code building and component attributes comparison is supplied to described functional realiey module;
Start up with command-line options module, for sending attribute comparison instruction with the module of order line to described reverse dynamic chek module;
Abnormal log print module, for carrying out the abnormal information of data check gained to described detailed design documentation review module, the abnormal information of abnormal information that described reverse dynamic chek module carries out attribute comparison gained and described functional realiey CMOS macro cell software interface code carries out abnormal log printout.
14. devices as described in any one of claim 8 to 12, is characterized in that, described functional realiey module also for:
According to software interface test result, software interface code and/or described software interface design documentation are modified.
CN201510099239.3A 2015-03-06 2015-03-06 software interface test method and device Active CN104657274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510099239.3A CN104657274B (en) 2015-03-06 2015-03-06 software interface test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510099239.3A CN104657274B (en) 2015-03-06 2015-03-06 software interface test method and device

Publications (2)

Publication Number Publication Date
CN104657274A true CN104657274A (en) 2015-05-27
CN104657274B CN104657274B (en) 2018-09-07

Family

ID=53248441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510099239.3A Active CN104657274B (en) 2015-03-06 2015-03-06 software interface test method and device

Country Status (1)

Country Link
CN (1) CN104657274B (en)

Cited By (8)

* 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
CN107203463A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 Method, interface method for drafting and the device of interface detection
CN108228183A (en) * 2018-01-12 2018-06-29 北京三快在线科技有限公司 Front-end interface code generating method, device, electronic equipment and storage medium
CN108255698A (en) * 2017-02-17 2018-07-06 平安科技(深圳)有限公司 Test cases generation method and device based on visualization interface
CN108959068A (en) * 2018-06-04 2018-12-07 广州视源电子科技股份有限公司 Software interface test method, equipment and storage medium
CN109783351A (en) * 2018-12-13 2019-05-21 重庆金融资产交易所有限责任公司 Interface detection method, apparatus and computer readable storage medium
CN109840202A (en) * 2018-12-15 2019-06-04 深圳壹账通智能科技有限公司 Application program control detection method, device, electronic equipment and storage medium
CN112579456A (en) * 2020-12-24 2021-03-30 安徽航天信息科技有限公司 Web automatic testing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN101968770A (en) * 2010-11-01 2011-02-09 北京航空航天大学 Reusable embedded software testing and developing method and system
US20140229917A1 (en) * 2013-02-13 2014-08-14 International Business Machines Corporation Generating Input Values for a Test Dataset from a Datastore Based on Semantic Annotations
CN104317711A (en) * 2014-10-22 2015-01-28 牟永敏 Path-based method and system for verifying software implementation and design uniformity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN101968770A (en) * 2010-11-01 2011-02-09 北京航空航天大学 Reusable embedded software testing and developing method and system
US20140229917A1 (en) * 2013-02-13 2014-08-14 International Business Machines Corporation Generating Input Values for a Test Dataset from a Datastore Based on Semantic Annotations
CN104317711A (en) * 2014-10-22 2015-01-28 牟永敏 Path-based method and system for verifying software implementation and design uniformity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林辉: "基于XML的用户界面建模研究与实现", 《中国优秀硕士论文全文数据库 信息科技辑》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203463A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 Method, interface method for drafting and the device of interface detection
CN108255698A (en) * 2017-02-17 2018-07-06 平安科技(深圳)有限公司 Test cases generation method and device based on visualization interface
CN107025114A (en) * 2017-04-17 2017-08-08 广州视源电子科技股份有限公司 A kind of software requirement information matches degree inspection method and system
CN108228183A (en) * 2018-01-12 2018-06-29 北京三快在线科技有限公司 Front-end interface code generating method, device, electronic equipment and storage medium
CN108228183B (en) * 2018-01-12 2022-07-12 北京三快在线科技有限公司 Front-end interface code generation method and device, electronic equipment and storage medium
CN108959068A (en) * 2018-06-04 2018-12-07 广州视源电子科技股份有限公司 Software interface test method, equipment and storage medium
CN108959068B (en) * 2018-06-04 2022-04-22 广州视源电子科技股份有限公司 Software interface testing method, device and storage medium
CN109783351A (en) * 2018-12-13 2019-05-21 重庆金融资产交易所有限责任公司 Interface detection method, apparatus and computer readable storage medium
CN109840202A (en) * 2018-12-15 2019-06-04 深圳壹账通智能科技有限公司 Application program control detection method, device, electronic equipment and storage medium
CN112579456A (en) * 2020-12-24 2021-03-30 安徽航天信息科技有限公司 Web automatic testing method and device
CN112579456B (en) * 2020-12-24 2024-04-09 安徽航天信息科技有限公司 Web automatic testing method and device

Also Published As

Publication number Publication date
CN104657274B (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN104657274A (en) Method and device for testing software interface
US10459695B2 (en) Correction of code errors using machine learning
CN109582301B (en) Service processing method, device, equipment and medium based on task scheduling system
CN108845940B (en) Enterprise-level information system automatic function testing method and system
US8473916B2 (en) Method and system for providing a testing framework
CN102567201B (en) Method for automatically recovering cross-model GUI (graphic user interface) test scripts
CN102135938A (en) Software product testing method and system
CN104133772A (en) Automatic test data generation method
CN111399853A (en) Templated deployment method of machine learning model and custom operator
CN101996131A (en) Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word
Ahmad et al. A framework for architecture-driven migration of legacy systems to cloud-enabled software
CN101135989A (en) Automatization test method and device for Web applied system
CN107526676B (en) Cross-system test method and device
CN104035873A (en) Method and device for generating testing codes
CN103995698A (en) Application form agile development method and system oriented to business
CN106354492A (en) Automatic code generation method and system capable of rapidly adjusting transaction process connection
CN104598619A (en) Service compositional verification method based on constraint solver
WO2024060725A1 (en) Aircraft tool change method and apparatus, device, and storage medium
CN107622017B (en) Analysis method for universal automation software test
CN103649924A (en) Embedded apparatus, program generation apparatus, and program
Dumas et al. Robotic Process Mining.
US11615016B2 (en) System and method for executing a test case
CN111506305A (en) Tool kit generation method and device, computer equipment and readable storage medium
Pereira et al. Retrospective and Trends in Requirements Engineering for Embedded Systems: A Systematic Literature Review.
Pichidtienthum et al. Developing Module Generation for Odoo Using Concept of Low-Code Development Platform and Automation Systems

Legal Events

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