Browse > Article
http://dx.doi.org/10.3745/KIPSTD.2012.19D.2.203

Functional Test Automation for Android GUI Widgets Using XML  

Ma, Yingzhe (비원플러스)
Choi, Eun-Man (동국대학교 컴퓨터공학과)
Abstract
Capture-and-replay technique is a common automatic method for GUI testing. Testing applications on Android platform cannot use directly capture-and-replay technique due to the testing framework which is already set up and technical supported by Google and lack of automatic linking GUI elements to actions handling widget events. Without capture-and-replay testing tools testers must design and implement testing scenarios according to the specification, and make linking every GUI elements to event handling parts all by hand. This paper proposes a more improved and optimized approach than common capture-and-replay technique for automatic testing Android GUI widgets. XML is applied to extract GUI elements from applications based on tracing the actions to handle widget events. After tracing click events using monitoring in capture phase test cases will be created by communicating status of activated widget in replay phase with API events.
Keywords
Test Automation; GUI testing; XML;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 Android Testing Framework, http://developer.android.com
2 JUnit, http://www.junit.org/
3 B. Mu, MK. Zhan, LF. Hu, "Design and Implementation of GUI Automated Testing Framework Based on XML," WCSE '09 Proceedings of the 2009 WRI World Congress on Software Engineering, Vol.4, pp.194-199, 2009.
4 C. Lowell and J. Stell-Smith, "Successful Automation of GUI Driven Acceptance Testing," Lecture Notes in Computer Science, Springer-Verlag Heidelberg, Vol.2675, pp.331-333, 2003.
5 J. Chen and S. Subramaniam, "Specification-based Testing for GUI-based Applications," Software Quality Journal, Vol.10, No.3, pp.205-224, 2002.   DOI   ScienceOn
6 Y. Sun and E. L. Jones, "Specification-Driven Automated Testing," Proceedings of the 42ed Annual Southeast Regional Conference, pp.140-145, 2004.
7 M. Assem, A. Keshk, N. Ismail, H. Nassa, "Specification - Driven Automated Testing of Java Swing GUIs Using XML," ITI 5th International Conference on Information and Communications Technology, pp.84-88, 2009.
8 M. A. Abdel Salam, A. E. Keshk, N. A. Ismail, H. M. Nassar, "Automated Testing of Java Menu-Based GUIs Using XML Visual Editor," ICCES '07. International Conference on Computer Engineering & System, pp.313-318, 2007.
9 W. K. Chen, T. H. Tsai, and H. H. Chao, "Integration of Specification based and CR-based Approaches for GUI Testing," AINA'05, 19th International Conference on Advanced Information Networking and Applications, Vol.1, pp.967-972, 2005.
10 김상형, 안드로이드 프로그래밍 정복, 한빛미디어, 2010.
11 권호철, 김주성, 이창건, 하은용, "안드로이드 모바일 플랫폼에 서의 사용자 인터페이스 자동 전환 기술의 개발," 한국 정보과학회 학술 발표 논문집, Vol.36, No.2(B), pp.436-440, 2009.
12 황선명, 윤석진, "이미지 플로우 기반의 모바일 GUI 테스트 도구에 관한 연구," 정보처리학회논문지D, Vol.15-D, pp. 347-354, 2008.   과학기술학회마을   DOI   ScienceOn
13 황선명, 김정종, "시나리오기반의 모바일 어플리케이션 소프트 웨어 GUI 테스트 방법," 한국산학기술학회논문지, Vol.9, pp.681-689, 2008.
14 A. Jaaskelainen, M, Katara, A, Kervinen, M, Maunumaa, T. Paakkonen, T. Takala and H. Virtanen, "Automatic GUI Test Generation for Smart Phone Applications - an Evaluation," ICSE - Companion 2009. 31st International Conference on Software Engineering - Companion Volume, pp.112-122, 2009.
15 A. M. Memon, M. E. Pollack and M. L. Soffa, "Hierarchical GUI test case generation using automated planning," IEEE Transactions on Software Engineering, Vol.27, No.2, pp.144-155, 2001.   DOI   ScienceOn
16 A. M. Memon, "GUI Testing: Pitfalls and Process," IEEE Computer, Vol.35, pp.87-88, 2002.   DOI   ScienceOn
17 Automated GUI Testing, Tessella Support Services plc, January 1999, http://www.tssp.co.uk/Literature/Supplements/autogui.htm