Supercharge Your Innovation With Domain-Expert AI Agents!

Interface automation test method and system, electronic equipment and storage medium

A technology for automated testing and interface testing, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc. The effect of improving stability

Pending Publication Date: 2020-09-04
CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to overcome the defect that the interface automation testing method in the prior art cannot meet the actual testing requirements, and the purpose is to provide a method, system, electronic equipment and storage medium for interface automation testing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interface automation test method and system, electronic equipment and storage medium
  • Interface automation test method and system, electronic equipment and storage medium
  • Interface automation test method and system, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] like figure 1 As shown, the method for interface automation testing of this embodiment includes:

[0078] S101, building an online test platform;

[0079] S102. Online adding multiple test cases for interface testing through the online testing platform;

[0080] S103, configuring each test case;

[0081] S104. Classify the configured test cases to obtain multiple test suites;

[0082] Among them, each test suite corresponds to multiple test cases of the same category;

[0083] S105. Assemble the test suite to obtain test items;

[0084] S106, configuring the test items;

[0085] S107. Run the configured test item to obtain a test result. Among them, the test results include test reports, details of use case execution, retry of failed use cases, etc.

[0086] In this embodiment, JavaScript is supported for online writing of test cases, so as to realize convenient management of test design, test cases, test suites, test items, and test tasks.

[0087] In this embo...

Embodiment 2

[0089] like figure 2 As shown, the method for automated interface testing in this embodiment is a further improvement on Embodiment 1, specifically:

[0090] Step S101 includes:

[0091] S1011, using the Vue framework and JavaScript to build a test front end;

[0092] S1012, using Java technology to build a test background;

[0093] Wherein, Java technology includes but not limited to Java Service and Java Cron (both Java Service and Java Cron are a kind of Java technology).

[0094] S1013, using MongoDB and SqlServer to build a test database;

[0095] Among them, the online test platform includes a test front end, a test background and a test database.

[0096] In addition, the online test platform also includes MOM interface, PaaS interface, CI interface and Mock interface, etc.

[0097] Among them, the online test platform interacts with the MOM platform through the MOM interface; the online test platform interacts with the PaaS platform through the PaaS interface; th...

Embodiment 3

[0113] like Figure 5 As shown, the system of the interface automation test of the present embodiment includes a platform building module 1, a test case adding module 2, a test case configuration module 3, a test suite acquisition module 4, a test item acquisition module 5, a test item configuration module 6 and test results Get module 7.

[0114] Platform building module 1 is used to build an online test platform;

[0115] Test case adding module 2 is used for adding multiple test cases for interface testing online through the online test platform;

[0116] Test case configuration module 3 is used to configure each test case;

[0117] The test suite acquisition module 4 is used to classify the configured test cases to acquire multiple test suites;

[0118] Among them, each test suite corresponds to multiple test cases of the same category;

[0119] The test item obtaining module 5 is used to assemble the test suite to obtain the test items;

[0120] The test item configu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an automatic interface testing method and system, electronic equipment and a storage medium. The method comprises the steps: building an online testing platform; adding a plurality of test cases for interface testing on line through the on-line test platform; configuring each test case, and classifying the configured test cases to obtain a plurality of test suites; assembling the test suite to obtain a test item, and configuring the test item; and running the configured test item to obtain a test result. According to the invention, online writing and execution of the test case are supported; the convenience of interface automatic test work development is improved; automatic test script writing and maintenance work of developers and testers is relieved, manpower andtime cost investment of manual testing is reduced, teams can conveniently and rapidly improve the coverage rate of interface automatic regression testing, and meanwhile the proportion of automatic testing in the business requirement research and development process is increased.

Description

technical field [0001] The invention relates to the technical field of interface testing, in particular to a method, system, electronic equipment and storage medium for automatic interface testing. Background technique [0002] Existing interface automation testing methods are mostly in the form of using code engineering projects, with the help of third-party software testing programming frameworks, and manually writing automated test scripts, and using other third-party open source scheduling platforms to implement automated task scheduling and execution. [0003] However, the existing interface automation testing has the following problems: (1) It is inconvenient to manage and maintain the data of automated test cases, and data retrieval, statistics and reporting are inconvenient; (2) The technical requirements for the personnel engaged in automated testing are relatively high. It is especially not conducive to the rapid advancement of automation work by the team that main...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688G06F11/3676
Inventor 高潮彬李康
Owner CTRIP TRAVEL NETWORK TECH SHANGHAI0
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More