Automatic test method and system of WEB interface
An automated testing and interface technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as low efficiency of manual testing, and achieve the effect of automatic testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Such as figure 1 As shown, the present embodiment provides a kind of automated testing method of WEB interface, and this automated testing method comprises: at first download test case by Svn server, after counting the number of test cases, test case is filled in the defined Excel table , and then introduce the Excel table class through the Python programming language, customize the keywords of the automated test, and write the keywords into the header of the Excel table.
[0030] Before the automated test, call the Http interface to execute the test case, set the checkpoint by introducing the API, test the required http assembly characters, parse the XML file, get the return value field, and then check whether the XML file is correct when the automated test is performed for the first time ; If correct, encapsulate the XML file, and backfill the test result information into the Excel table as a reference for subsequent regression testing; if not correct, save it after m...
Embodiment 2
[0033] Such as figure 2 As shown, the present embodiment provides a kind of automatic test system of WEB interface, and present embodiment mainly adopts python language to write, and the system of present embodiment mainly comprises use case management module, test data entry module, execution module, in the present embodiment The use case management module mainly obtains the automated test cases by clicking on the interface of this embodiment, downloads them through the svn server, counts the number of use cases to be tested, and fills them in the defined excel form. The test data entry module connects with the use case management module, introduces the excel class through python, customizes the relevant fields that will need to be tested, and defines them at the beginning of the program running, such as CaseID, running or not, file size, result record, test result, and Fields such as use case description. The result information returned during program execution is written ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com