시나리오의 자동 생성을 통한 GUI 테스트 케이스 생성 방법

Test Cases Generation Method for GUI Testing with Automatic Scenario Generation

  • 이정규 (충남대학교 전기정보통신공학부 컴퓨터) ;
  • 국승학 (충남대학교 전기정보통신공학부 컴퓨터) ;
  • 김현수 (충남대학교 전기정보통신공학부 컴퓨터)
  • 발행 : 2009.01.15

초록

최근 GUI 컴포넌트는 소프트웨어의 중요한 성공 요소이다. 따라서 GUI 컴포넌트는 반드시 검증되어야 한다. 그러나 소프트웨어의 GUI 검증을 위한 테스트에는 많은 시간과 비용이 소요된다. 이러한 자원의 소비를 줄이기 위해서는 GUI 테스트의 자동화가 필연적이다. 본 논문에서는 GUI 테스트를 수행하기 위해 고려해야 할 문제를 논하고 기존치 Record & Play-back 기술을 기반으로 한 GUI 테스트 케이스 생성 기법을 보완한다. 이를 위해 스파이 기술을 이용한 이벤트 생성 방법과 이렇게 생성된 이벤트를 그룹화하여 다양하고 효과적인 시나리오 생성 방법을 제안한다. 그리고 이렇게 생성된 시나리오를 바탕으로 GUI 테스트 케이스 생성 방법을 기술한다.

In these days GUI components are recognized as the important driving elements to the successful software development. Thus they must be verified. In practice, however, GUI testing for verifying the GUI components needs lots of time and high costs. Test automation for GUI testing is a promising solution to save those expenses. In this paper, we discuss some issues considered to perform GUI testing and suggest a new method that improve the GUI test case generation method based on our previous 'record & playback' approach. For this, we suggest the event generation method using the 'spy' technique and the scenario generation method that generates effectively a lot of scenarios with the generated events. In turn we describe how to create GUI test cases from the generated scenarios.

키워드

참고문헌

  1. Atif M. Memon, 'GUI Testing: Pitfalls and Process,' IEEE Computer, pp.90-91, August 2002
  2. Atif M. Memon, Martha E. Pollack and Mary L. Soffa, 'Hierarchical GUI Test Case Generation Using Automated Planning,' IEEE Transactions on Software Engineering, Vol.27, No.2, pp. 144-155, Feb. 2001 https://doi.org/10.1109/32.908959
  3. 이정규, 김현수, 국승학, 조대완, 'Record-Playback 기술 기반의 GUI 테스트 케이스 자동 생성', 한국정보과학회 2007 한국컴퓨터종합학술대회 논문집 제34권 제1호(B), pp. 96-100, 2007. 6
  4. MSDN, http://msdn2.microsoft.com
  5. 김은주, 최은만, '시나리오를 이용한 객체 지향 시스템의 기능 테스트', 한국정보과학회 1996년도 가을 학술발표논문집, 제23권 제2호(B), pp. 1523-1526, 1996. 10
  6. Ranorex. www.ranorex.com
  7. Kai Y. Cai, Lei Zhao, Hai Hu and Chang H. Jiang, 'On the Test Case Definition for GUI Testing,' Proceedings of the Fifth International Conference on Quality Software(QSIC''05), pp. 19-28, 2005 https://doi.org/10.1109/QSIC.2005.45