DocumentCode :
3658662
Title :
A Context-Aware Approach for Dynamic GUI Testing of Android Applications
Author :
Haowen Zhu;Xiaojun Ye;Xiaojun Zhang;Ke Shen
Author_Institution :
Sch. of Software, Tsinghua Univ., Beijing, China
Volume :
2
fYear :
2015
fDate :
7/1/2015 12:00:00 AM
Firstpage :
248
Lastpage :
253
Abstract :
In this paper, we propose an automatic GUI testing approach for Android applications. With the goal of exploring unexecuted event handlers of the application under test as quickly possible, our approach constructs and maintains a dynamic GUI model of the application at run time, which is based on extended non-deterministic labelled transition system that records the weight of transitions between GUI states. Extracting only part of the GUI features of the application under test, the model keeps itself simple enough to avoid state explosion and improves the test efficiency, but provides targeted guidance for testing event generation at the same time. A practical probabilistic search-based event selection algorithm is used to leverage information provided by the model, transform weight of transitions to priority of candidate events, and select the testing event to execute. The algorithm solves the non-deterministic problem introduced by the approximation of the model. Empirical evaluation on several real world applications shows that our approach can achieve high code coverage quickly and detect bugs efficiently.
Keywords :
"Graphical user interfaces","Testing","Reactive power","Probabilistic logic","Heuristic algorithms","Androids","Humanoid robots"
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference (COMPSAC), 2015 IEEE 39th Annual
Electronic_ISBN :
0730-3157
Type :
conf
DOI :
10.1109/COMPSAC.2015.77
Filename :
7273625
Link To Document :
بازگشت