Test Script Intention Generation for Mobile Application via GUI Image and Code Understanding
Shengcheng Yu, Chunrong Fang, Jia Liu, Zhenyu Chen

TL;DR
This paper introduces TestIntention, a novel method that infers user expectations from mobile app test scripts by combining GUI layout, image understanding, and code analysis to improve script comprehension.
Contribution
It presents a new approach that formalizes test scripts into operation sequences and uses deep learning and code understanding to generate test intentions, addressing the gap in test script understanding.
Findings
Effective inference of test script intentions using deep learning.
Successful linking of GUI widgets to response events and images.
Enhanced understanding of test scripts for maintenance and modification.
Abstract
Testing is the most direct and effective technique to ensure software quality. Test scripts always play a more important role in mobile app testing than test cases for source code, due to the GUI-intensive and event-driven characteristics of mobile applications (app). Test scripts focus on user interactions and the corresponding response events, which is significant for testing the target app functionalities. Therefore, it is critical to understand the test scripts for better script maintenance and modification. There exist some mature code understanding (i.e., code comment generation) technologies that can be directly applied to functionality source code with business logic. However, such technologies will have difficulties when being applied to test scripts, because test scripts are loosely linked to apps under test (AUT) by widget selectors, and do not contain business logic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Advanced Malware Detection Techniques
