KR20170047605A - System and method for performing test automation of solution - Google Patents

System and method for performing test automation of solution Download PDF

Info

Publication number
KR20170047605A
KR20170047605A KR1020150147923A KR20150147923A KR20170047605A KR 20170047605 A KR20170047605 A KR 20170047605A KR 1020150147923 A KR1020150147923 A KR 1020150147923A KR 20150147923 A KR20150147923 A KR 20150147923A KR 20170047605 A KR20170047605 A KR 20170047605A
Authority
KR
South Korea
Prior art keywords
terminal
image
automation
script
input event
Prior art date
Application number
KR1020150147923A
Other languages
Korean (ko)
Other versions
KR102296897B1 (en
Inventor
류성곤
김효영
임해성
박근택
Original Assignee
삼성에스디에스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성에스디에스 주식회사 filed Critical 삼성에스디에스 주식회사
Priority to KR1020150147923A priority Critical patent/KR102296897B1/en
Publication of KR20170047605A publication Critical patent/KR20170047605A/en
Application granted granted Critical
Publication of KR102296897B1 publication Critical patent/KR102296897B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Provided are a system and method for performing test automation of a solution. The system for performing test automation of a solution according to an embodiment of the present invention includes: a first terminal which generates an automation script used to operate an object of a target solution and acquires an image of the object by executing the automation script; and a second terminal which receives the image of the object from the first terminal and performs image-based test automation for the target solution using the image of the object. Accordingly, the present invention can improve the reusability of the automation script and reduce maintenance and repair costs for the automation script.

Description

솔루션의 테스트 자동화 시스템 및 방법{SYSTEM AND METHOD FOR PERFORMING TEST AUTOMATION OF SOLUTION}[0001] SYSTEM AND METHOD FOR PERFORMING TEST AUTOMATION OF SOLUTION [0002]

본 발명의 실시예들은 솔루션의 검증을 위한 테스트 자동화 기술과 관련된다.
Embodiments of the invention relate to test automation techniques for validation of a solution.

최근, 인터넷의 사용이 증가함에 따라 웹 브라우저를 기반으로 웹 서비스를 제공하는 솔루션들의 개발 또한 증가하고 있다. 일반적으로, 이러한 웹 브라우저 기반의 솔루션은 출시 전 테스트 자동화 과정을 거치게 된다. 테스트 자동화 과정은 테스트 자동화 도구를 통해 솔루션의 정상적인 동작 여부를 자동으로 테스트하는 과정으로서, 테스트 대상이 되는 오브젝트를 검색하고 검색된 오브젝트를 동작시키는 명령을 통해 미리 정해진 시나리오를 자동으로 수행하게 된다. 이러한 테스트 자동화 기법은 오브젝트의 이미지를 캡쳐할 필요가 없으며, 이에 따라 테스트 자동화에 사용되는 스크립트의 재사용성이 높은 장점이 있다. 그러나, 상기 테스트 자동화 기법은 현재 사용 중인 플랫폼(예를 들어, 운영체제(OS) 또는 브라우저)에서 제공되는 API를 이용하여 오브젝트를 검색하고 검색된 오브젝트의 동작 명령을 수행한다는 점에서 플랫폼 의존적일 수 밖에 없으며, 이에 따라 다양한 플랫폼 환경에서의 솔루션의 호환성을 테스트하고자 하는 경우에는 적합하지 않다.Recently, as the use of the Internet increases, the development of solutions for providing web services based on a web browser is also increasing. Typically, these web browser-based solutions go through a pre-release test automation process. The test automation process is a process of automatically testing whether a solution works normally through a test automation tool. The test automation process automatically searches for a target object to be tested and executes a predetermined scenario through a command to operate the retrieved object. Such a test automation technique does not need to capture an image of an object, and thus has a high reusability of a script used for test automation. However, the test automation technique is platform-dependent in that it searches an object using an API provided in a currently used platform (for example, an operating system (OS) or a browser) and executes an operation command of the retrieved object , So it is not suitable for testing compatibility of solutions in various platform environments.

또한, 이러한 문제점을 보완하기 위해, 테스트 대상이 되는 오브젝트의 이미지를 캡쳐하고 캡쳐된 오브젝트의 이미지를 검색하여 해당 이미지를 갖는 오브젝트에 입력 이벤트(예를 들어, 키보드 입력, 마우스 클릭 등)를 발생시켜 오브젝트를 동작시키는 테스트 자동화 기법이 사용되고 있으나, 상기 테스트 자동화 기법은 솔루션이 업데이트되거나 변경되는 등의 이유로 중간에 오브젝트의 이미지가 변경되는 경우 테스트 스크립트의 재사용이 어렵고 테스트 스크립트의 유지 보수에 대한 비용이 추가적으로 발생하는 문제점이 있다.
In order to solve this problem, an image of an object to be tested is captured, an image of the captured object is searched, an input event (e.g., keyboard input, mouse click, etc.) is generated in an object having the image A test automation technique for operating an object is used. However, the test automation technique is difficult to reuse the test script when the image of the object is changed in the middle due to a solution being updated or changed, and the cost for maintenance of the test script is additionally There is a problem that occurs.

한국공개특허공보 제10-2014-0147227호(2014.12.30)Korean Patent Laid-Open Publication No. 10-2014-0147227 (December 30, 2014)

본 발명의 실시예들은 플랫폼 독립적이며 스크립트의 재사용성이 높은 테스트 자동화 시스템 및 방법을 제공하기 위한 것이다.
Embodiments of the present invention are intended to provide a test automation system and method that is platform independent and highly reusable in scripts.

본 발명의 예시적인 실시예에 따르면, 대상 솔루션의 오브젝트를 동작시키는 데 사용되는 자동화 스크립트를 생성하고, 상기 자동화 스크립트를 실행시켜 상기 오브젝트의 이미지를 획득하는 제1 단말; 및 상기 제1 단말로부터 상기 오브젝트의 이미지를 수신하고, 상기 오브젝트의 이미지를 이용하여 상기 대상 솔루션에 대한 이미지 기반의 테스트 자동화를 수행하는 제2 단말을 포함하는, 솔루션의 테스트 자동화 시스템이 제공된다.According to an exemplary embodiment of the present invention, there is provided an image processing apparatus including a first terminal for generating an automated script used to operate an object of a target solution, and executing the automated script to acquire an image of the object; And a second terminal for receiving an image of the object from the first terminal and performing image-based test automation for the target solution using the image of the object.

상기 제1 단말은, 상기 오브젝트에 대한 입력 이벤트를 사용자로부터 입력 받고, 상기 사용자로부터 입력된 입력 이벤트에 따라 상기 오브젝트의 정보를 추출하며, 상기 사용자로부터 입력된 입력 이벤트 및 상기 오브젝트의 정보를 기반으로 상기 자동화 스크립트를 생성할 수 있다.The first terminal receives an input event for the object from the user, extracts the information of the object according to the input event input from the user, and based on the input event and the information of the object input from the user The above-mentioned automation script can be generated.

상기 제1 단말은, 상기 자동화 스크립트를 실행시킴에 따라 상기 제1 단말의 웹 브라우저 상에서 상기 오브젝트의 정보를 이용하여 상기 오브젝트를 검색하고, 검색된 상기 오브젝트에 상기 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킴으로써 오브젝트 기반의 테스트 자동화를 수행할 수 있다.The first terminal executes the automation script to search for the object using the information of the object on the web browser of the first terminal and to generate the input event on the searched object to operate the object You can perform object-based test automation.

상기 제2 단말은, 상기 제2 단말의 웹 브라우저 상에서 상기 오브젝트의 이미지를 검색하고, 상기 오브젝트의 이미지를 갖는 오브젝트에 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킴으로써 상기 이미지 기반의 테스트 자동화를 수행할 수 있다.The second terminal can perform the image-based test automation by searching an image of the object on the web browser of the second terminal, and generating an input event on the object having the image of the object to operate the object have.

상기 제1 단말 및 상기 제2 단말은, 서로 다른 운영체제(OS) 환경을 가질 수 있다. The first terminal and the second terminal may have different operating system (OS) environments.

상기 제1 단말 및 상기 제2 단말은, 서로 다른 웹 브라우저 환경을 가질 수 있다.The first terminal and the second terminal may have different web browser environments.

본 발명의 다른 예시적인 실시예에 따르면, 제1 단말에서, 대상 솔루션의 오브젝트를 동작시키는 데 사용되는 자동화 스크립트를 생성하는 단계; 상기 제1 단말에서, 상기 자동화 스크립트를 실행시켜 상기 오브젝트의 이미지를 획득하는 단계; 제2 단말에서, 상기 제1 단말로부터 상기 오브젝트의 이미지를 수신하는 단계; 및 상기 제2 단말에서, 상기 오브젝트의 이미지를 이용하여 상기 대상 솔루션에 대한 이미지 기반의 테스트 자동화를 수행하는 단계를 포함하는, 솔루션의 테스트 자동화 방법이 제공된다.According to another exemplary embodiment of the present invention, there is provided a method comprising: generating, at a first terminal, an automated script used to operate an object of a target solution; Executing, at the first terminal, the automation script to obtain an image of the object; Receiving, at a second terminal, an image of the object from the first terminal; And performing, at the second terminal, image-based test automation of the target solution using an image of the object.

상기 자동화 스크립트를 생성하는 단계는, 상기 오브젝트에 대한 입력 이벤트를 사용자로부터 입력 받고, 상기 사용자로부터 입력된 입력 이벤트에 따라 상기 오브젝트의 정보를 추출하며, 상기 사용자로부터 입력된 입력 이벤트 및 상기 오브젝트의 정보를 기반으로 상기 자동화 스크립트를 생성할 수 있다.The generating of the automation script may include receiving an input event for the object from a user, extracting information of the object according to an input event input from the user, inputting the input event from the user, To generate the automation script.

상기 솔루션의 테스트 자동화 방법은, 상기 자동화 스크립트를 생성하는 단계 이후, 상기 제1 단말에서, 상기 자동화 스크립트를 실행시킴에 따라 상기 제1 단말의 웹 브라우저 상에서 상기 오브젝트의 정보를 이용하여 상기 오브젝트를 검색하는 단계; 및 상기 제1 단말에서, 검색된 상기 오브젝트에 상기 입력 이벤트를 발생시 켜 상기 오브젝트를 동작시킴으로써 오브젝트 기반의 테스트 자동화를 수행하는 단계를 더 포함할 수 있다. The method of automating the test of the solution may further include the step of, after the step of generating the automation script, executing the automation script at the first terminal to search the object using the information of the object on the web browser of the first terminal ; And performing object-based test automation by generating the input event on the searched object in the first terminal to operate the object.

상기 이미지 기반의 테스트 자동화를 수행하는 단계는, 상기 제2 단말의 웹 브라우저 상에서 상기 오브젝트의 이미지를 검색하고, 상기 오브젝트의 이미지를 갖는 오브젝트에 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킴으로써 상기 이미지 기반의 테스트 자동화를 수행할 수 있다.Wherein performing the image-based test automation comprises: retrieving an image of the object on a web browser of the second terminal; generating an input event on an object having the image of the object to operate the object, Test automation can be performed.

상기 제1 단말 및 상기 제2 단말은, 서로 다른 운영체제(OS) 환경을 가질 수 있다.The first terminal and the second terminal may have different operating system (OS) environments.

상기 제1 단말 및 상기 제2 단말은, 서로 다른 웹 브라우저 환경을 가질 수 있다.
The first terminal and the second terminal may have different web browser environments.

본 발명의 실시예들에 따르면, 제1 단말에서 오브젝트 기반의 테스트 자동화를 수행하도록 함으로써, 자동화 스크립트의 재사용성을 높이고 자동화 스크립트의 유지 보수에 대한 비용을 절감할 수 있다. According to the embodiments of the present invention, object-based test automation is performed in the first terminal, thereby enhancing the reusability of the automated script and reducing the maintenance cost of the automated script.

또한, 본 발명의 실시예들에 따르면, 제2 단말에서 이미지 기반의 테스트 자동화를 수행하도록 함으로써, 플랫폼 독립적인 테스트 자동화 시스템을 구현할 수 있으며 대상 솔루션의 검증시 다양한 플랫폼 환경에서 호환성 테스트가 가능하다. 특히, 본 발명의 실시예들에 따르면, 대상 솔루션의 업데이트, 변경 등의 이유로 테스트에 사용되는 오브젝트의 이미지가 변경되더라도 제2 단말에서 변경된 오브젝트의 이미지를 이용하여 이미지 기반의 테스트 자동화를 수행할 수 있으므로, 대상 솔루션의 업데이트, 변경 등에 영향을 받지 않는다.
In addition, according to embodiments of the present invention, a platform-independent test automation system can be implemented by performing image-based test automation in the second terminal, and a compatibility test can be performed in various platform environments when verifying a target solution. In particular, according to embodiments of the present invention, image-based test automation can be performed using an image of a changed object in a second terminal even if the image of the object used for the test is changed due to update, change, Therefore, it is not affected by update, change, etc. of target solution.

도 1은 본 발명의 일 실시예에 따른 솔루션의 테스트 자동화 시스템의 상세 구성을 나타낸 블록도
도 2는 본 발명의 일 실시예에 따른 제1 단말의 상세 구성을 나타낸 블록도
도 3은 본 발명의 일 실시예에 따른 제2 단말의 상세 구성을 나타낸 블록도
도 4는 본 발명의 일 실시예에 따른 솔루션의 테스트 자동화 방법을 설명하기 위한 흐름도
도 5는 도 4의 S402 단계를 구체적으로 설명하기 위한 흐름도
1 is a block diagram showing a detailed configuration of a test automation system of a solution according to an embodiment of the present invention;
2 is a block diagram illustrating a detailed configuration of a first terminal according to an embodiment of the present invention;
3 is a block diagram illustrating a detailed configuration of a second terminal according to an embodiment of the present invention;
4 is a flowchart illustrating a method of automating a test of a solution according to an embodiment of the present invention.
5 is a flowchart for specifically explaining step S402 of FIG.

이하, 도면을 참조하여 본 발명의 구체적인 실시형태를 설명하기로 한다. 이하의 상세한 설명은 본 명세서에서 기술된 방법, 장치 및/또는 시스템에 대한 포괄적인 이해를 돕기 위해 제공된다. 그러나 이는 예시에 불과하며 본 발명은 이에 제한되지 않는다.Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. The following detailed description is provided to provide a comprehensive understanding of the methods, apparatus, and / or systems described herein. However, this is merely an example and the present invention is not limited thereto.

본 발명의 실시예들을 설명함에 있어서, 본 발명과 관련된 공지기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. 상세한 설명에서 사용되는 용어는 단지 본 발명의 실시예들을 기술하기 위한 것이며, 결코 제한적이어서는 안 된다. 명확하게 달리 사용되지 않는 한, 단수 형태의 표현은 복수 형태의 의미를 포함한다. 본 설명에서, "포함" 또는 "구비"와 같은 표현은 어떤 특성들, 숫자들, 단계들, 동작들, 요소들, 이들의 일부 또는 조합을 가리키기 위한 것이며, 기술된 것 이외에 하나 또는 그 이상의 다른 특성, 숫자, 단계, 동작, 요소, 이들의 일부 또는 조합의 존재 또는 가능성을 배제하도록 해석되어서는 안 된다.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intention or custom of the user, the operator, and the like. Therefore, the definition should be based on the contents throughout this specification. The terms used in the detailed description are intended only to describe embodiments of the invention and should in no way be limiting. Unless specifically stated otherwise, the singular form of a term includes plural forms of meaning. In this description, the expressions "comprising" or "comprising" are intended to indicate certain features, numbers, steps, operations, elements, parts or combinations thereof, Should not be construed to preclude the presence or possibility of other features, numbers, steps, operations, elements, portions or combinations thereof.

도 1은 본 발명의 일 실시예에 따른 솔루션의 테스트 자동화 시스템(100)의 상세 구성을 나타낸 블록도이다. 도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 솔루션의 테스트 자동화 시스템(100)은 대상 솔루션(106)의 정상적인 동작 여부를 테스트하기 위한 것으로, 제1 단말(102) 및 제2 단말(104)을 포함한다. 1 is a block diagram showing a detailed configuration of a test automation system 100 of a solution according to an embodiment of the present invention. 1, a test automation system 100 of a solution according to an embodiment of the present invention is for testing whether or not the target solution 106 operates normally and includes a first terminal 102 and a second terminal 102. [ (104).

이하의 실시예들에서, 대상 솔루션(106)은 테스트 대상이 되는 솔루션으로서, 웹 브라우저를 통해 웹 서비스(또는 웹 페이지)를 제공하는 하드웨어 또는 소프트웨어를 통칭하는 의미로 사용된다. 대상 솔루션(106)은 하나 이상의 오브젝트로 구성될 수 있으며, 솔루션의 테스트 자동화 시스템(100)은 상기 오브젝트의 동작을 검증함으로써 대상 솔루션(106)의 정상적인 동작 여부를 테스트할 수 있다. 오브젝트는 웹 브라우저 상에서의 입력 이벤트(예를 들어, 키보드 입력, 마우스 클릭 등)에 따라 미리 정의된 시나리오(예를 들어, 메일 전송, 메일 삭제 등)를 수행하는 객체로서, 예를 들어, 웹 페이지 상의 “받은 편지함 버튼”, “보낸 편지함 버튼”, “수신 메일 제목” 등이 될 수 있다.In the following embodiments, the target solution 106 is used as a solution to be tested, meaning hardware or software that provides a web service (or web page) through a web browser. The target solution 106 may comprise one or more objects and the test automation system 100 of the solution may test whether the target solution 106 is operating normally by verifying the operation of the object. An object is an object that performs a predefined scenario (for example, mail transmission, mail deletion, etc.) according to an input event (for example, keyboard input, mouse click, Quot; Inbox button ", " Sent Mail button ", " Received mail title ", and the like.

제1 단말(102) 및 제2 단말(104)은 대상 솔루션(106)에 대한 테스트 자동화를 수행하는 장치이다. 제1 단말(102) 및 제2 단말(104)은 예를 들어, 스마트폰, 태블릿 등의 개인 휴대 단말기, 또는 노트북 컴퓨터, 데스크탑 컴퓨터 등의 기기들이 될 수 있다. The first terminal 102 and the second terminal 104 are devices that perform test automation for the target solution 106. The first terminal 102 and the second terminal 104 may be personal portable terminals such as smart phones and tablets, or devices such as notebook computers and desktop computers.

본 실시예들에 있어서, 제1 단말(102) 및 제2 단말(104)은 서로 다른 플랫폼 환경을 가질 수 있다. 일 예시로서, 제1 단말(102) 및 제2 단말(104)은 서로 다른 운영체제(OS) 환경을 가질 수 있다. 예를 들어, 제1 단말(102)은 윈도우(windows) 기반의 운영체제 환경에서 동작하며, 제2 단말(104)은 리눅스(linux) 기반의 운영체제 환경에서 동작할 수 있다. 다른 예시로서, 제1 단말(102) 및 제2 단말(104)은 서로 다른 웹 브라우저 환경을 가질 수 있다. 예를 들어, 제1 단말(102)은 인터넷 익스플로러 기반의 웹 브라우저 환경에서 동작하며, 제2 단말(104)은 크롬 기반의 웹 브라우저 환경에서 동작할 수 있다. 이하에서 기술할 본 발명의 실시예들에 따르면, 제1 단말(102)에서 오브젝트 기반의 테스트 자동화를 수행하고 제2 단말(104)에서 이미지 기반의 테스트 자동화를 수행하도록 함으로써, 플랫폼 독립적이며 대상 솔루션(106)의 테스트를 위한 스크립트의 재사용이 높은 테스트 자동화 시스템을 구현할 수 있다.In the present embodiments, the first terminal 102 and the second terminal 104 may have different platform environments. As an example, the first terminal 102 and the second terminal 104 may have different operating system (OS) environments. For example, the first terminal 102 may operate in a Windows-based operating system environment and the second terminal 104 may operate in a Linux-based operating system environment. As another example, the first terminal 102 and the second terminal 104 may have different web browser environments. For example, the first terminal 102 may operate in an Internet Explorer-based web browser environment, and the second terminal 104 may operate in a chrome-based web browser environment. According to the embodiments of the present invention described below, object-based test automation is performed at the first terminal 102 and image-based test automation is performed at the second terminal 104, The reuse of the script for the test of the test system 106 can implement a high test automation system.

먼저, 제1 단말(102)은 자동화 스크립트를 생성하고, 상기 자동화 스크립트를 실행시켜 대상 솔루션(106)에 대한 오브젝트 기반의 테스트 자동화를 수행할 수 있다. 여기서, 자동화 스크립트란 설정된 테스트 시나리오를 수행하는 데 사용되는 하나 이상의 오브젝트를 동작시키는 명령어들의 집합을 의미한다. 예를 들어, 테스트 시나리오가 오브젝트 “버튼 1(예를 들어, 받은 편지함 버튼)”, “버튼 2(예를 들어, 받은 편지함의 메일 삭제 버튼)” 및 “버튼 3(예를 들어, 메일 전송 버튼)”을 순차적으로 클릭하는 시나리오인 경우, 자동화 스크립트는 “버튼 1, 버튼 2 및 버튼 3을 검색하고, 검색된 버튼 1, 버튼 2 및 버튼 3을 순차적으로 클릭하는 입력 이벤트를 발생시켜 상기 버튼 1, 버튼 2 및 버튼 3을 동작시키는 명령어들”로 구성될 수 있다. 상기 명령어들은 예를 들어, 자바스크립트(JavaScript), HTML(HyperText Markup Language) 등의 언어로 작성될 수 있다. 즉, 이하의 실시예들에서, 오브젝트 기반의 테스트 자동화는 상기 자동화 스크립트를 실행시켜 웹 브라우저 상에서 상기 오브젝트를 검색하고 검색된 오브젝트에 입력 이벤트(예를 들어, 키보드 입력, 마우스 클릭 등)를 발생시켜 해당 오브젝트를 동작시키는 테스트 자동화 기법을 의미한다.First, the first terminal 102 may generate an automation script and run the automation script to perform object-based test automation for the target solution 106. Here, an automation script means a set of instructions for operating one or more objects used to perform a set test scenario. For example, if the test scenario is an object "button 1 (e.g., inbox button)", "button 2 (e.g., delete mail in button in the inbox)" and "button 3 ), The automation script searches for the button 1, button 2 and button 3, generates an input event that sequentially clicks the searched button 1, button 2 and button 3, Commands to operate button 2 and button 3 ". The commands may be written in a language such as, for example, JavaScript or HTML (HyperText Markup Language). That is, in the following embodiments, the object-based test automation executes the automation script to search the object on the web browser and generate an input event (for example, keyboard input, mouse click, etc.) Means a test automation technique for operating an object.

이러한 자동화 스크립트의 생성을 위해, 제1 단말(102)은 웹 브라우저를 통해 상기 오브젝트들에 대한 입력 이벤트(예를 들어, 마우스 클릭, 키보드 입력 등)를 사용자로부터 입력 받을 수 있다. 제1 단말(102)은 사용자로부터 입력된 입력 이벤트에 따라 상기 오브젝트들의 정보를 추출하고, 상기 사용자로부터 입력된 입력 이벤트 및 추출된 오브젝트들의 정보를 기반으로 자동화 스크립트를 생성할 수 있다. 위 예시에서, 제1 단말(102)은 “버튼 1”에 대한 사용자의 입력 이벤트에 따라 “버튼 1”의 정보를 추출하고, “버튼 2”에 대한 사용자의 입력 이벤트에 따라 “버튼 2”의 정보를 추출하고, “버튼 3”에 대한 사용자의 입력 이벤트에 따라 “버튼 3”의 정보를 추출할 수 있다. 여기서, 오브젝트의 정보는 예를 들어, 웹 브라우저 상의 오브젝트의 이미지 정보, 위치 정보, 오브젝트의 동작에 따라 수행되는 시나리오 정보 등이 될 수 있다. 제1 단말(102)은 상기 오브젝트들에 대한 입력 이벤트 및 추출된 상기 오브젝트들의 정보를 포함하는 자동화 스크립트를 생성할 수 있다. In order to generate such an automated script, the first terminal 102 may receive an input event (e.g., mouse click, keyboard input, etc.) from the user through the web browser. The first terminal 102 may extract the information of the objects according to an input event input from a user, and may generate an automated script based on input events input from the user and extracted object information. In the above example, the first terminal 102 extracts information of "button 1" in accordance with the user's input event for "button 1", and extracts information of "button 2" And extract information of " button 3 " in accordance with the input event of the user for " button 3 ". Here, the information of the object may be, for example, image information of an object on a web browser, position information, and scenario information performed according to an operation of the object. The first terminal 102 may generate an automation script including an input event for the objects and information about the extracted objects.

제1 단말(102)은 생성된 자동화 스크립트를 실행시켜 오브젝트 기반의 테스트 자동화를 수행할 수 있다. 제1 단말(102)이 자동화 스크립트를 실행시킴에 따라, 제1 단말(102)은 자동화 스크립트에 포함된 오브젝트의 정보를 이용하여 제1 단말(102)의 웹 브라우저 상에서 상기 오브젝트를 검색하고, 검색된 오브젝트에 자동화 스크립트에 포함된 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킬 수 있다. The first terminal 102 can execute the generated automation script to perform object-based test automation. As the first terminal 102 executes the automation script, the first terminal 102 searches the object on the web browser of the first terminal 102 using the information of the object included in the automation script, The object can be operated by generating an input event included in the automation script in the object.

또한, 제1 단말(102)은 상기 오브젝트 기반의 테스트 자동화를 수행하는 과정에서 오브젝트(즉, 테스트 시나리오를 수행하는 데 사용되는 오브젝트)의 이미지를 획득할 수 있다. 상술한 바와 같이, 자동화 스크립트가 실행됨에 따라 상기 오브젝트가 동작하게 되며, 제1 단말(102)은 동작되는 오브젝트의 이미지를 획득할 수 있다. 제1 단말(102)은 예를 들어, API를 이용하여 상기 오브젝트의 이미지를 획득할 수 있다. 제1 단말(102)은 오브젝트 기반의 테스트 자동화를 수행할 때마다 상기 오브젝트의 이미지를 획득할 수 있으며, 이에 따라 대상 솔루션(106)의 업데이트, 변경 등의 이유로 해당 오브젝트의 이미지가 변경되더라도 변경된 오브젝트의 이미지를 획득할 수 있다. 제1 단말(102)은 획득된 오브젝트의 이미지를 제2 단말(104)로 송신할 수 있으며, 제2 단말(104)은 상기 오브젝트의 이미지를 이용하여 이미지 기반의 테스트 자동화를 수행할 수 있다. Also, the first terminal 102 may acquire an image of an object (i.e., an object used to perform a test scenario) in performing the object-based test automation. As described above, as the automation script is executed, the object is operated, and the first terminal 102 can acquire an image of the operated object. The first terminal 102 may acquire an image of the object using, for example, an API. The first terminal 102 can acquire the image of the object every time the object-based test automation is performed. Accordingly, even if the image of the corresponding object is changed due to update or change of the target solution 106, Of the image. The first terminal 102 may transmit an image of the obtained object to the second terminal 104 and the second terminal 104 may perform image based test automation using the image of the object.

제2 단말(104)은 제1 단말(102)로부터 수신한 오브젝트의 이미지를 이용하여 이미지 기반의 테스트 자동화를 수행한다. 이미지 기반의 테스트 자동화는 오브젝트의 이미지를 캡쳐하고 캡쳐된 오브젝트의 이미지를 포함하는 테스트 스크립트를 생성하고, 테스트 자동화의 수행시 상기 테스트 스크립트를 실행시켜 웹 브라우저 상에서 상기 캡쳐된 이미지를 검색하고 해당 이미지를 갖는 오브젝트에 입력 이벤트(예를 들어, 키보드 입력, 마우스 클릭 등)를 발생시켜 해당 오브젝트를 동작시키는 테스트 자동화 기법을 의미한다.The second terminal 104 performs image-based test automation using the image of the object received from the first terminal 102. Image-based test automation captures an image of an object, generates a test script that includes an image of the captured object, executes the test script upon performing a test automation to retrieve the captured image on a web browser, Means a test automation technique in which an input event (e.g., keyboard input, mouse click, and the like) is generated in an object having the object and the corresponding object is operated.

상술한 바와 같이, 제1 단말(102) 및 제2 단말(104)은 서로 다른 플랫폼 환경을 가질 수 있다. 상술한 오브젝트 기반의 테스트 자동화 방식의 경우 웹 브라우저 상에서 오브젝트를 검색하고 검색된 오브젝트에 입력 이벤트를 발생시켜 해당 오브젝트를 동작시키도록 구성되나 각 플랫폼(운영체제(OS) 또는 웹 브라우저)별로 오브젝트의 검색 및 동작 명령과 관련된 API가 달라 플랫폼 의존적일 수 밖에 없다. 따라서, 제1 단말(102)과 플랫폼 환경이 다른 제2 단말(104)에서는 상술한 오브젝트 기반의 테스트 자동화 방식을 사용할 수 없다. 이에 따라, 본 실시예들에서는 제1 단말(102)이 오브젝트 기반의 테스트 자동화를 수행할 때마다 오브젝트의 이미지를 획득하여 제2 단말(104)로 송신하고 제2 단말(104)은 제1 단말(102)로부터 수신한 오브젝트의 이미지를 이용하여 이미지 기반의 테스트 자동화를 수행할 수 있도록 하였다. As described above, the first terminal 102 and the second terminal 104 may have different platform environments. In the above-described object-based test automation method, an object is searched on a web browser and an input event is generated on the searched object to operate the corresponding object. However, the search and operation of an object by each platform (OS or web browser) The API associated with the command is different and it is platform-dependent. Therefore, the second terminal 104 having a platform environment different from that of the first terminal 102 can not use the object-based test automation method described above. Accordingly, in the present embodiments, each time the first terminal 102 performs object-based test automation, it acquires an image of the object and transmits it to the second terminal 104, and the second terminal 104 transmits, Based test automation using an image of an object received from the image processing unit 102.

구체적으로, 제2 단말(104)은 제1 단말(102)로부터 수신한 오브젝트의 이미지를 포함하는 테스트 스크립트를 생성하고, 상기 테스트 스크립트를 실행시켜 웹 브라우저 상에서 상기 오브젝트의 이미지를 검색하고 해당 이미지를 갖는 오브젝트에 입력 이벤트(예를 들어, 키보드 입력, 마우스 클릭 등)를 발생시켜 해당 오브젝트를 동작시킬 수 있다. 제2 단말(104)은 상기 오브젝트의 이미지와 함께 상기 오브젝트의 입력 이벤트에 관한 정보를 제1 단말(102)로부터 수신할 수 있으며, 상기 오브젝트의 이미지 및 상기 오브젝트의 입력 이벤트에 관한 정보를 기반으로 상술한 테스트 스크립트를 생성할 수 있다. 오브젝트의 이미지는 대상 솔루션(106)의 업데이트, 변경 등의 이유로 중간에 변경되지 않는 한 각 플랫폼별로 동일하므로, 이미지 기반의 테스트 자동화는 플랫폼 독립적인 장점이 있다. 또한, 대상 솔루션(106)의 업데이트, 변경 등의 이유로 해당 오브젝트의 이미지가 변경되더라도, 제1 단말(102)은 변경된 오브젝트의 이미지를 획득하여 제2 단말(104)로 송신하며 제2 단말(104)은 변경된 오브젝트의 이미지를 이용하여 대상 솔루션(106)에 대한 테스트 자동화를 수행할 수 있다.Specifically, the second terminal 104 generates a test script including an image of the object received from the first terminal 102, executes the test script, searches for an image of the object on the web browser, (For example, a keyboard input, a mouse click, or the like) is generated in an object having an object to be operated. The second terminal 104 may receive information about the input event of the object along with the image of the object from the first terminal 102 and may be based on information about the image of the object and the input event of the object The above-described test script can be generated. The image-based test automation has the advantage of platform independence, since the images of the objects are the same for each platform unless they are changed in between, for reasons such as updating or changing of the target solution 106. Also, even if the image of the corresponding object is changed due to update, change, or the like of the target solution 106, the first terminal 102 obtains the image of the changed object and transmits it to the second terminal 104, May perform test automation for the target solution 106 using the image of the modified object.

즉, 본 발명의 실시예들에 따르면, 제1 단말(102)에서 오브젝트 기반의 테스트 자동화를 수행하도록 함으로써 자동화 스크립트의 재사용성을 높이고 자동화 스크립트의 유지 보수에 대한 비용을 절감할 수 있으며, 제2 단말(104)에서 이미지 기반의 테스트 자동화를 수행하도록 함으로써 플랫폼 독립적인 테스트 자동화 시스템을 구현하고 대상 솔루션(106)의 검증시 다양한 플랫폼 환경에서 호환성 테스트가 가능하게 할 수 있다. 특히, 본 발명의 실시예들에 따르면, 대상 솔루션(106)이 업데이트되거나 변경되어 오브젝트의 이미지가 변경되더라도 테스트 자동화를 용이하게 수행할 수 있다.
That is, according to the embodiments of the present invention, object-based test automation is performed in the first terminal 102, thereby enhancing the reusability of the automation script and reducing the maintenance cost of the automation script, By performing image-based test automation at the terminal 104, a platform independent test automation system can be implemented and compatibility testing in a variety of platform environments possible upon verification of the target solution 106. In particular, according to embodiments of the present invention, test automation can be easily performed even if the object solution 106 is updated or changed to change the image of the object.

도 2는 본 발명의 일 실시예에 따른 제1 단말(102)의 상세 구성을 나타낸 블록도이다. 도 2에 도시된 바와 같이, 본 발명의 일 실시예에 따른 제1 단말(102)은 웹 브라우저(202), 테스트 모듈(204) 및 원격 에이전트(206)를 포함한다. 2 is a block diagram showing a detailed configuration of a first terminal 102 according to an embodiment of the present invention. 2, a first terminal 102 in accordance with an embodiment of the present invention includes a web browser 202, a test module 204, and a remote agent 206. As shown in FIG.

웹 브라우저(202)는 인터넷 상의 웹 페이지를 제1 단말(102)의 화면에 표시해 주는 응용 프로그램으로서, 예를 들어 인터넷 익스플로러, 파이어폭스, 크롬 등이 될 수 있다. The web browser 202 is an application program for displaying a web page on the Internet on the screen of the first terminal 102, and may be, for example, an Internet Explorer, Firefox, or Chrome.

웹 브라우저(202)는 자동화 스크립트의 생성을 위해 사용자로부터 오브젝트에 대한 입력 이벤트를 입력 받을 수 있다. 상기 입력 이벤트는 예를 들어, 상기 오브젝트에 대한 사용자의 마우스 클릭, 키보드 입력 등의 행위일 수 있다.The web browser 202 can receive an input event for an object from a user for creation of an automated script. The input event may be, for example, a user's mouse click on the object, keyboard input, and the like.

테스트 모듈(204)은 자동화 스크립트를 생성하고, 오브젝트 기반의 테스트 자동화를 수행한다. 상술한 바와 같이, 웹 브라우저(202)는 자동화 스크립트의 생성을 위해 사용자로부터 오브젝트에 대한 입력 이벤트를 입력 받을 수 있다. 테스트 모듈(204)은 사용자로부터 입력된 입력 이벤트에 따라 웹 브라우저(202) 상에서 오브젝트의 정보를 추출하며, 사용자로부터 입력된 입력 이벤트 및 오브젝트의 정보를 기반으로 자동화 스크립트를 생성할 수 있다. 또한, 테스트 모듈(204)은 자동화 스크립트를 실행시킴에 따라 자동화 스크립트에 포함된 오브젝트의 정보를 이용하여 웹 브라우저(202) 상에서 상기 오브젝트를 검색하고, 검색된 오브젝트에 자동화 스크립트에 포함된 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킬 수 있다. The test module 204 generates an automation script and performs object-based test automation. As described above, the web browser 202 can receive an input event for an object from a user in order to generate an automated script. The test module 204 extracts object information from the web browser 202 according to an input event input from the user, and can generate an automated script based on the input event and object information input from the user. In addition, the test module 204 executes the automation script, searches for the object on the web browser 202 using the information of the object included in the automation script, and generates an input event included in the automation script So that the object can be operated.

또한, 테스트 모듈(204)은 오브젝트 기반의 테스트 자동화를 수행하는 과정에서 오브젝트의 이미지를 획득할 수 있다. 테스트 모듈(204)은 예를 들어, API를 이용하여 상기 오브젝트의 이미지를 획득할 수 있다. 테스트 모듈(204)은 오브젝트 기반의 테스트 자동화를 수행할 때마다 상기 오브젝트의 이미지를 획득할 수 있으며, 이에 따라 대상 솔루션(106)의 업데이트, 변경 등의 이유로 해당 오브젝트의 이미지가 변경되더라도 변경된 오브젝트의 이미지를 획득할 수 있다. In addition, the test module 204 may acquire an image of an object in performing an object-based test automation. The test module 204 may obtain an image of the object using, for example, an API. The test module 204 can acquire an image of the object every time the object-based test automation is performed. Accordingly, even if the image of the corresponding object is changed due to update or change of the target solution 106, Images can be obtained.

원격 에이전트(206)는 제2 단말(104)과 무선 통신하는 모듈로서, 테스트 모듈(204)을 통해 획득된 오브젝트의 이미지를 제2 단말(104)로 송신한다. 이때, 원격 에이전트(206)는 상기 오브젝트의 이미지와 함께 상기 오브젝트의 입력 이벤트에 관한 정보를 제2 단말(104)로 송신할 수 있다.
The remote agent 206 is a module for wireless communication with the second terminal 104 and transmits an image of the object obtained through the test module 204 to the second terminal 104. At this time, the remote agent 206 may transmit information about the input event of the object to the second terminal 104 together with the image of the object.

도 3은 본 발명의 일 실시예에 따른 제2 단말(104)의 상세 구성을 나타낸 블록도이다. 도 3에 도시된 바와 같이, 본 발명의 일 실시예에 따른 제2 단말(104)은 원격 에이전트(302) 및 웹 브라우저(304)를 포함한다.3 is a block diagram showing a detailed configuration of a second terminal 104 according to an embodiment of the present invention. 3, a second terminal 104 in accordance with an embodiment of the present invention includes a remote agent 302 and a web browser 304. The remote agent 302 is a web browser.

원격 에이전트(302)는 제1 단말(102)의 원격 에이전트(206)로부터 오브젝트의 이미지를 수신한다. 또한, 원격 에이전트(302)는 제1 단말(102)의 원격 에이전트(206)로부터 상기 오브젝트의 입력 이벤트에 관한 정보를 수신할 수 있다.The remote agent 302 receives an image of the object from the remote agent 206 of the first terminal 102. In addition, the remote agent 302 may receive information regarding the input event of the object from the remote agent 206 of the first terminal 102.

원격 에이전트(302)는 상기 오브젝트의 이미지 및 상기 오브젝트의 입력 이벤트에 관한 정보를 기반으로 웹 브라우저(304) 상에서 이미지 기반의 테스트 자동화를 수행한다. 구체적으로, 원격 에이전트(302)는 제1 단말(102)로부터 수신한 오브젝트의 이미지를 포함하는 테스트 스크립트를 생성하고, 상기 테스트 스크립트를 실행시켜 웹 브라우저(304) 상에서 상기 오브젝트의 이미지를 검색하고 해당 이미지를 갖는 오브젝트에 입력 이벤트(예를 들어, 키보드 입력, 마우스 클릭 등)를 발생시켜 해당 오브젝트를 동작시킬 수 있다. The remote agent 302 performs image-based test automation on the web browser 304 based on the image of the object and the information about the input event of the object. Specifically, the remote agent 302 generates a test script including an image of the object received from the first terminal 102, executes the test script, searches the web browser 304 for the image of the object, An input event (for example, a keyboard input, a mouse click, or the like) is generated in an object having an image to operate the object.

웹 브라우저(304)는 인터넷 상의 웹 페이지를 제2 단말(104)의 화면에 표시해 주는 응용 프로그램으로서, 예를 들어 인터넷 익스플로러, 파이어폭스, 크롬 등이 될 수 있다. 상술한 바와 같이, 제1 단말(102) 및 제2 단말(104)은 서로 다른 플랫폼 환경을 가질 수 있다. 예를 들어, 제1 단말(102)의 웹 브라우저(202)는 인터넷 익스플로러일 수 있으며, 제2 단말(104)의 웹 브라우저(304)는 크롬일 수 있다.
The web browser 304 is an application program for displaying a web page on the Internet on the screen of the second terminal 104, and may be, for example, Internet Explorer, Firefox, Chrome, or the like. As described above, the first terminal 102 and the second terminal 104 may have different platform environments. For example, the web browser 202 of the first terminal 102 may be an Internet Explorer, and the web browser 304 of the second terminal 104 may be chrome.

도 4는 본 발명의 일 실시예에 따른 솔루션의 테스트 자동화 방법을 설명하기 위한 흐름도이다. 도시된 흐름도에서는 상기 방법을 복수 개의 단계로 나누어 기재하였으나, 적어도 일부의 단계들은 순서를 바꾸어 수행되거나, 다른 단계와 결합되어 함께 수행되거나, 생략되거나, 세부 단계들로 나뉘어 수행되거나, 또는 도시되지 않은 하나 이상의 단계가 부가되어 수행될 수 있다.4 is a flowchart illustrating a method of automating a test of a solution according to an embodiment of the present invention. In the illustrated flow chart, the method is described as being divided into a plurality of steps, but at least some of the steps may be performed in reverse order, combined with other steps, performed together, omitted, divided into detailed steps, One or more steps may be added and performed.

먼저, 제1 단말(102)은 자동화 스크립트를 생성한다(S402). 상기 자동화 스크립트는 웹 브라우저(202) 상에서 오브젝트를 검색하고 검색된 오브젝트에 입력 이벤트를 발생시켜 해당 오브젝트를 동작시키는 데 사용될 수 있다.First, the first terminal 102 generates an automated script (S402). The automation script may be used to search for an object on the web browser 202 and to generate an input event on the retrieved object to operate the object.

다음으로, 제1 단말(102)은 대상 솔루션(106)에 대한 오브젝트 기반의 테스트 자동화를 수행한다(S404). 구체적으로, 제1 단말(102)은 자동화 스크립트를 실행시킴에 따라 제1 단말(102)의 웹 브라우저(202) 상에서 상기 오브젝트의 정보를 이용하여 상기 오브젝트를 검색하고, 검색된 상기 오브젝트에 상기 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킬 수 있다.Next, the first terminal 102 performs object-based test automation for the target solution 106 (S404). Specifically, the first terminal 102 searches for the object using the information of the object on the web browser 202 of the first terminal 102 by executing the automation script, So that the object can be operated.

다음으로, 제1 단말(102)은 오브젝트 기반의 테스트 자동화를 수행하는 과정에서 오브젝트의 이미지를 획득한다(S406). 제1 단말(102)은 예를 들어, API를 이용하여 상기 오브젝트의 이미지를 획득할 수 있다.Next, the first terminal 102 acquires an image of an object in the course of performing object-based test automation (S406). The first terminal 102 may acquire an image of the object using, for example, an API.

다음으로, 제1 단말(102)은 오브젝트의 이미지를 제2 단말(104)로 송신한다(S408). 이때, 제1 단말(102)은 상기 오브젝트의 이미지와 함께 상기 오브젝트의 입력 이벤트에 관한 정보를 제2 단말(104)로부터 송신할 수 있다.Next, the first terminal 102 transmits the image of the object to the second terminal 104 (S408). At this time, the first terminal 102 may transmit information about the input event of the object together with the image of the object, from the second terminal 104.

마지막으로, 제2 단말(104)은 상기 오브젝트의 이미지 및 상기 오브젝트의 입력 이벤트에 관한 정보를 기반으로 이미지 기반의 테스트 자동화를 수행한다(S410). 구체적으로, 제2 단말(104)은 제1 단말(102)로부터 수신한 오브젝트의 이미지를 포함하는 테스트 스크립트를 생성하고, 상기 테스트 스크립트를 실행시켜 웹 브라우저(304) 상에서 상기 오브젝트의 이미지를 검색하고 해당 이미지를 갖는 오브젝트에 상기 입력 이벤트를 발생시켜 해당 오브젝트를 동작시킬 수 있다.
Finally, the second terminal 104 performs image-based test automation based on the image of the object and information about the input event of the object (S410). Specifically, the second terminal 104 generates a test script including an image of the object received from the first terminal 102, executes the test script, and searches for an image of the object on the web browser 304 The input event may be generated in the object having the corresponding image to operate the corresponding object.

도 5는 도 4의 S402 단계를 구체적으로 설명하기 위한 흐름도이다. 5 is a flow chart for specifically explaining step S402 of FIG.

먼저, 제1 단말(102)의 웹 브라우저(202)는 오브젝트에 대한 입력 이벤트를 사용자로부터 입력 받는다(S502). 상기 입력 이벤트는 예를 들어, 상기 오브젝트에 대한 사용자의 마우스 클릭, 키보드 입력 등의 행위일 수 있다.First, the web browser 202 of the first terminal 102 receives an input event for the object from the user (S502). The input event may be, for example, a user's mouse click on the object, keyboard input, and the like.

다음으로, 제1 단말(102)의 테스트 모듈(204)은 사용자로부터 입력된 입력 이벤트에 따라 오브젝트의 정보를 추출한다(S504). 오브젝트의 정보는 예를 들어, 웹 브라우저 상의 오브젝트의 이미지 정보, 위치 정보, 오브젝트의 동작에 따라 수행되는 시나리오 정보 등이 될 수 있다. Next, the test module 204 of the first terminal 102 extracts object information according to an input event input from the user (S504). The information of the object may be, for example, image information of an object on the web browser, position information, scenario information to be performed according to the operation of the object, and the like.

마지막으로, 제1 단말(102)의 테스트 모듈(204)은 상기 오브젝트들에 대한 입력 이벤트 및 추출된 상기 오브젝트들의 정보를 포함하는 자동화 스크립트를 생성한다(S506).
Finally, the test module 204 of the first terminal 102 generates an automated script including an input event for the objects and information of the extracted objects (S506).

이상에서 대표적인 실시예를 통하여 본 발명에 대하여 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 전술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, I will understand. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by equivalents to the appended claims, as well as the appended claims.

100 : 솔루션의 테스트 자동화 시스템
102 : 제1 단말
104 : 제2 단말
106 : 대상 솔루션
202, 304 : 웹 브라우저
204 : 테스트 모듈
206, 302 : 원격 에이전트
100: Solution's test automation system
102:
104:
106: Target Solutions
202, 304: Web browser
204: test module
206, 302: remote agent

Claims (12)

대상 솔루션의 오브젝트를 동작시키는 데 사용되는 자동화 스크립트를 생성하고, 상기 자동화 스크립트를 실행시켜 상기 오브젝트의 이미지를 획득하는 제1 단말; 및
상기 제1 단말로부터 상기 오브젝트의 이미지를 수신하고, 상기 오브젝트의 이미지를 이용하여 상기 대상 솔루션에 대한 이미지 기반의 테스트 자동화를 수행하는 제2 단말을 포함하는, 솔루션의 테스트 자동화 시스템.
A first terminal for generating an automation script used to operate an object of the target solution and acquiring an image of the object by executing the automation script; And
And a second terminal for receiving an image of the object from the first terminal and performing image-based test automation for the target solution using the image of the object.
청구항 1에 있어서,
상기 제1 단말은, 상기 오브젝트에 대한 입력 이벤트를 사용자로부터 입력 받고, 상기 사용자로부터 입력된 입력 이벤트에 따라 상기 오브젝트의 정보를 추출하며, 상기 사용자로부터 입력된 입력 이벤트 및 상기 오브젝트의 정보를 기반으로 상기 자동화 스크립트를 생성하는, 솔루션의 테스트 자동화 시스템.
The method according to claim 1,
The first terminal receives an input event for the object from the user, extracts the information of the object according to the input event input from the user, and based on the input event and the information of the object input from the user And generating the automated script.
청구항 2에 있어서,
상기 제1 단말은, 상기 자동화 스크립트를 실행시킴에 따라 상기 제1 단말의 웹 브라우저 상에서 상기 오브젝트의 정보를 이용하여 상기 오브젝트를 검색하고, 검색된 상기 오브젝트에 상기 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킴으로써 오브젝트 기반의 테스트 자동화를 수행하는, 솔루션의 테스트 자동화 시스템.
The method of claim 2,
The first terminal executes the automation script to search for the object using the information of the object on the web browser of the first terminal and to generate the input event on the searched object to operate the object A test automation system in a solution that performs object-based test automation.
청구항 1에 있어서,
상기 제2 단말은, 상기 제2 단말의 웹 브라우저 상에서 상기 오브젝트의 이미지를 검색하고, 상기 오브젝트의 이미지를 갖는 오브젝트에 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킴으로써 상기 이미지 기반의 테스트 자동화를 수행하는, 솔루션의 테스트 자동화 시스템.
The method according to claim 1,
Wherein the second terminal performs the image-based test automation by retrieving an image of the object on a web browser of the second terminal and generating an input event on an object having the image of the object to operate the object, Test automation system of the solution.
청구항 1에 있어서,
상기 제1 단말 및 상기 제2 단말은, 서로 다른 운영체제(OS) 환경을 갖는, 솔루션의 테스트 자동화 시스템.
The method according to claim 1,
Wherein the first terminal and the second terminal have different operating system (OS) environments.
청구항 1에 있어서,
상기 제1 단말 및 상기 제2 단말은, 서로 다른 웹 브라우저 환경을 갖는, 솔루션의 테스트 자동화 시스템.
The method according to claim 1,
Wherein the first terminal and the second terminal have different web browser environments.
제1 단말에서, 대상 솔루션의 오브젝트를 동작시키는 데 사용되는 자동화 스크립트를 생성하는 단계;
상기 제1 단말에서, 상기 자동화 스크립트를 실행시켜 상기 오브젝트의 이미지를 획득하는 단계;
제2 단말에서, 상기 제1 단말로부터 상기 오브젝트의 이미지를 수신하는 단계; 및
상기 제2 단말에서, 상기 오브젝트의 이미지를 이용하여 상기 대상 솔루션에 대한 이미지 기반의 테스트 자동화를 수행하는 단계를 포함하는, 솔루션의 테스트 자동화 방법.
Generating, at a first terminal, an automated script used to operate an object of the target solution;
Executing, at the first terminal, the automation script to obtain an image of the object;
Receiving, at a second terminal, an image of the object from the first terminal; And
And performing, at the second terminal, image-based test automation of the target solution using an image of the object.
청구항 7에 있어서,
상기 자동화 스크립트를 생성하는 단계는, 상기 오브젝트에 대한 입력 이벤트를 사용자로부터 입력 받고, 상기 사용자로부터 입력된 입력 이벤트에 따라 상기 오브젝트의 정보를 추출하며, 상기 사용자로부터 입력된 입력 이벤트 및 상기 오브젝트의 정보를 기반으로 상기 자동화 스크립트를 생성하는, 솔루션의 테스트 자동화 방법.
The method of claim 7,
The generating of the automation script may include receiving an input event for the object from a user, extracting information of the object according to an input event input from the user, inputting the input event from the user, And generating the automation script based on the automated test script.
청구항 8에 있어서,
상기 자동화 스크립트를 생성하는 단계 이후,
상기 제1 단말에서, 상기 자동화 스크립트를 실행시킴에 따라 상기 제1 단말의 웹 브라우저 상에서 상기 오브젝트의 정보를 이용하여 상기 오브젝트를 검색하는 단계; 및
상기 제1 단말에서, 검색된 상기 오브젝트에 상기 입력 이벤트를 발생시 켜 상기 오브젝트를 동작시킴으로써 오브젝트 기반의 테스트 자동화를 수행하는 단계를 더 포함하는, 솔루션의 테스트 자동화 방법.
The method of claim 8,
After generating the automation script,
Retrieving the object using the information of the object on the web browser of the first terminal by executing the automation script in the first terminal; And
Performing an object-based test automation by generating the input event on the searched object and activating the object in the first terminal.
청구항 7에 있어서,
상기 이미지 기반의 테스트 자동화를 수행하는 단계는, 상기 제2 단말의 웹 브라우저 상에서 상기 오브젝트의 이미지를 검색하고, 상기 오브젝트의 이미지를 갖는 오브젝트에 입력 이벤트를 발생시켜 상기 오브젝트를 동작시킴으로써 상기 이미지 기반의 테스트 자동화를 수행하는, 솔루션의 테스트 자동화 방법.
The method of claim 7,
Wherein performing the image-based test automation comprises: retrieving an image of the object on a web browser of the second terminal; generating an input event on an object having the image of the object to operate the object, How to automate test automation of a solution.
청구항 7에 있어서,
상기 제1 단말 및 상기 제2 단말은, 서로 다른 운영체제(OS) 환경을 갖는, 솔루션의 테스트 자동화 방법.
The method of claim 7,
Wherein the first terminal and the second terminal have different operating system (OS) environments.
청구항 7에 있어서,
상기 제1 단말 및 상기 제2 단말은, 서로 다른 웹 브라우저 환경을 갖는, 솔루션의 테스트 자동화 방법.
The method of claim 7,
Wherein the first terminal and the second terminal have different web browser environments.
KR1020150147923A 2015-10-23 2015-10-23 System and method for performing test automation of solution KR102296897B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150147923A KR102296897B1 (en) 2015-10-23 2015-10-23 System and method for performing test automation of solution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150147923A KR102296897B1 (en) 2015-10-23 2015-10-23 System and method for performing test automation of solution

Publications (2)

Publication Number Publication Date
KR20170047605A true KR20170047605A (en) 2017-05-08
KR102296897B1 KR102296897B1 (en) 2021-08-31

Family

ID=60163728

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150147923A KR102296897B1 (en) 2015-10-23 2015-10-23 System and method for performing test automation of solution

Country Status (1)

Country Link
KR (1) KR102296897B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102017473B1 (en) * 2018-12-27 2019-09-03 넷마블 주식회사 Method for testing a content and a server performing the method
KR20210078995A (en) * 2019-12-19 2021-06-29 주식회사 포스코아이씨티 Key Input Virtualization System for Robot Process Automation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205406A1 (en) * 2000-05-12 2004-10-14 Marappa Kaliappan Automatic test system for testing remote target applications on a communication network
KR20100100161A (en) * 2009-03-05 2010-09-15 한국전자통신연구원 Method and apparatus for testing browser compatibility of web contents
KR20140147227A (en) 2013-06-19 2014-12-30 주식회사 큐에이엔씨 Gui software test automatic system having functon for script maintenance and method of controlling the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205406A1 (en) * 2000-05-12 2004-10-14 Marappa Kaliappan Automatic test system for testing remote target applications on a communication network
KR20100100161A (en) * 2009-03-05 2010-09-15 한국전자통신연구원 Method and apparatus for testing browser compatibility of web contents
KR20140147227A (en) 2013-06-19 2014-12-30 주식회사 큐에이엔씨 Gui software test automatic system having functon for script maintenance and method of controlling the same

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
김성빈 외, 'GUI 기반 기능 테스트 자동화 스크립트의 재사용성 향상 기법', 2014.04. *
한영근 외, '모바일 어플리케이션의 테스팅 자동화 기술 수준 및 사례 연구', 2015.03. *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102017473B1 (en) * 2018-12-27 2019-09-03 넷마블 주식회사 Method for testing a content and a server performing the method
KR20210078995A (en) * 2019-12-19 2021-06-29 주식회사 포스코아이씨티 Key Input Virtualization System for Robot Process Automation

Also Published As

Publication number Publication date
KR102296897B1 (en) 2021-08-31

Similar Documents

Publication Publication Date Title
AU2017302249B2 (en) Visual regression testing tool
US9342237B2 (en) Automated testing of gesture-based applications
US9189377B1 (en) Automation testing using descriptive maps
AU2017258963A1 (en) Simultaneous multi-platform testing
US20150370694A1 (en) Automatic updating of graphical user interface element locators based on image comparison
US20060101403A1 (en) Method and system to automate software testing using sniffer side and browser side recording and a toolbar interface
US20160062876A1 (en) Automated software change monitoring and regression analysis
US20150370688A1 (en) Automatic updating of graphical user interface element locators based on dimension comparison
US10152405B2 (en) Application testing system and method
KR20160125401A (en) Inline and context aware query box
Park et al. Fragmentation problem in Android
CN105205000A (en) Method and system for positioning influenced code scope in software development
JP2019074889A (en) System, method, and program for automating business process involving operation of web browser
US9571557B2 (en) Script caching method and information processing device utilizing the same
CN112506778A (en) WEB user interface automatic test method, device, equipment and storage medium
CN112835579A (en) Method and device for determining interface code, electronic equipment and storage medium
US20160034378A1 (en) Method and system for testing page link addresses
US10282216B2 (en) Automatic import of third party analytics
CN113535567B (en) Software testing method, device, equipment and medium
KR102296897B1 (en) System and method for performing test automation of solution
KR102181630B1 (en) Apparatus and method for application emulation
CN111143001A (en) Language detection method of terminal, user equipment, storage medium and device
US20160292067A1 (en) System and method for keyword based testing of custom components
KR20180131132A (en) Method for image matching and apparatus for executing the method
US10152466B2 (en) Comparing user interfaces

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant