Zing Forum

Reading

ITeM: An Intent-Driven Migration Framework for Mobile App GUI Testing

ITeM is an innovative GUI test migration method that leverages the understanding and reasoning capabilities of large language models (LLMs). Through a two-stage framework of intent generation and dynamic reasoning, it addresses the limitations of traditional control-matching-based test migration methods when interaction logic changes.

GUI测试移动应用大语言模型测试迁移自动化测试ISSTAAndroidAppium
Published 2026-04-10 19:42Recent activity 2026-04-10 19:48Estimated read 5 min
ITeM: An Intent-Driven Migration Framework for Mobile App GUI Testing
1

Section 01

ITeM Framework Overview: Intent-Driven Solution to Mobile App GUI Test Migration Challenges

ITeM is an innovative intent-driven GUI test migration method that uses the understanding and reasoning abilities of large language models. It employs a two-stage framework of intent generation and dynamic reasoning to overcome the limitations of traditional control-matching-based test migration methods when interaction logic changes. This method has been experimentally validated for its effectiveness and efficiency advantages and was published at ISSTA 2025, a top conference in the software engineering field.

2

Section 02

Background and Challenges: Plight of Traditional GUI Test Migration

Mobile app GUI testing is a core means to ensure quality, but manual test case construction is costly and labor-intensive, driving the development of automated test migration technologies. Traditional methods model test migration as a control matching task, which performs well when interaction logic is consistent but fails when interaction logic changes between different apps—yet interaction logic variations are extremely common in the actual mobile app ecosystem.

3

Section 03

ITeM Core Framework: Two-Stage Intent-Driven Migration

ITeM uses a two-stage framework:

  1. Intent Generation: Analyze the test execution trajectory of the source app through a transition-aware mechanism to abstract the tester's real task intent, decoupling test logic from UI implementation;
  2. Dynamic Reasoning Execution: Based on the current interface state of the target app, use large language models to infer the specific operational steps needed to fulfill the intent, naturally adapting to changes in interaction logic.
4

Section 04

ITeM Technical Architecture and Implementation Details

Tech Stack: Appium 2.2.1 (automation control), Android SDK and emulators (supports 6.0/11.0), Java8/Python3.11 (core languages), OpenAI API (LLM integration). System Modules:

  • Execution Tracking: Records the test execution trajectory of the source app;
  • Intent Generation: Generates high-level intents based on the trajectory;
  • Intent Migration: Implements the intent in the target app;
  • Assertion Migration: Migrates test assertions and verification logic.
5

Section 05

Experimental Validation: ITeM's Effectiveness and Robustness

The research team conducted experiments on 35 real Android apps with 280 test migration tasks. The results show that ITeM has significant advantages in both effectiveness and efficiency compared to the current state-of-the-art methods. Its core robustness comes from migration at the semantic level (intent) rather than the syntactic level (control), fundamentally avoiding the matching failure problem caused by changes in interaction logic.

6

Section 06

Academic Achievements: Published at ISSTA 2025 and Open-Source Dataset

The ITeM research成果 was published at ISSTA 2025, a top conference in software engineering. The paper details the method design, implementation details, and experimental evaluation. The relevant dataset has been open-sourced on the Zenodo platform to facilitate reproduction and extension by other researchers.

7

Section 07

Practical Significance and Future Outlook: Reducing Testing Costs and Unleashing LLM Potential

For mobile app development teams, ITeM can significantly reduce test maintenance costs during UI refactoring/function adjustments and improve the reusability of test assets. From a macro perspective, ITeM demonstrates the deep application potential of large language models in complex software engineering tasks (such as test automation), pointing the way for the development of intelligent testing tools.