Method and device for creating interface case automatic test script
A technology of automated testing and interface testing, applied in software testing/debugging, error detection/correction, biological neural network models, etc., can solve the problems of high manual communication costs, large number of interfaces, incomplete testing functions, etc., to reduce repetition The effect of labor, liberating human resources, and reducing the cost of automated testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] An embodiment of the present invention creates an interface use case automation test script by automatically analyzing the interface description document and interface code, and the interface test flow is consistent with the general function test flow, including: writing the test interface description document, writing the test case according to the interface description document, executing Test, and check whether different parameter requests and the data returned by the interface meet expectations. Embodiment 1 provides a method for creating an automated test script for interface testing.
[0038] During the project development process, the front-end and back-end engineers jointly define the interface and write the interface description document, and then develop according to the interface description document, and maintain it until the end of the project. It is convenient for front-end and back-end engineers to have a unified file to communicate development details dur...
Embodiment 2
[0062] Such as Image 6 As shown, a structural block diagram of a device for creating an interface use case automation test script provided by this embodiment, as shown in the figure, includes:
[0063] Obtain interface characteristic data and request parameter module 10, be used for analyzing interface description document and interface code, obtain interface characteristic data and request parameter;
[0064] Design interface test request parameter module 20, for designing interface test request parameter according to request parameter;
[0065] The neural network model training module 30 is used to use the interface feature data and the automated test script template as a training sample set to perform neural network training to obtain a trained neural network model;
[0066] The test template generation module 40 is used to input the interface feature data of the interface to be tested in the neural network model to generate a test template;
[0067] Create an automated ...
Embodiment 3
[0069] Embodiments of the present invention also provide a device for creating an automated test script for an interface use case, including:
[0070] at least one processor, and a memory communicatively coupled to the at least one processor;
[0071] Wherein, the processor is used to execute the method described in Embodiment 1 by invoking the computer program stored in the memory.
[0072] In addition, the present invention also provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, where the computer-executable instructions are used to make a computer execute the method as described in Embodiment 1.
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