The invention discloses a coding-free multi-language interface
automatic testing method and
system, and belongs to the technical field of
software testing, the realization of the method comprises a recursive traversal crawler
algorithm, a crawler tool and a standardized language comparison model, and the method can realize quasi-user operation,
traverse a tested product interface and capture internationalized interface element information of multi-language
software; through a standardized language comparison model, whether the element information conforms to the context in various language environments and whether translation deviation exists are judged, and semantic accuracy is guaranteed; wherein the recursive traversal crawler
algorithm execution logic comprises the following steps:
logging in a tested
system; opening a function menu; reading a
current function title; and judging whether a new interface appears or not according to the function title, and if yes, automatically identifying interactive elements and static text information in the interface. According to the method, manual intervention can be reduced, the
test efficiency is effectively improved, meanwhile, the test coverage rate is remarkably increased, and efficient and reliable technical guarantee is provided for internationalized
quality control of products.