An automated testing method
A technology of automated testing and test scripts, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as difficult implementation, unusable, cumbersome, etc., and achieve strong derivative scalability, low use threshold, and flexibility strong effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:
[0025] Such as figure 1 , an automated testing method, the steps are:
[0026] 1. Write a test script and a JAVA template file; the test script is tested by calling the API method in the JAVA template file; then global variables for testing are also defined in the test script.
[0027] When writing test scripts, use preset keywords to mark variables, code blocks to be executed, and API methods called in code blocks.
[0028] The script of this embodiment is excerpted as follows:
[0029] $url=http: / / 10.1.0.31:8090 / api / account / loginCheck; #login address
[0030] $url2=http: / / 10.1.0.31:8090 / api / userInfo / getWebStuList; #SELECT class information address
[0031] $url3=http: / / 10.1.0.31:8090 / api / userInfo / modify; #Modify the relationship address
[0032] $param={"loginName":"139****9999","client":"web","pwd":"sih+9QUK+ON1xtnAY+IUtQ==","type":"2"};
[003...
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