Automated Application Interface Traversing Method

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The manual traversal of application interfaces is excessively complex and inefficient, often resulting in interface omissions due to the large number of language types and interfaces, leading to high workload and low efficiency.

Innovation Solution

An automated application interface traversing method and system that uses processing circuitry to select a target interface, determine if it has untraversed control elements, sub-interfaces, or parent interfaces, and update a control list to ensure all interfaces are traversed, utilizing a UiAutomator testing framework to generate coordinate information and identify traversed interfaces.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual interface traversing is performed, then users can view and test all application interfaces, but the workload is high and efficiency is low due to the large quantity of interfaces and language types

Engineering Contradiction:
Improveinterface traversing efficiencyVSAvoidtime required for manual traversing
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent replaces the manual mechanical operation of interface traversing with an automated testing system. The system automatically selects interfaces based on language types, navigates through sub-interfaces, and records traversal status without human intervention, thereby dramatically improving efficiency and reducing time consumption.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The testing system performs self-service by automatically managing the entire interface traversing process. It independently selects interfaces, navigates through them, detects traversal status, and generates test reports without requiring continuous human operation, making the system self-sufficient in performing the traversing task.

Inventive Principle:
Principle #25Self-service

2Reliability

If manual interface traversing is performed, then users can test interface display correctness, but interface omission easily occurs due to the complex traversing process

Engineering Contradiction:
Improvecompleteness of interface coverageVSAvoidcomplexity of traversing process
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements feedback mechanisms by continuously detecting and recording the traversal status of each interface. It maintains a control list that tracks which interfaces have been tested and which have been omitted, providing real-time feedback on traversal completeness. This feedback loop ensures that no interface is missed and allows for corrective action if omissions are detected.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary actions by pre-defining the complete set of interfaces that need to be traversed based on language types and interface hierarchies. It prepares a comprehensive test plan before execution, identifying all potential interfaces and sub-interfaces that must be covered, thereby preventing omissions before they occur.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If all interfaces are manually traversed to ensure no omission, then completeness is improved, but the workload increases significantly

Engineering Contradiction:
Improveinterface traversing completenessVSAvoidoperational simplicity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system replaces manual mechanical operations with automated processes. It automatically navigates through all interfaces, detects their traversal status, and records results without human intervention. This substitution maintains complete coverage while eliminating the high workload associated with manual traversing of numerous interfaces across multiple language types.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Measurement precision

If manual traversing is performed across multiple language types, then language-specific display correctness can be verified, but the quantity of interfaces to test increases dramatically

Engineering Contradiction:
Improvelanguage display verification accuracyVSAvoidnumber of interfaces to traverse
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The testing system exhibits universality by being capable of handling multiple language types through a single automated framework. It automatically adapts to different language configurations, selects appropriate interfaces for each language, and performs traversing without requiring separate manual processes for each language, thereby managing the increased quantity of interfaces efficiently.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system segments the large quantity of interfaces by organizing them according to language types and hierarchical relationships. It divides the traversing task into manageable units based on language-specific interface sets, allowing systematic processing of each segment while maintaining overall completeness across all languages.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10990511B2Apparatus and application interface traversing method
Publication Date: 2021.04.27 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10990511B2 patent drawing
  • US10990511B2 patent drawing
  • US10990511B2 patent drawing

AI summary

An apparatus including processing circuitry and an application interface traversing method are described. The processing circuitry selects a target interface from a plurality of interfaces of an application to be tested. The target interface is associated with at least one of a control element, a sub-interface, and a parent interface. The processing circuitry obtains a first control list for the target interface. The first control list indicates whether the at least one of the control element, the sub-interface, and the parent interface has been traversed. The processing circuitry determines, based on the first control list, whether the target interface is associated with a non-traversed interface corresponding to one of the at least one of the control element, the sub-interface, and the parent interface. When the target interface is determined to be associated with the non-traversed interface, the processing circuitry selects the non-traversed interface to update the first control list.