• Title/Summary/Keyword: GUI Automation Test

Search Result 17, Processing Time 0.022 seconds

A Study on the Development Method of Android App GUI Test Automation Tool (안드로이드 앱 GUI 테스트 자동화 툴 개발 방법에 관한 연구)

  • Park, Se-jun;Kim, Kyu-jung
    • The Journal of the Korea Contents Association
    • /
    • v.21 no.8
    • /
    • pp.403-412
    • /
    • 2021
  • As the number of mobile apps increases exponentially, automation of tests performed in the app development process is becoming more important. Until the app is released, iterative verification is performed through various types of tests, and this study was conducted focusing on the GUI test among various types of tests. This study is meaningful in that it can contribute to the stable app distribution of the developer by suggesting the development direction of the GUI test. To develop Android's GUI test tool, I collected basic data before presenting the development method by researching Android's UI controls and Material design guideline. After that, for the existing GUI test automation tool, two tools based on screen capture test and four tools based on source code analysis test were studied. Through this, it was found that existing GUI test tools don't consider visual design, usability, and component arrangement. In order to supplement the shortcomings of existing tools, a new GUI test automation tool development method was presented based on the basic data previously studied.

An Automated Test Technique of GUI Based on Source Code (소스코드기반의 GUI 테스트 자동화 기법의 구현)

  • Moon, Joong-Hee;Lee, Nam-Yong
    • Journal of KIISE:Software and Applications
    • /
    • v.36 no.9
    • /
    • pp.697-705
    • /
    • 2009
  • A GUI automated test can be divided into two areas. The first one is a regression test automation and the second one is an automated test. The former includes generating test cases manually and executing them automatically but the latter includes both generating test cases and executing them automatically. Costs of a software test are increasing more and more. Many companies are searching for a test automation method but most used things are limited to regression test automation. So, when testing at first, there should be test cases which are drawn up by a human. This paper explains to make test cases based on a source code and execute them automatically. In this paper, the study proceeds with a digital television set-top box application and explains to test without any effort of human. Of course, this study is far from a realization to industries. But this paper has a contribution at reducing more human efforts than the previous regression test automation and showing that later, fully automated test can be possible.

GUI-based Black Box Test Automation Program Tool in Windows Environment (윈도우 환경에서의 GUI 기반 블랙박스 테스트 자동화 프로그램 도구)

  • Jeong, Beomjin;Lee, Jungwoo;Hong, Changwan;An, Beongku
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.18 no.2
    • /
    • pp.163-168
    • /
    • 2018
  • In this paper, we propose and develop a test automation program tool that automates GUI based testing using black box testing technique in Windows environment. The main features of the proposed test automation program tool are as follows. First, an error condition is designated as an image, a screen is captured for each test step, and an error message is detected through comparison of image similarity. Second, the proposed system supports various setting options such as event waiting time during execution and coordinate increment value between each test step. Such black box test automation research was common in environments such as Android and Web, but not in Windows environment. The results of performance evaluation show that the proposed system performs GUI test automation as an image comparison module and confirms that the test is performed normally by confirming process status and error image detection.

Test Cases Generation Method for GUI Testing with Automatic Scenario Generation (시나리오의 자동 생성을 통한 GUI 테스트 케이스 생성 방법)

  • Lee, Jung-Gyw;Kuk, Seung-Hak;Kim, Hyeon-Soo
    • Journal of KIISE:Software and Applications
    • /
    • v.36 no.1
    • /
    • pp.45-53
    • /
    • 2009
  • 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.

An automation method for GUI test using a UIA library (UIA 라이브러리를 이용한 GUI 테스트 자동화 방법)

  • Choi, Chang-Min;Chung, In-Sang;Kim, Hyeon-Soo
    • The KIPS Transactions:PartD
    • /
    • v.18D no.5
    • /
    • pp.343-356
    • /
    • 2011
  • When preparing test cases and running the test the existing GUI test tools require many tester's interventions. To cope with such problem this paper suggests a new method to build test cases for GUI test. This method identifies the potential control flows within the GUI and constructs the GUI map. The UIA library in .NET Framework is used to extract information about the GUI controls and the GUI map is constructed by the extracted information. Test scenarios are generated from the extracted information about the GUI controls using the grouping mechanism. Based on the grouping mechanism, various test scenarios which are test cases in GUI tests can be made by replacing a GUI control by another one in the same group. The existing GUI test tools do not support the concept of test coverage. Since, however, our method survey which part of the GUI map is executed or not during running the test, the test coverage can be measured by using the GUI map.

Mobile GUI Testing Tool Based-on Image Flow (이미지 플로우 기반의 모바일 GUI 테스트 도구에 관한 연구)

  • Hwang, Sun-Myung;Yoon, Seok-Jin
    • The KIPS Transactions:PartD
    • /
    • v.15D no.3
    • /
    • pp.347-354
    • /
    • 2008
  • In order to enhance the productivity of mobile and develop reliable software, the test of mobile application software should be required absolutely. The most important way to communicate to users has been used to GUI. But GUI test method in mobile has no the test automation system except manual test by checklist. In this paper we present a test method and tool by image flow to reduce the time required and finds out errors to GUI, by carrying out the study on automatic GUI testing tool based on image flow to GUI test of mobile application.

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.

Software Test Automation Using Data-Driven Approach : A Case Study on the Payment System for Online Shopping (데이터 주도 접근법을 활용한 소프트웨어 테스트 자동화 : 온라인 쇼핑몰 결제시스템 사례)

  • Kim, Sungyong;Min, Daihwan;Rim, Seongtaek
    • Journal of Information Technology Services
    • /
    • v.17 no.1
    • /
    • pp.155-170
    • /
    • 2018
  • This study examines a data-driven approach for software test automation at an online shopping site. Online shopping sites typically change prices dynamically, offer various discounts or coupons, and provide diverse delivery and payment options such as electronic fund transfer, credit cards, mobile payments (KakaoPay, NaverPay, SyrupPay, ApplePay, SamsungPay, etc.) and so on. As a result, they have to test numerous combinations of possible customer choices continuously and repetitively. The total number of test cases is almost 584 billion. This requires somehow automation of tests in settling payments. However, the record playback approach has difficulties in maintaining automation scripts due to frequent changes and complicated component identification. In contrast, the data-driven approach minimizes changes in scripts and component identification. This study shows that the data-driven approach to test automation is more effective than the traditional record playback method. In 2014 before the test automation, the monthly average defects were 5.6 during the test and 12.5 during operation. In 2015 after the test automation, the monthly average defects were 9.4 during the test and 2.8 during operation. The comparison of live defects and detected errors during the test shows statistically significant differences before and after introducing the test automation using the data-driven approach.

A design of test automation platform for unit testing on GUI application (GUI 애플리케이션의 단위 테스트를 위한 테스트 자동화 플랫폼의 설계)

  • Park, Hwanseok;Ryu, Hodong;Lee, Woo Jin
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2012.04a
    • /
    • pp.1211-1212
    • /
    • 2012
  • 최근 IT 기기는 GUI를 지원하여 사용자들에게 편의성을 제공하였지만, 개발자들에게는 테스팅에 어려움을 겪게 만들었다. 기존의 GUI 자동화 테스트기법인 Record Play-back 기법과 새로운 GUI 테스트 도구인 Sikuli가 등장 하였지만 기능이 추가되고 변경되는 소프트웨어를 테스팅하기 부족하다. 본 논문에서는 GUI 어플리케이션에서 점진적인 테스팅을 위해 단위 테스트인 각 테스트 케이스를 만들고 연결하는 시나리오 편집기와 시나리오 수행과 테스트 케이스 결과를 검증하는 수행 및 검증기로 구성된 자동화 테스트 도구를 설계한다.

GUI test automation tool design of mobile application software based scenario and implementation (시나리오기반의 모바일 어플리케이션 소프트웨어의 GUI 테스트 자동화 도구 설계 및 구현)

  • Jung, Il-Jae;Hwang, Sun-Myung;Shin, GyuSang
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2007.11a
    • /
    • pp.360-363
    • /
    • 2007
  • 모바일 어플리케이션 소프트웨어의 GUI는 눈으로 보고 교감하는 것에 끝나지 않고 나날이 발전하여 소프트웨어의 성공여부를 결정하는 경우로 많이 부각되고 있다. 소프트웨어의 성공에 중요한 요소로 자리 잡히고 있으므로 소프트웨어의 성공을 위한 GUI 테스트가 요구되나 GUI 테스트는 많은 노력과 시간이 투자되는 테스트 분야이다. 이러한 자원의 소비의 줄이기 위해서 GUI 테스트의 자동화가 필요하리라 본다.