End-to-end automatic test code generation system and method

By using a three-layer knowledge base system and AI self-correction service, a test intermediate layer representation is generated, which solves the problem of strong coupling between end-to-end testing tools and UI, realizes automated test code generation and verification, and reduces maintenance costs and code instability.

CN122152716AActive Publication Date: 2026-06-05SHANGHAI FEICONVEX INTELLIGENT TECH CO LTD
7 Cites 0 Cited by

Patent Information

Application Number
CN202610621629.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-08
Publication Date
2026-06-05
Estimated Expiration
2046-05-08

AI Technical Summary

Technical Problem

Existing end-to-end testing tools are tightly coupled with the UI, resulting in high maintenance costs. AI-generated test code suffers from illusion problems, lacks self-verification capabilities, and exhibits unstable quality. Furthermore, it lacks automated execution verification and closed-loop error correction mechanisms.

Method used

It adopts a three-layer knowledge base system, AI pipeline and self-correction service. It generates test intermediate layer representation through page index, business interaction definition and page object method metadata file, and uses model context protocol for self-correction to form a complete test code generation pipeline.

Benefits of technology

It enables the automatic and accurate conversion of business test intent into executable test code without increasing the coding burden on test engineers, eliminating the illusion problem, automating code verification and correction, and reducing maintenance costs and instability.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The technical problem to be solved by the invention is how to automatically, accurately and verifiably convert a service test intention described by a product manager or a tester in a natural language (such as an Excel spreadsheet or a comma separation value file (CSV, Comma-Separated Values) format) into an executable end-to-end test code conforming to a project specification on the premise of not increasing the coding burden of a test engineer. In order to solve the technical problem, the first aspect of the technical scheme of the invention is to disclose an end-to-end automatic test code generation system based on test intermediate representation and AI self-error correction closed loop. The second aspect of the technical scheme of the invention is to disclose an end-to-end automatic test code generation method based on test intermediate representation and AI self-error correction closed loop.
Need to check novelty before this filing date? Find Prior Art