KR20090083622A - Test automating system - Google Patents
Test automating system Download PDFInfo
- Publication number
- KR20090083622A KR20090083622A KR1020080009535A KR20080009535A KR20090083622A KR 20090083622 A KR20090083622 A KR 20090083622A KR 1020080009535 A KR1020080009535 A KR 1020080009535A KR 20080009535 A KR20080009535 A KR 20080009535A KR 20090083622 A KR20090083622 A KR 20090083622A
- Authority
- KR
- South Korea
- Prior art keywords
- test
- test case
- data
- quality
- automatic generation
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06395—Quality analysis or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Educational Administration (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Game Theory and Decision Science (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Technology Law (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
본 발명은 데이터 자동생성기능을 이용한 품질테스트 자동화방법에 관한 것이다. The present invention relates to a quality test automation method using an automatic data generation function.
더욱 상세하게는 본 발명은 자동화된 변수, 일자, 코드값 생성기능을 이용하여 이른 시간 내에 다양한 다량의 테스트케이스를 작성할 수 있는 데이터 자동생성기능을 이용한 품질테스트 자동화방법에 관한 것이다.More specifically, the present invention relates to a method for automating quality test using an automatic data generation function that can create various test cases in an early time by using an automatic variable, date, and code value generation function.
일반적으로, 시스템 개발은 현업부서로부터 개발의뢰를 받은 IT 개발부서에서 개발 내용을 분석하여 시스템 설계를 하고 구현 및 단위 테스트를 해보고 통합적으로 테스트를 한 후 이를 현업부서에서 인수하여 인수테스트를 수행한 후 시스템에 적용한다. In general, system development is carried out by IT development department, which has been commissioned by the business department to analyze the development, design the system, perform implementation and unit test, test it in an integrated manner, and then take over the acceptance test in the business department. Applies to the system.
최근에, 개발시스템의 정당성을 검증하여 개발자가 발견하지 못한 결함을 최종 사용자의 입장에서 발견하기 위하여 현업부서의 인수테스트 전에 개발시스템의 신뢰성을 높이기 위하여 숙련된 테스트 전담 팀을 구성하여 통합기능테스트를 수행하고 있다. Recently, in order to verify the legitimacy of the development system and to discover defects that the developer did not find from the end user's point of view, a dedicated team of experienced test teams were formed to improve the reliability of the development system before the acceptance test of the business department. I'm doing it.
이러한 통합기능테스트에 있어서, 개발자에 의해 작성된 프로그램의 정당성을 확인하기 위해 세부 처리 기능에 대한 테스트 항목, 테스트데이터, 예상결과 등을 기록한 테스트 시나리오인 테스트케이스가 개발자에 의하여 작성되어야 한다.In this integrated function test, a test case, which is a test scenario in which test items, test data, and expected results for detailed processing functions are recorded, in order to confirm the validity of a program written by the developer, must be prepared by the developer.
그런데, 이러한 테스트케이스는 개발자라도 모든 경우의 수를 고려하여 작성하기 어렵기 때문에 테스트 오류를 발생시킬 수 있다.However, such a test case may generate a test error because it is difficult for a developer to consider all cases.
또한, 상세한 테스트 케이스를 작성하는 데에는 항상 시간이 부족하기 때문에, 일괄적인 테스트를 수행할 수 없으며, 따라서 개발 시스템을 전반적으로 검증할 수 없는 문제점이 있었다.In addition, since there is always a lack of time to write a detailed test case, it is not possible to perform a batch of tests, and thus there is a problem in that the development system cannot be verified as a whole.
또한, 이렇게 작성된 테스트케이스는 테스터에 의하여 테스트할 화면을 직접 조작하여 테스트가 실행된다. 따라서, 테스터는 테스트를 위하여 화면을 직접 조작하기에 앞서서 관련 화면에 대해 정확한 이해를 갖추어야 한다.In addition, the test case thus prepared is directly manipulated by the tester to test the screen. Therefore, the tester must have an accurate understanding of the relevant screen before directly manipulating the screen for testing.
만약, 관련 화면에 대해 정확한 이해를 갖추지 못할 경우에는 입력할 값을 모르게 되기 때문에 테스트 결과의 신뢰성을 떨어뜨릴 수 있는 문제점이 있다.If the relevant screen is not accurately understood, there is a problem that the reliability of the test result may be lowered because the value to be input is not known.
또한, 이를 방지하기 위해서 테스터를 교육하거나 개발자가 별개의 시간을 들여서 설명을 하여야 하므로 테스트 시간이 많이 걸리는 문제점이 있다. In addition, in order to prevent this, there is a problem that the tester takes a lot of test time because the tester or the developer has to explain a separate time.
또한, 이러한 통합기능테스트는 개발자가 요청한 사항에 대하여 테스터가 수동적으로 테스트하기 때문에, 다양한 테스트케이스를 생성할 수 없을 뿐만 아니라, 개발자가 요청한 사항에 대한 테스트 결과만을 보고하기 때문에 테스트 결과가 테스트케이스로서 재사용될 수 없는 문제점이 있었다.In addition, since the tester manually tests the developer's request, the integrated function test cannot generate various test cases, but also reports only the test result for the developer's request. There was a problem that could not be reused.
따라서 본 발명은 이러한 문제점을 해결하기 위하여 안출된 것으로, 본 발명의 목적은 새로 개발 시스템이 충분한 데이터를 가지고 테스트가 수행될 수 있으며, 정상적인 다양한 데이터와 의도적인 비정상 데이터에 의해서 충분히 검증될 수 있는 충분한 데이터의 자동생성기능을 이용한 품질테스트 자동화방법을 제공하는 것이다.Therefore, the present invention has been devised to solve such a problem, and an object of the present invention is that a newly developed system can be tested with sufficient data, and sufficient to be sufficiently verified by a variety of normal data and intentional abnormal data. It is to provide a method of automating quality test using automatic data generation.
본 발명의 목적은 개발자의 입장에서 테스트케이스를 쉽게 작성할 수 있으며, 개발 시스템 전반을 검증할 수 있는 상세한 케이스를 작성할 수 있고, 작성된 테스트케이스를 쉽게 검증할 수 있는 데이터의 자동생성기능을 이용한 품질테스트 자동화방법을 제공하는 것이다.An object of the present invention can easily write a test case from the developer's point of view, can write a detailed case to verify the entire development system, quality test using the automatic generation of data that can easily verify the test case It is to provide an automation method.
이를 위하여, 본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법은 개발시스템의 웹 단말 프로그램을 실행하기 위한 웹 단말기 상의 웹 단말 화면에서 상기 웹 단말 프로그램을 사용할 때 발생하는 이벤트를 레코딩하고, 상기 레코딩된 데이터를 이용해서 상기 개발 시스템의 웹 단말 프로그램을 재실행하고,To this end, the quality test automation method using the automatic data generation function according to an embodiment of the present invention is an event generated when using the web terminal program on the web terminal screen on the web terminal for executing the web terminal program of the development system Record, re-run the web terminal program of the development system using the recorded data,
상기 레코딩된 데이터, 상기 레코딩된 데이터에 맵핑된 재실행 데이터, 및 데이터 포맷을 테스트케이스 데이터베이스에 저장하고,Store the recorded data, redo data mapped to the recorded data, and data format in a test case database,
상기 테스트케이스 데이터베이스의 데이터를 선택하여 그리드를 입력하고,Select the data of the test case database to enter a grid,
상기 테스트케이스 데이터베이스의 데이터를 선택하여 롤셋데이터를 생성하 고,Select the data of the test case database to generate roll set data,
상기 테스트케이스 데이터베이스의 데이터를 선택하여 구분 코드 목록 데이터를 생성하고,Select the data of the test case database to generate the classification code list data,
상기 테스트케이스 데이터베이스의 데이터를 테이블로 등록하여 새로운 테스트케이스를 생성하고, Create a new test case by registering the data of the test case database as a table,
상기 생성된 테스트케이스를 자동 재수행하는 것을 특징으로 한다. It is characterized in that the automatic re-execution of the generated test case.
본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법은 테스트데이터를 저장한 후 필요한 경우 이를 다시 재사용할 수 있어서 항상 시간에 쫓기는 개발자 및 테스터들에게 테스트케이스 작성 및 검증 시간을 감소시켜줄 수 있으며 이로 인해 충실한 테스트를 가능하게 할 수 있다.Quality test automation method using the automatic data generation function according to an embodiment of the present invention can save the test data and reuse it if necessary to reduce the test case creation and verification time for developers and testers always chasing time This can allow for faithful testing.
또한, 본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법은 거래 화면에 담겨져 있는 팝업창에는 많은 거래코드가 존재하는 바 그 다양한 거래코드의 조합에 대해 자동으로 테스트할 수 있으며, 이 경우 그 수에 제한 없이 테스트데이터를 만들 수 있다.In addition, the quality test automation method using the automatic data generation function according to an embodiment of the present invention, there are many transaction codes in the pop-up window contained in the transaction screen can automatically test for a combination of various transaction codes, In this case, test data can be created without limit.
또한, 본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법은 개발자 및 테스터가 테스트 실행 시에 결함을 쉽게 발견할 수 있는 테스트데이터를 별도로 저장한 후 필요한 경우에 다시 불러내어 테스트에 활용함으로써 결함을 손쉽게 발견할 수 있으며, 또한 이러한 데이터를 여러 테스터가 공유할 수 있기 때문에 보다 효율적인 테스트를 수행할 수 있다.In addition, the quality test automation method using the automatic data generation function according to an embodiment of the present invention stores the test data that the developer and the tester can easily detect defects when the test is executed, and then recalls the test if necessary Defects can be easily detected, and this data can be shared by multiple testers, enabling more efficient testing.
이하 본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법에 대하여 첨부된 도면을 참조하여 상세히 설명한다. Hereinafter, a quality test automation method using an automatic data generation function according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
우선 각 도면의 구성요소들에 대해 참조부호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호로 표기한다. First, in adding reference numerals to the elements of each drawing, the same elements are denoted by the same reference numerals as much as possible even if they are displayed on different drawings.
또한, 하기의 설명에서는 본 발명의 실시 예를 설명하기 위하여 구체적인 구성소자 등과 같은 많은 특정사항들이 도시되어 있는데, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들 없이도 본 발명이 실시될 수 있음은 이 기술분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다. In addition, in the following description, in order to explain the embodiments of the present invention, specific details such as specific elements are illustrated, which are provided to help a more general understanding of the present invention, and the present invention may be practiced without these specific details. It will be apparent to those skilled in the art.
본 명세서에 있어서, 테스트 웹 단말기는 요구불거래를 실행하는 프로그램이 실행되는 영업점 창구단말기를 예를 들어 설명하였지만, 이에 한정되는 것은 아니며, 모바일 뱅킹이 실행되는 휴대용 단말기, 인터텟 뱅킹이 실행되는 고객단말기, CD/ATM기, 콜센터 단말기 등 금융기관의 IT 시스템과 연결된 다양한 채널과 인터페이스되는 단말기일 수 있다. In the present specification, the test web terminal has been described using, for example, a branch office terminal for executing a program for executing a demand transaction, but the present invention is not limited thereto, and a mobile terminal running mobile banking, a customer terminal running internet banking, The terminal may be interfaced with various channels connected to the IT system of a financial institution such as a CD / ATM device and a call center terminal.
본 발명에 따른 테스트자동화시스템은 통합기능테스트를 자동화하는 것으로 금융기관의 웹 단말과 같이 다양한 채널에 연결되는 시스템에 있어서 조작자의 조작(Action) 내용만 기억할 뿐 조작(Action)에 대한 각 단말 프로그램 내부의 동작(이를 블랙박스라고 칭함)을 모르는 채 수행되는 블랙박스테스트를 자동화한 것이 다.The test automation system according to the present invention is to automate the integrated function test, and in the system connected to various channels such as a web terminal of a financial institution, only the contents of the operator's actions are stored, and each terminal program for the actions is inside. It is an automated black box test that is performed without knowing the behavior of this (called the black box).
도 1은 본 발명의 일 실시예에 따른 개발시스템의 품질테스트 자동화시스템의 블록도이며, 도 2는 본 발명의 일 실시예에 따른 개발시스템의 품질테스트 자동화시스템의 품질테스트 자동화엔진의 구성을 자세히 보이는 블록도이다. 1 is a block diagram of a quality test automation system of a development system according to an embodiment of the present invention, Figure 2 is a detailed configuration of a quality test automation engine of a quality test automation system of a development system according to an embodiment of the present invention. The block diagram shown.
본 발명의 일 실시예에 따른 개발시스템의 품질테스트 자동화시스템(1)은 개발시스템의 웹 단말 프로그램을 실행하는 웹 단말기(10)와, 상기 웹 단말기(10)를 통해 개발시스템의 웹 단말 프로그램이 구동되면 웹 단말기(10)를 통한 데이터 처리, 예를 들어, 요구불거래를 처리하는 호스트 시스템(20)을 포함한다. 상기 호스트 시스템(20)은 거래를 처리하는 계정계시스템(21)과 상기 계정계시스테(21)의 처리결과를 고객정보와 함께 저장하는 저널로그 데이터베이스(23)을 더 포함할 수 있다. Quality
이와 같이 데이터 처리를 진행하는 데에는 웹 단말기(10)를 통한 데이터 처리에 필요한 데이터를 입출력하기 위한 단말 주변기기(30)와, 경우에 따라 신용평가정보나, 다른 업무와의 연계, 공인인증 등의 필요로 신용평가기관, 은행연합회, B2B 연계, 금융결제원 서버(40)의 지원이 필요하다. In order to process the data as described above, the terminal
상기 단말 주변기기(30)는 비밀번호를 입력하는 핀 패드(31), 신규거래 승인 시 직불 카드 발급 거래 시 직불 카드를 발급하는 직불카드 발급기(32), IC 리더기 발급기(33), 통장 프린트(34), 통장 리더기(35) 등을 들 수 있다. The terminal
상기 웹 단말기(10)의 웹 단말 프로그램(200)은 윈도우 기반으로JAVA, XML 등 표준 기술을 채택하여 솔루션의 유연성을 보장하며, Single View의 구현으로 한 화면에서 다양한 금융 업무의 수행이 가능하도록 하고 업무간 유연한 데이터 연동으로 업무 처리의 효율 향상하고, 상기 단말 주변기기 처리, 책임자 승인, 메시지 송/수신의 통합 관리, SSO 구현을 통한 보안 강화, 일원화된 사용자 관리로 사용자별 맞춤화 기능 지원할 수 있고, 고객 정보(CRM 연계)의 효율적 활용으로 마케팅 중심의 업무 지원할 수 있으며, 중앙 집중적인 변경 관리 및 체계적인 개발 방법론에 의한 엄격한 테스트를 수행할 수 있도록 구성된다. The
본 발명의 일 실시예에 따른 품질테스트 자동화엔진(100)은 사용자가 조작한 내용을 그대로 레코딩 하였다가 재생하는 개발시스템의 단말프로그램 자동화모듈(110)을 포함한다. The quality
본 명세서에 있어서 사용자란 창구 텔러를 의미하는 것으로, 창구 텔러가 조작한 내용은 예를들어 요구불거래와 같은 거래를 처리한 것을 저장한 저널로그를 테스트케이스로 이용할 수 있다. 테스트케이스는 테스트를 하여 결과값을 얻을 수 있는 최소단위를 의미한다. In the present specification, a user means a teller teller, and the contents manipulated by the teller teller can be used as a test case, for example, a journal log that stores a transaction such as a demand transaction. Test case means the minimum unit that can be tested and get the result.
이와 같이 저널로그를 테스트케이스로 이용하기 위해서 품질테스트 자동화엔진(100)는 저널로그를 수집, 편집하여 테스트케이스로 만들어 일괄적으로 테스트에 이용할 수 있는 저널로그 자동화모듈(120)을 더 포함한다. As such, in order to use the journal log as a test case, the quality
또한, 상기 조작한 내용을 그대로 레코딩 한다는 것은 마우스 조작 및 키보드 입력뿐만 아니라 각종 디바이스 장비조작까지도 포함하는 것으로, 품질테스트 자동화엔진(100)는 요구불거래와 같은 금융거래에 필요한 비밀번호입력, 통장인자, 직불카드발행과 같은 단말 주변기기의 실행을 자동화하여 일괄적으로 테스트해 볼 수 있도록 이러한 디바이스 테스트를 자동화하기 위한 디바이스 자동화모듈(130)을 더 포함한다. In addition, recording the operation as it is, including not only mouse operation and keyboard input but also various device equipment operation, the quality
또한, 조작자가 웹 단말기(10)를 인터페이스하여 웹단말프로그램(200)을 통해 거래를 할 때 책임자 승인이 필요한 경우가 있다. 일반적으로 책임자 승인은 조작자가 책임자 단말에 승인요청을 전송하면, 책임자는 요청 받은 거래를 확인 후 비밀번호를 입력하여 승인을 해야 하는 것으로 한 화면에서 거래를 일괄적으로 수행할 수 없으며, 대기시간이 필요한 문제점이 있다. In addition, when an operator interfaces with the
이러한 책임자 승인을 자동화 하기 위하여 품질테스트 자동화엔진(100)는 책임자 승인요청이 들어오면 자동으로 책임자 비밀번호를 입력한 뒤 조작자 단말에 돌려주어 자동책임자 승인을 할 수 있는 책임자승인 자동화모듈(140)을 포함한다. In order to automate such responsible approval, the quality
이와 같이 일괄적인 거래가 테스트된 테스트케이스는 집합되어 테스트시나리오를 구성할 수 있다. Test cases in which batch transactions have been tested can be aggregated to form a test scenario.
또한, 상기 품질테스트 자동화엔진(100)는 테스트케이스의 결과값을 이용하여 자동으로 결과보고서를 생성하는 결과보고 자동화 모듈(150)을 포함할 수 있다 In addition, the quality
이제, 도 3 내지 도 7b를 참조하여 본 발명의 일 실시예에 따른 품질테스트 자동화 엔진(100) 및 그 테스트데이터 자동생성방법에 관해서 상세히 설명하겠다. Now, the quality
도 3은 본 발명의 일 실시예에 따른 테이터 자동생성기능을 이용한 품질테스트 자동화방법을 설명하는 플로우챠트이고, 도 4a 및 도 4b는 스크립트 방식으로 레코딩된 데이터 중 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이고, 도 5a 및 도 5b는 그리드 형 태로 표시된 테스트케이스의 입력필드 중 날짜 필드를 달리하여 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이고, 도 6a 및 도 6b는 목록 데이터 검색창을 이용하여 구분코드를 달리하여 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이고, 도 7a 내지 도 7b는 유저리스트를 이용하여 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이다.3 is a flowchart illustrating a method for automating quality test using an automatic data generation function according to an embodiment of the present invention, and FIGS. 4A and 4B are screen examples for mass-producing a test case among data recorded by a script method. FIG. 5A and FIG. 5B are screen examples showing test cases automatically generated in a result grid form, and FIG. 5A and FIG. 5B illustrate screen examples for mass producing test cases by changing a date field among input fields of a test case displayed in a grid form. 6A and 6B illustrate screen examples for mass-producing test cases with different classification codes using a list data search window, and as a result, test cases automatically generated in a grid form. 7A to 7B illustrate a test case using a user list. A represents the test case automatically generated help screen illustrating a mass production and as a result grid-type screen illustrated FIG.
먼저, 도 3 내지 도 7b를 참조하면, 테스트 웹 단말기(10)는 웹 단말 프로그램(200)이 요구불 입금거래인 경우를 예를 들어 설명하면, 웹 단말기(10)를 통해서 요구불 거래를 선택하고 계좌번호를 수신하고(S10), 조작자가 실행하는 단말프로그램의 동작을 입력되는 대로, 보여지는 출력 그대로 스크립트 방식으로 기록한다(S20). 상기 스크립트 방식은 컴퓨터 언어구조를 가진 입출력 방식으로 조작내용을 편집할 수 있도록 정규화되며, 레코딩 단계에서 생성된 스크립트는 재생이 가능하도록 입출력 정보에 대한 내용을 저장한다(S21). First, referring to FIG. 3 to FIG. 7B, the
이를 위하여, 단말프로그램 자동화부(110)는 그 구성요소를 윈도우 체계의 웹 단말프로그램(200)과 연동하도록 제어하는 주제어부(WinTAS Main;111)와, 조작자가 실행하는 단말프로그램의 동작을 입력되는 대로, 보여지는 출력 그대로 스크립트방식으로 기록하는 스트립트편집부(112), 상기 스크립트편집부(112)에 의해서 작성된 스크립트를 테스트케이스로 생성하는 테스트케이스 생성기(113)를 포함하며, 상기 테스트케이스 생성기(113)에 의해서 생성된 테스트케이스는 반복 테스트 의 자료로 활용할 수 있도록 테스트케이스 데이터베이스(116)에 저장된다. To this end, the terminal
한편, 상기 스크립트 편집부(112)는 레코딩된 스크립트가 재생 가능하도록 레코딩 과정에서 발생하는 XML형식(웹상에서 구조화된 문서를 전송 가능하도록 설계된 표준화된 텍스트 형식으로 HTML의 한계를 극복하고 SGML의 복잡함을 해결하는 방안으로써 HTML에 사용자가 새로운 태그를 정의할 수 있음)의 윈도우 메시지를 사용자가 직관적으로 이해할 수 있는 스크립트(script)로 사전 정의해 둔 정의부(112a), 이러한 스크립트를 라인번호입력으로 이동, 바꾸기, 복사, 잘라내기, 붙여넣기, Copy Documentation to Clipboard, Undo/Redo, BreakPoint Insert/Delete(한 단계를 중단하고 다음 단계로 진행하도록 함), Syntax Highlighting 할 수 있는 스크립트에디터(112b), 스크립트 문법오류를 검사하는 검증부(112c), 스크립트로 테스트케이스를 생성하는 생성부(112d), 주변기기 및 저널로그의 입출력을 스크립트로 기록하는 디바이스 스크립부(112e) 및 저널 로그 스크립트부(112f)를 더 포함할 수 있다. On the other hand, the
도 3에 도시된 바와 같이, 레코딩 과정에서 발생한 메시지를 XML 형식으로 스크립트에디터(112b)에 전달하면, 상기 XML메시지를 파싱(parsing)하여 스크립트를 생성하고 Syntax Highlighting 정보를 설정하여 한 줄 추가하여 표시한다. As shown in FIG. 3, when the message generated during the recording process is delivered to the
이러한 스크립트에디터(112b)를 이용하여 스크립트를 다양하게 편집하여 테스트케이스를 생성부(112c)에 의해서 생성하고 상기 스크립트 확인부(112d)를 통해서 테스트케이스 스크립트 데이터베이스(116)에 저장한다. Various scripts are edited using the
상기 스크립트 중 테스트 자동화엔진(100)과 통신하는 부분을 더미로 바꾸어 JavaScript부분만 웹 브라우저로 실행하면, 별도의 검증엔진을 구성하지 않더라도 기존 표준화된 프로그램을 이용하여 문법오류를 편리하게 검사할 수 있다. 이를 위하여 단말 프로그램 테스트자동화모듈(110)은 자바제어 매니저(114)를 더 포함하며, 다른 프로세스에 걸려서(Hooked) 해당 프로세스의 정보를 얻어 오거나, 변경할 수 있도록 지원하는 후킹부(114a)와 자바스크립트를 XML 변환하는 XML 생성기(114b)를 포함하여, 상기 테스트케이스 데이터베이스(116)에 저장된 테스트케이스의 재실행(replay)시에 XML 문서로 전송할 수 있다. If you change the part of the script that communicates with the
상기 테스트케이스데이터베이스(116)에 저장된 테스트케이스는 자동 재수행되어(S22) 웹 단말 프로그램(200)을 실행하도록 명령을 전송한다(S30). The test case stored in the
이때, 상기 데이터베이스(116)에 저장된 스크립트, 이에 맵핑되는 테스트데이터, 및 포맷 정보를 이용하여 상기 테스트케이스생성부(113)는 복수개의 그리드를 도 4a에 도시된 바와 같이 원하는 개수만큼 자동생성할 수 있다.In this case, using the script stored in the
도 4b에 도시된 바와 같이, 상기 그리드의 행은 하나의 테스트케이스를 반복적으로 표시할 수 있다. 10개의 행 데이터가 존재한다면 10번의 동일한 테스트케이스가 수행될 수 있다.As shown in FIG. 4B, the rows of the grid may repeatedly display one test case. If there are 10 rows of data, 10 identical test cases can be performed.
또한, 상기 그리드의 열은 하나의 테스트케이스를 구성하는 데이터 필드를 말하며, 고객명, 출금계좌번호, 핀 패드 비밀번호, 통장비밀번호, 거래결과, 거래종류 등을 표시할 수 있다.In addition, the column of the grid refers to a data field constituting one test case, and may display a customer name, withdrawal account number, pin pad password, passcode number, transaction result, transaction type, and the like.
안감서명거래부분, 핀패드 비밀번호입력, 버튼, 등 10개의 열 데이터가 존재한다면 10개의 입력필드가 있는 것을 의미한다. If there are 10 column data such as lining signature transaction part, pin pad password input, button, etc, it means that there are 10 input fields.
따라서, 행 별로 즉 동일한 테스트케이스에 대하여 입력데이터 필드종류를 달리하여 테스트를 수행해 볼 수 있다.Therefore, the test can be performed by different input data field types for each row, that is, the same test case.
즉. 본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법은 테스트데이터를 저장한 후 필요한 경우 이를 다시 재사용할 수 있어서 항상 시간에 쫓기는 개발자 및 테스터들에게 테스트케이스 작성 및 검증 시간을 감소시켜줄 수 있으며 이로 인해 충실한 테스트를 가능하게 할 수 있다.In other words. Quality test automation method using the automatic data generation function according to an embodiment of the present invention can save the test data and reuse it if necessary to reduce the test case creation and verification time for developers and testers always chasing time This can allow for faithful testing.
또한, 도 5a 에 도시된 바와 같이 목록 데이터 생성창을 불러서 도 5b에 도시된 바와 같이 숫자, 날짜 등을 달리하는 테스트케이스를 복수개로 자동생성할 수 있다.In addition, as shown in FIG. 5A, a list data generation window may be called to automatically generate a plurality of test cases having different numbers, dates, and the like as shown in FIG. 5B.
또한, 도 6a에 도시된 바와 같이, 목록 데이터 검색창을 불러서 팝업리스트 목록을 선택하여 도 6b와 같이 구분 목록을 달리하는 테스트케이스를 복수개 생성할 수 있다.In addition, as shown in FIG. 6A, a popup list list may be selected by calling the list data search window, and a plurality of test cases having different division lists may be generated as shown in FIG. 6B.
도 6a 및 도 6b에서는 구분 코드로서 외국환의 단위를 선택하였고 달러, 엔화, 파운드, 달러 등의 외국환 단위를 달리하여 그리드 열이 생성되었다.In FIG. 6A and FIG. 6B, a unit of a foreign currency is selected as a division code, and grid columns are generated by changing foreign currency units such as dollars, yen, pounds, and dollars.
즉, 본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법은 거래 화면에 담겨져 있는 팝업창에는 많은 거래코드가 존재하는 바 그 다양한 거래코드의 조합에 대해 자동으로 테스트할 수 있으며, 이 경우 그 수에 제한 없이 테스트데이터를 만들 수 있다.That is, the quality test automation method using the automatic data generation function according to an embodiment of the present invention, there are many transaction codes in the pop-up window contained in the transaction screen bar can automatically test for a combination of various transaction codes, In this case, test data can be created without limit.
도 7a 에 도시한 바와 같이, 목록 데이터 생성창에 저장된 사용자 목록을 선택하여 의도된 비정상적인 테스트데이터를 선택할 수 있다.As shown in FIG. 7A, the intended abnormal test data may be selected by selecting a user list stored in the list data generating window.
도 7b는 개발자 또는 테스터가 프로그램의 오류를 쉽게 검증할 수 있는 날짜오류를 나타내고 있다.7B illustrates a date error that allows a developer or tester to easily verify the error in the program.
본 발명의 일 실시예에 따른 데이터 자동생성기능을 이용한 품질테스트 자동화방법은 개발자 및 테스터가 테스트 실행 시에 결함을 쉽게 발견할 수 있는 테스트데이터를 별도로 저장한 후 필요한 경우에 다시 불러내어 테스트에 활용함으로써 결함을 손쉽게 발견할 수 있으며, 또한 이러한 데이터를 여러 테스터가 공유할 수 있기 때문에 보다 효율적인 테스트를 수행할 수 있다.Quality test automation method using the automatic data generation function according to an embodiment of the present invention stores the test data that developers and testers can easily find defects when the test is executed and recalled when necessary to use for testing This makes it easier to spot defects, and the data can be shared by multiple testers, making testing more efficient.
이와 같이, 자동생성된 데이터를 이용하여 자동으로 웹 단말 프로그램을 자동 재수행한다(S40).In this way, the web terminal program is automatically re-executed using the automatically generated data (S40).
이때 통장 발급기(35)와 같은 주변기기가 실행하는 것과 마찬가지로 상기 디바이스자동화모듈(130)이 대신 처리한 결과를 전송한다(S41). In this case, as in the case of the peripheral device such as the
상기 디바이스자동화부(130)는 가상 드라이버를 구축하여 임베디드 보드를 USB 디바이스로 인식하여 단말프로그램의 조작자의 행동을 기록하는 것을 가지고 똑같이 재현함으로써 주변장비가 실제 존재(연결되어 있지)하지 않고 디바이스 콘트롤러에 의해서만 동작하는 모드로 설정되더라도 윈도우 테스트 프로그램을 시행할 수 있기 때문에 일괄적인 리얼 테스트할 수 있게 한다. The
한편, 테스트결과보고서자동화모듈(150)은 테스트 결과를 수집하고(S50), 출력화면의 체크 포인트에 해당하는 내용을 비교 검증하여 테스트결과보고서 데이터베이스(116)에 저장하고(S51), 테스트결과보고서 검색부(151)에 의하여 검색하여 이용할 수도 있으며 테스트결과보고서 인쇄부(152)에 의하여 스냅샷 프린트에 의하 여 자동으로 테스트 수행결과를 자동으로 보고한다(S60). Meanwhile, the test result
이러한 재실행은 기록시에 사용되었던 입력 값을 그대로 활용할 수도 있으며, BP에 저장된 로그에 입력 부분만을 저널로그스크립부(114f)로 추출하여 반복 테스트의 자료로 활용하는 테스트케이스를 생성하여 수행할 수 도 있다. Such redo can be performed by using input values that were used at the time of recording, and can be performed by generating a test case that extracts only an input portion into a log stored in the BP to the journal log script 114f and utilizes it as data for repeated tests. have.
이때, 레코딩 순서 그대로를 재생하려면 디바이스 동작과 단말기 동작 간의 순서를 동기화해야 하는데, 테스트 자동화 엔진(100)은 단말기 프로그램이 어느 시점에 디바이스를 동작시키는지 알 수 있도록 디바이스 자동화부(임베디드 장비130)를 주변단말기(30)와 디바이스 중간에 위치시켜 동작들을 가로채고 스크립트화 하여 기록하게 한다. At this time, in order to reproduce the recording order, it is necessary to synchronize the sequence between the device operation and the terminal operation, the
도 1은 본 발명의 일 실시예에 따른 개발시스템의 품질테스트자동화시스템의블록도이며, 1 is a block diagram of a quality test automation system of a development system according to an embodiment of the present invention,
도 2는 본 발명의 일 실시예에 따른 개발시스템의 품질테스트자동화시스템의 테스트자동화엔진의 구성을 자세히 보이는 블록도이며, Figure 2 is a block diagram showing in detail the configuration of the test automation engine of the quality test automation system of the development system according to an embodiment of the present invention,
도 3은 본 발명의 일 실시예에 따른 테이터 자동생성기능을 이용한 품질테스트 자동화방버를 설명하는 플로우챠트이고, 3 is a flowchart illustrating a quality test automation method using an automatic data generation function according to an embodiment of the present invention.
도 4a 및 도 4b는 스크립트 방식으로 레코딩된 데이터중 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이고, 4A and 4B illustrate screen examples for mass producing test cases among data recorded by a script method and screen examples showing test cases automatically generated in a grid form.
도 5a 및 도 5b는 그리드 형태로 표시된 테스트케이스의 입력필드 중 날짜필드를 달리하여 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이고, 5A and 5B illustrate screen examples of mass-producing test cases by changing date fields among input fields of test cases displayed in a grid form, and screen examples showing test cases automatically generated in a grid form.
도 6a 및 도 6b는 목록 데이터 검색창을 이용하여 구분코드를 달리하여 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이고, 6A and 6B illustrate screen examples of mass-producing test cases using different classification codes using a list data search window and screen examples showing test cases automatically generated in a grid form.
도 7a 내지 도 7b는 유저리스트를 이용하여 테스트케이스를 양산하는 화면예시도와 그 결과 그리드 형태로 자동생성된 테스트케이스를 나타내는 화면예시도이다.7A to 7B illustrate screen examples for mass-producing test cases using a user list and screen examples showing test cases automatically generated in a grid form.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080009535A KR20090083622A (en) | 2008-01-30 | 2008-01-30 | Test automating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080009535A KR20090083622A (en) | 2008-01-30 | 2008-01-30 | Test automating system |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090083622A true KR20090083622A (en) | 2009-08-04 |
Family
ID=41204388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080009535A KR20090083622A (en) | 2008-01-30 | 2008-01-30 | Test automating system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090083622A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856365A (en) * | 2012-12-05 | 2014-06-11 | 深圳市共进电子股份有限公司 | Automatic testing method and system of client terminal access equipment |
KR101941418B1 (en) * | 2018-08-10 | 2019-04-12 | 김희선 | Crowding testing platform |
-
2008
- 2008-01-30 KR KR1020080009535A patent/KR20090083622A/en not_active Application Discontinuation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856365A (en) * | 2012-12-05 | 2014-06-11 | 深圳市共进电子股份有限公司 | Automatic testing method and system of client terminal access equipment |
CN103856365B (en) * | 2012-12-05 | 2018-09-14 | 深圳市共进电子股份有限公司 | Client terminal access device automatic test approach and system |
KR101941418B1 (en) * | 2018-08-10 | 2019-04-12 | 김희선 | Crowding testing platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11487529B2 (en) | User interface that integrates plural client portals in plural user interface portions through sharing of one or more log records | |
CN101135989B (en) | Automatization test method and device for Web applied system | |
CN101046767B (en) | Method and system for automated testing of a graphic-based programming tool | |
US20120216176A1 (en) | Computer implemented system and method for indexing and optionally annotating use cases and generating test scenarios therefrom | |
US20100235275A1 (en) | Card Processing | |
CN101221503A (en) | Software testing method and device | |
CN111459800B (en) | Method, device, equipment and medium for verifying availability of service system | |
CN104657274A (en) | Method and device for testing software interface | |
Bierig et al. | Essentials of Software Testing | |
US8874463B2 (en) | Trouble ticket management system | |
US9477582B2 (en) | Executable software specification generation | |
KR101020132B1 (en) | Automation test system and method for a financial work program | |
KR100969877B1 (en) | Test automating system | |
KR20090083622A (en) | Test automating system | |
KR20090083621A (en) | Test automating system | |
CN116974537A (en) | Component-based product development method, device, computer equipment and storage medium | |
KR100947860B1 (en) | Test automating system | |
Liu et al. | A formal approach to testing programs in practice | |
CN101989255A (en) | System and method for automatically generating authentication test report of online authentication test | |
KR101843092B1 (en) | Method for verifying multiple insurance computer system | |
Felix | Bank Customers Management System | |
Vincent et al. | Regression Testing of Object-Oriented Software: Towards a Hybrid | |
KR20090083624A (en) | Test automating system | |
CN106920346A (en) | The automated testing method of single business is received based on POS | |
Gupta | Agile Automation and Unified Funtional Testing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |