• 제목/요약/키워드: 안드로이드(Android) GUI 테스팅

Search Result 6, Processing Time 0.018 seconds

A GUI State Comparison Technique for Effective Model-based Android GUI Testing (효과적인 모델 기반 안드로이드 GUI 테스팅을 위한 GUI 상태 비교 기법)

  • Baek, Youngmin;Hong, Gwangui;Bae, Doo-hwan
    • Journal of KIISE
    • /
    • v.42 no.11
    • /
    • pp.1386-1396
    • /
    • 2015
  • Graphical user interface testing (GUI testing) techniques have been widely used to test the functionality of Android applications (apps) and to detect faults for verification of the reliability and usability of apps. To adequately test the behaviors of apps, a number of studies on model-based GUI testing techniques have been performed on Android apps. However, the effectiveness of model-based techniques greatly depends on the quality of the GUI model, because model-based GUI testing techniques generate test inputs based on this model. Therefore, in order to improve testing effectiveness in model-based techniques, accurate and efficient GUI model generation has to be achieved using an improved model generation technique with concrete definition of GUI states. For accurate and efficient generation of a GUI model and test inputs, this study suggests a hierarchical GUI state comparison technique and evaluates this technique through comparison with the existing model-based techniques, considering activities as GUI states. Our results show that the proposed technique outperforms existing approaches and has the potential to improve the performance of model-based GUI testing techniques for Android apps.

Functional Test Automation for Android GUI Widgets Using XML (XML을 이용한 안드로이드 GUI 위젯의 기능 테스트 자동화)

  • Ma, Yingzhe;Choi, Eun-Man
    • The KIPS Transactions:PartD
    • /
    • v.19D no.2
    • /
    • pp.203-210
    • /
    • 2012
  • 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.

A GUI Testing Technique Based on Activity Lifecycle for Android Applications (안드로이드 어플리케이션의 액티비티 라이프사이클 기반 GUI 테스팅 기법)

  • Baek, Tae-San;Lee, Woo Jin
    • IEMEK Journal of Embedded Systems and Applications
    • /
    • v.8 no.6
    • /
    • pp.319-327
    • /
    • 2013
  • 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.

The Android application GUI testing tool apply and case study (안드로이드 애플리케이션 GUI 테스팅 도구 적용 및 사례연구)

  • Kim, Taekyun;Kwon, Gihyun
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2012.04a
    • /
    • pp.1231-1234
    • /
    • 2012
  • GUI는 안정성과 견고성 그리고 사용성을 검증하기 위하여 반드시 테스트가 되어야 한다. 하지만 이러한 GUI 테스팅은 기존 소프트웨어 테스트 과정보다 복잡하고 많은 양의 테스트 작업을 요구하게 된다. 그리하여 많은 자동화된 테스트 도구가 개발 되어왔으며, 많은 산업체에서는 이러한 자동화된 테스트 도구를 사용하여 소프트웨어의 품질을 측정하고 있다. 하지만 모바일 소프트웨어의 GUI를 테스트하기 위한 도구는 현재까지 개발 중이며 많은 연구가 선행 되고 있다. 본 논문은 이러한 모바일 애플리케이션의 GUI를 테스트 하기 위하여 많이 사용되고 있는 오픈 소스 기반의 도구 3개를 선정하여 실제 애플리케이션에 적용하여 보고 분석을 통하여 향후 테스트 도구 개발에 대한 방향을 제시 하고자 한다.

A Test Case Generation Method Based on Activity for Android Application Testing (안드로이드 애플리케이션을 테스트하기 위한 액티비티 기반의 테스트 케이스 생성 방법)

  • Ko, Minhyuk;Seo, Yongjin;Yun, Sangpil;Kim, Hyeon Soo
    • KIPS Transactions on Software and Data Engineering
    • /
    • v.2 no.10
    • /
    • pp.679-690
    • /
    • 2013
  • Smartphones have features that users feel free to install/delete the program they want. Their emergence makes many developers rush into the Smartphone application development market. Thus, developing good applications quickly is becoming even more intense competition in the market. Because, however, the application development and deployment procedures are simple in the Android environments and anyone can participate in the development easily, applications not validated thoroughly are likely to be deployed. Therefore, a systematic approach that can verify Android-based applications with fewer burdens is required. In this paper, we propose a method that generates automatically GUI-based testing scenarios for the Android applications. The automated test scenario generation can reduce the time which the developer spends on testing, thus it can improve the productivity of the development in the testing phase.

Testing Android Applications Considering Various Contexts Inferred from Permissions (안드로이드 어플리케이션 개발에서 퍼미션 분석을 사용한 다양한 테스트 환경 조건 생성 기법)

  • Song, Kwangsik;Han, Ah-Rim;Jeong, Sehun;Cha, Sungdeok
    • Journal of KIISE
    • /
    • v.42 no.8
    • /
    • pp.1022-1030
    • /
    • 2015
  • The context-awareness of mobile applications yields several issues for testing, since mobile applications should be able to be tested in any environment and under any contextual input. In previous studies of testing for Android applications as an event-driven system, many researchers have focused on using generated test cases considering only Graphical User Interface (GUI) events. However, it is difficult to find failures that could be detected when considering the changes in the context in which applications run. It is even more important to consider various contexts since the mobile applications adapt and use the new features and sensors of mobile devices. In this paper, we provide a method of systematically generating various executing contexts from permissions. By referring to the lists of permissions, the resources used by the applications for running Android applications can be easily inferred. To evaluate the efficiency of our testing method, we applied the method on two open source projects and showed that it contributes to improve the statement code coverage.