Automated Game Testing via Standardized Control Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing game testing methods face limitations such as inaccurate image recognition, limited scope of automated test frameworks, slow control information retrieval, inflexible coordinate systems, and insufficient support for analog input methods, making them inefficient for complex testing scenarios.
Innovation Solution
An automated testing method using a common SDK interface and Basic SDK model to standardize control information data, position controls within a standard data structure, and support analog input, enabling cross-engine and cross-platform testing with improved efficiency and flexibility.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If image recognition method is used to locate controls, then automated testing can be performed, but positioning accuracy is insufficient
Solution Approach 1:
The patent introduces an intermediary layer (the standardized data structure with feature attribute dimension, space position attribute dimension, and grouped path attribute dimension) between the image recognition system and the control positioning system. This intermediary standardizes control information from different sources and enables more accurate positioning by combining multiple attributes rather than relying solely on image recognition coordinates.
Solution Approach 2:
The patent combines multiple types of control information (feature attributes, spatial coordinates, hierarchical path) into a composite standardized data structure. This composite approach integrates strengths of different positioning methods to achieve higher accuracy than any single method alone.
2Adaptability or versatility
If UI control identification method is used to obtain all control data, then accurate control operations can be performed, but the scope is limited to specific game engines
Solution Approach 1:
The patent creates a universal standardized data structure that can accommodate control information from multiple game engines and platforms. The standardization process transforms engine-specific control data into a common format with standardized dimensions, enabling the same testing framework to work across different engines while maintaining identification accuracy.
Data Source
AI summary
An automated testing method and apparatus relate to the technical field of software test. The automated testing method includes: configuring a common Software Development Kit (SDK) interface and a Basic SDK model, and receiving a to-be-tested script comprising control information data and an operation type by using the SDK interface; performing a standardization process on the control information data using the SDK basic model to obtain a standard data structure; and running the to-be-tested script according to the operation type, and positioning a to-be-tested control in the to-be-tested script according to the standard data structure.


