DOI QR코드

DOI QR Code

안드로이드 어플리케이션의 액티비티 라이프사이클 기반 GUI 테스팅 기법

A GUI Testing Technique Based on Activity Lifecycle for Android Applications

  • 투고 : 2013.06.21
  • 심사 : 2013.09.04
  • 발행 : 2013.12.31

초록

Most Android applications are being developed by one or a few person without professional testing team. In such a poor development environment, applications may contain severe errors which may also affect the Android platform. In order to detect these errors, the behaviors of Android activities should be identified by considering user-defined lifecycle as well as the system-defined one. This paper proposes a method to generate test scenarios based on the both of user-defined and system-defined activity lifecycle of Android GUI applications. The test scenarios are generated by a state diagram extracted from the source code and are transformed into Jython scribes by using GUI layout information for automatically performing testing.

키워드

참고문헌

  1. C. Hu, "Automating GUI Testing for Android Applications," Proceedings of International Workshop on Automation of Software Test. ACM, 2011.
  2. JUnit, http://www.junit.org/taxonomy/term/6.
  3. Monkey, http://developer.android.com/guide/developing/tools/monkey.html.
  4. Monkey UI/Application Excerceiser, http://developer.android.com/guide/developing/tools/monkey.html, May 2010.
  5. J.G. Lee, H.S. Kim, S.H. Kuk, D.W. Cho, "Record-Playback based Automatic test case generation for GUI test," Proceedings of the KIISE Korea Computer Congress, Vol. 34, No. 1(B), pp.96-100, 2007 (in Korean).
  6. Android activity lifecycle, "http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle," 2010.
  7. Robotium, http://code.google.com/p/robotium/
  8. Sikuli, http://sikuli.org/
  9. L. Wang, J. Yuan, X. Yu, J. Hu, X. Li, G. Zheng, "Generating Test Cases from UML Activity Diagram based on Gray-Box Method," Proceedings of Asia-Pacific Software Engineering Conference (APSEC'04), 2004.
  10. H. Li, C.P. Lam, "Using Anti-Ant-like Agents to Generate Test Threads from the UML Diagrams," TestCom, LNCS 3502, pp.69-80, 2005.
  11. R. Chandler, C.P. Lam, H. Li, "An Automated Approach to Generating Usage Scenarios from UML Activity Diagrams," Proceedings of Asia-Pacific Software Engineering Conference, 2005.