Efficiency Matters: Speeding Up Automated Testing with GUI Rendering Inference

12/10/2022
by   Sidong Feng, et al.
0

Due to the importance of Android app quality assurance, many automated GUI testing tools have been developed. Although the test algorithms have been improved, the impact of GUI rendering has been overlooked. On the one hand, setting a long waiting time to execute events on fully rendered GUIs slows down the testing process. On the other hand, setting a short waiting time will cause the events to execute on partially rendered GUIs, which negatively affects the testing effectiveness. An optimal waiting time should strike a balance between effectiveness and efficiency. We propose AdaT, a lightweight image-based approach to dynamically adjust the inter-event time based on GUI rendering state. Given the real-time streaming on the GUI, AdaT presents a deep learning model to infer the rendering state, and synchronizes with the testing tool to schedule the next event when the GUI is fully rendered. The evaluations demonstrate the accuracy, efficiency, and effectiveness of our approach. We also integrate our approach with the existing automated testing tool to demonstrate the usefulness of AdaT in covering more activities and executing more events on fully rendered GUIs.

READ FULL TEXT

page 3

page 7

page 8

research
08/13/2023

Towards Efficient Record and Replay: A Case Study in WeChat

WeChat, a widely-used messenger app boasting over 1 billion monthly acti...
research
11/23/2020

CAT: Change-focused Android GUI Testing

Android Apps are frequently updated, every couple of weeks, to keep up w...
research
01/09/2019

A Deep Learning based Approach to Automated Android App Testing

Automated input generators are widely used for large-scale dynamic analy...
research
01/18/2018

CrashScope: A Practical Tool for Automated Testing of Android Applications

Unique challenges arise when testing mobile applications due to their pr...
research
05/21/2020

Concurrency-related Flaky Test Detection in Android apps

Validation of Android apps via testing is difficult owing to the presenc...
research
05/27/2022

NaviDroid: A Tool for Guiding Manual Android Testing via Hint Moves

Manual testing, as a complement to automated GUI testing, is the last li...
research
12/06/2018

Deep-learning to Predict Perceived Differences to a Hidden Reference Image

Image metrics predict the perceived per-pixel difference between a refer...

Please sign up or login with your details

Forgot password? Click here to reset