DOI QR코드

DOI QR Code

Android Intent Based Component Interaction Diagram Generation and Test Scenarios Design Techniques

안드로이드 인텐트 기반 컴포넌트 상호작용 다이어그램 생성 및 테스트 시나리오 설계기법

  • 백태산 (경북대학교 컴퓨터학부) ;
  • 이우진 (경북대학교 컴퓨터학부)
  • Received : 2016.01.07
  • Accepted : 2016.04.07
  • Published : 2016.04.30

Abstract

Using the intent of the Android application, an application can execute other application's components. However, if interaction between these components are not processed normally, such problems as incorrect component execution and unhandled system broadcast may be occurred. In this paper, to generate test scenarios for inter application interaction, a testing approach is proposed using a merged intent list and a single merged diagram. The proposed method can effectively be carried out to check the abnormal interaction among the applications which was not considered in existing testing approaches.

안드로이드 어플리케이션은 인텐트를 이용하여 다른 어플리케이션의 컴포넌트를 호출하여 실행시킬 수 있다. 하지만 컴포넌트들 사이의 상호작용이 정상적으로 처리되지 않으면 잘못된 컴포넌트가 실행되거나 전화 수신과 같은 시스템 브로드캐스트를 처리하지 못하는 문제점이 발생할 수 있다. 본 논문에서는 이와 같은 상호작용 문제점을 검사하기 위해 서로 연동하여 동작하는 어플리케이션들로부터 컴포넌트 기반의 다이어그램들을 생성하고 이를 하나의 병합된 다이어그램으로 변환하여 테스트 시나리오를 생성하는 방법을 제안한다. 제안된 방식은 기존의 테스팅 기법에서 고려하지 못한 어플리케이션간의 상호작용 검사를 효율적으로 수행할 수 있다.

Keywords

References

  1. Smartphone OS Market Share, 2015 Q2 [Internet], http://www.idc.com/prodserv/smartphone-os-market-share.jsp.
  2. Number of available applications in the Google Play Store from December 2009 to July 2015 [Internet], http://www.statista.com/statistics/266210/number-of-available-applications-in-the-google-play-store/.
  3. Application Component [Internet], http://developer.android.com/guide/components/fundamentals.html.
  4. JUnit [Internet], http://www.junit.org/taxonomy/term/6.
  5. Jung-Gyuew Lee, Hyeon-Soo Kim, Seung Hak Kuk, and Dae-Wan Cho, "Record-Playback based Automatic test case generation for GUI test," Proceedings of the KIISE Korea Computer Congress 2007, Vol.34, No.1, pp.96-100, 2007.
  6. Tae-San Baek and Woo Jin Lee, "A GUI Testing Technique based on Activity Lifecycle for Android Applications," Journal of IEMEK, Vol.8, No.6, pp.319-327, 2013.
  7. Tae-San Baek, Sung Hee Lee, and Woo Jin Lee, "Generation of Test Scenarios based on Intent List and Abstract Activity Diagram for Android Application," Journal of KIISE Transactions on Computing Practices, Vol.20, No.7, pp.386-391, 2014.
  8. Erika Chin, Adrienne Porter Felt, Kate Greenwood, and David Wagner, "Analyzing inter-application communication in Android," Proceedings of the 9th International Conference on Mobile Systems, Applications, and Services. ACM, pp. 239-252, 2011.
  9. Raja Vallee-Rai, Etienne Gagnon, Laurie J. Hendren, Patrick Lam, Patrice Pominville, and Vijay Sundaresan, "Optimizing Java Bytecode Using the Soot Framework: Is It Feasible?" Proceedings of the 9th International Conference on Compiler Construction, Springer, London, UK, pp.18-34, 2000.
  10. Ranjita Swainm Vikas Panthi, Prafulla Kumar Behera, and Durga Prasad Mohapatra, "Automatic test case generation from UML state chart diagram," International Journal of Computer Applications, Vol.42. No.7, pp.26-36, 2012. https://doi.org/10.5120/5705-7756
  11. Android Gallery [Internet], http://developer.android.com/reference/android/widget/Gallery.html.
  12. Android Camera example [Internet], http://www.androidpub.com/2282206.