Title :
ADAutomation: An Activity Diagram Based Automated GUI Testing Framework for Smartphone Applications
Author :
Ang Li ; Zishan Qin ; Mingsong Chen ; Jing Liu
Author_Institution :
Shanghai Key Lab. of Trustworthy Comput., East China Normal Univ., Shanghai, China
fDate :
June 30 2014-July 2 2014
Abstract :
Under the increasing complexity and time-to-market pressures, functional validation is becoming a major bottleneck of smartphone applications running on mobile platforms (e.g., Android, iOS). Due to the GUI (Graphical User Interface) intensive nature, the execution of smartphone applications heavily relies on the interactions with users. Manual GUI testing is extremely slow and unacceptably expensive in practice. However, the lack of formal models of user behaviors in the design phase hinders the automation of GUI testing (i.e., test case generation and test evaluation). While thorough test efforts are required to ensure the consistency between user behavior specifications and GUI implementations, few of existing testing approaches can automatically utilize the design phase information to test complex smartphone applications. Based on UML activity diagrams, this paper proposes an automated GUI testing framework called AD Automation, which supports user behavior modeling, GUI test case generation, and post-test analysis and debugging. The experiments using two industrial smartphone applications demonstrate that our approach can not only drastically reduce overall testing time, but also improve the quality of designs.
Keywords :
Unified Modeling Language; formal specification; graphical user interfaces; program debugging; program testing; smart phones; ADAutomation; GUI test case generation; UML activity diagrams; activity diagram based automated GUI testing framework; debugging; design phase information; functional validation; graphical user interface; mobile platforms; post-test analysis; smartphone applications; user behavior modeling; user behavior specifications; Analytical models; Androids; Graphical user interfaces; Libraries; Semantics; Testing; Unified modeling language; Activity Diagram; GUI Testing; Smartphone Applications;
Conference_Titel :
Software Security and Reliability (SERE), 2014 Eighth International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4799-4296-1
DOI :
10.1109/SERE.2014.20