KR20020072028A - Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information - Google Patents

Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information Download PDF

Info

Publication number
KR20020072028A
KR20020072028A KR1020010011981A KR20010011981A KR20020072028A KR 20020072028 A KR20020072028 A KR 20020072028A KR 1020010011981 A KR1020010011981 A KR 1020010011981A KR 20010011981 A KR20010011981 A KR 20010011981A KR 20020072028 A KR20020072028 A KR 20020072028A
Authority
KR
South Korea
Prior art keywords
information
test
hyperlink
website
file
Prior art date
Application number
KR1020010011981A
Other languages
Korean (ko)
Other versions
KR100503788B1 (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 KR10-2001-0011981A priority Critical patent/KR100503788B1/en
Publication of KR20020072028A publication Critical patent/KR20020072028A/en
Application granted granted Critical
Publication of KR100503788B1 publication Critical patent/KR100503788B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Abstract

PURPOSE: A device and a method for automatically testing a web site by using the automatic extraction of the hyperlink information and the extracted information are provided to automatically and hierarchically extract the hyperlink information from the web site and to successively progress the automatic test for each web site by using the extracted hyperlink information. CONSTITUTION: The device includes a tool(110) having a browser providing an Internet access function and a test computer(100) connecting to the tool with an exclusive line. The test computer extracts the accessible hyperlink information through a computer communication network in the test depth from a target web site(130) by receiving the input of the target web site and the test depth, records the extracted hyperlink information to a link information file and removes the duplicated information from the link information file. The tool transmits the message output from each web site to the test computer by successively accessing the web site corresponding to each hyperlink recorded in the link information file and finds out an error paragraph from the output message.

Description

하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 장치 및 방법{Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information}Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information}

본 발명은 웹사이트 자동 테스트 장치 및 방법에 관한 것으로, 특히 웹사이트내의 하이퍼링크 정보를 계층적으로 자동 추출하고, 추출된 하이퍼링크 정보를이용하여 브라우저가 설치된 장치에서 웹사이트를 자동 테스트하는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for automatically testing a website, and in particular, an apparatus for automatically hierarchically extracting hyperlink information in a website and automatically testing a website in a device where a browser is installed using the extracted hyperlink information. It is about a method.

브라우저가 탑재된 장치(예를 들어, 웹폰, 인터넷TV, DTV, 다양한 개인 휴대 단말기 등; 이하 테스트 장치라고 참조함)를 위한 브라우저 기능 테스트는 수작업에 의하여 진행되는 경우가 많다. 그러나, 사람이 일일이 웹사이트내의 각 하이퍼링크를 이동하면서 웹사이트의 접속 상태를 확인하는 것은 매우 번거롭고, 비효율적인 작업이다. 왜냐하면, 하나의 웹사이트에는 링크된 정보가 상당히 많이 포함되어 있으며, 첫 화면에서 뿐만 아니라 깊이를 내려갈수록 기하급수적으로 테스트 대상이 증가하기 때문이다. 따라서, 수작업 테스트는 시간 및 노력 측면에서 많은 비용이 소요되는 테스트 방식이라고 할 수 있다.Browser function tests for devices equipped with browsers (for example, web phones, Internet TVs, DTVs, various personal digital assistants, etc .; hereinafter referred to as test devices) are often performed manually. However, it is a very cumbersome and inefficient task for a person to check each website's connection status by moving each hyperlink in the website. This is because a single website contains a lot of linked information, and the number of test subjects increases exponentially as you go down the depth as well as on the first screen. Thus, manual testing is a costly test method in terms of time and effort.

더군다나, 사람에 의존하다 보니, 개개인의 능력이나 여러 가지 변수에 따라 테스트 결과에서 많은 차이를 보이고 있다. 또한, 테스트를 수행하는 사람의 당일 컨디션이나 테스트 상황 등에 따라서 테스트 누락이 발생할 수 있다. 예를 들어, 테스트 과정중에 별로 문제가 없어 보인다거나 테스트 과정이 지루한 웹사이트의 경우에는 철저한 테스트를 수행하지 않게 되는 인위적인 면이 나타날 수 있다. 따라서, 테스트 결과에 대한 커버리지 측면에서도 많은 한계를 가지게 된다.Moreover, depending on the person, there are many differences in the test results depending on the individual's ability and various variables. In addition, test omission may occur depending on the condition of the person who performs the test or the test situation. For example, a website that does not seem to have any problems during the test process or where the test process is boring may have an artificial aspect of not performing a thorough test. Therefore, there are many limitations in terms of coverage of test results.

본 발명이 이루고자 하는 기술적인 과제는 상기의 문제점을 해결하기 위해, 테스트 대상 웹사이트로부터 하이퍼링크 정보를 계층적으로 자동 추출하고, 추출된 하이퍼링크 정보를 이용하여 각 웹사이트에 대하여 순차적인 자동 테스트를 진행하는 시스템 및 방법을 제공하는데 있다.In order to solve the above problems, the present invention provides a hierarchical automatic extraction of hyperlink information from a test target website and a sequential automatic test for each website using the extracted hyperlink information. To provide a system and method for proceeding.

본 발명이 이루고자 하는 다른 기술적인 과제는 테스트 대상 웹사이트로부터 하이퍼링크 정보를 계층적으로 자동 추출하는 방법 및 이를 위한 기록 매체를 아울러 제공하는데 있다.Another technical problem to be achieved by the present invention is to provide a method for automatically and hierarchically extracting hyperlink information from a website under test and a recording medium therefor.

본 발명이 이루고자 하는 또다른 기술적인 과제는 테스트 대상 하이퍼링크의 목록 파일을 로딩하여 각 웹사이트를 자동 테스트 하는 장치, 방법 및 이를 위한 기록 매체를 아울러 제공하는데 있다.Another technical problem to be achieved by the present invention is to provide an apparatus, a method for automatically testing each website by loading a list file of a test target hyperlink, and a recording medium therefor.

도 1은 본 발명의 실시예에 따른 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트를 위한 시스템 구성도를 개략적으로 도시한 것이다.1 schematically illustrates a system configuration for automatic extraction of hyperlink information and automatic website testing using the information according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 방법에 대한 흐름도이다.2 is a flowchart illustrating an automatic extraction of hyperlink information and an automatic website testing method using the information according to an embodiment of the present invention.

도 3a 및 도 3b는 본 발명의 실시예에 따른 하이퍼링크 정보의 자동 추출 방법에 대한 상세 흐름도이다.3A and 3B are detailed flowcharts of an automatic extraction method of hyperlink information according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따른 하이퍼링크 정보를 이용한 웹사이트 자동 테스트 방법에 대한 상세 흐름도이다.4 is a detailed flowchart of a website automatic test method using hyperlink information according to an embodiment of the present invention.

상기 기술적 과제를 해결하기 위하여, 본 발명의 일측면에 의한 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 방법은,In order to solve the above technical problem, the automatic extraction of hyperlink information by one aspect of the present invention and the website automatic test method using the information,

하이퍼링크 정보의 자동 추출 및 추출된 하이퍼링크 정보를 이용하여 브라우저가 탑재된 장치에서 인터넷상의 웹사이트들을 자동으로 테스트하는 방법으로,By automatically extracting hyperlink information and using the extracted hyperlink information to automatically test websites on the Internet on a browser-equipped device,

(a) 테스트용 컴퓨터에서 테스트 대상 웹사이트와 테스트 깊이를 입력받아, 상기 테스트 대상 웹사이트로부터 상기 테스트 깊이내에서 컴퓨터 통신망을 통하여 접근할 수 있는 하이퍼링크 정보를 추출하여 링크 정보 파일에 기록하고, 상기 링크 정보 파일에서 중복 정보를 제거하는 단계; 및(a) receiving a test target website and a test depth from a test computer, extracting hyperlink information accessible through a computer communication network within the test depth from the test target website, and recording the result in a link information file; Removing duplicate information from the link information file; And

(b) 상기 테스트용 컴퓨터와 전용 케이블로 직접 연결되는 상기 브라우저가 탑재된 장치에서 상기 링크 정보 파일을 참조하여, 상기 링크 정보 파일에 기록된 각 하이퍼링크에 대응하는 웹사이트에 컴퓨터 통신망을 통하여 순차적으로 접속하여, 각 웹사이트의 접속 상태를 테스트하는 단계를 포함함을 특징으로 한다.(b) refer to the link information file in the browser-equipped device directly connected to the test computer with a dedicated cable, and sequentially through a computer communication network to a website corresponding to each hyperlink recorded in the link information file. By connecting to, characterized in that it comprises the step of testing the connection status of each website.

또한, 상기 (a) 단계는,In addition, the step (a),

(a1) 상기 브라우저가 탑재된 장치에서 컴퓨터 통신망을 통하여 접근할 수 있는 서버로 상기 링크 정보 파일을 전송하는 단계를 더 포함하고,(a1) transmitting the link information file from a device equipped with the browser to a server accessible through a computer communication network,

상기 (b) 단계에서, 상기 브라우저가 탑재된 장치는 상기 서버로부터 상기 링크 정보 파일을 컴퓨터 통신망을 통하여 로딩하여 참조함이 바람직하다.In the step (b), it is preferable that the device on which the browser is mounted loads and references the link information file from the server through a computer communication network.

또한, 상기 (a1) 단계에서,Further, in the step (a1),

상기 링크 정보 파일은 상기 서버에 소정의 크기로 분할되어 저장되고,The link information file is divided into a predetermined size and stored in the server,

상기 (b) 단계에서, 상기 브라우저가 탑재된 장치는 분할된 각 링크 정보 파일을 순차적으로 로딩하여 참조함이 바람직하다.In the step (b), it is preferable that the device on which the browser is mounted loads and references each divided link information file sequentially.

또한, 상기 (b) 단계는,In addition, the step (b),

(b1) 상기 브라우저가 탑재된 장치에서 각 웹사이트에 접속할 때, 각 웹사이트로부터 전송되는 출력 메시지를 상기 테스트용 컴퓨터로 상기 전용 케이블을 통하여 전송하는 단계; 및(b1) when the browser-equipped device accesses each website, sending an output message transmitted from each website to the test computer through the dedicated cable; And

(b2) 상기 테스트용 컴퓨터에서 상기 (b1) 단계에서 전송되는 출력 메시지에서 오류 문구를 검출하는 단계를 포함함이 바람직하다.(b2) preferably detecting an error phrase in the output message transmitted in step (b1) in the test computer.

상기 다른 기술적 과제를 해결하기 위하여, 본 발명의 일측면에 의한 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 시스템은,In order to solve the above other technical problem, the automatic extraction of hyperlink information by one aspect of the present invention and the website automatic test system using the information,

인터넷 접속 기능을 제공하는 브라우저가 탑재된 장치; 및A device equipped with a browser that provides an Internet access function; And

상기 브라우저가 탑재된 장치와 전용 케이블로 연결되는 테스트용 컴퓨터를 포함하고,A test computer connected to the device equipped with the browser by a dedicated cable,

상기 테스트용 컴퓨터는 테스트 대상 웹사이트와 테스트 깊이를 입력받아, 상기 테스트 대상 웹사이트로부터 상기 테스트 깊이내에서 컴퓨터 통신망을 통하여 접근할 수 있는 하이퍼링크 정보를 추출하여 링크 정보 파일에 기록하고, 상기 링크 정보 파일에서 중복 정보를 제거하며,The test computer receives the test target website and the test depth, extracts the hyperlink information accessible through the computer communication network within the test depth from the test target website, and records the hyperlink information in a link information file. Remove duplicate information from information files,

상기 브라우저가 탑재된 장치는 상기 링크 정보 파일을 참조하여, 상기 링크 정보 파일에 기록된 각 하이퍼링크에 대응하는 웹사이트에 컴퓨터 통신망을 통하여 순차적으로 접속하여, 각 웹사이트로부터 전송되는 출력 메시지를 상기 테스트용 컴퓨터로 상기 전용 케이블을 통하여 전송하고,The device equipped with the browser refers to the link information file and sequentially accesses a website corresponding to each hyperlink recorded in the link information file through a computer communication network, and outputs an output message transmitted from each website. To the test computer via the dedicated cable,

상기 테스트용 컴퓨터는 상기 출력 메시지에서 오류 문구를 검출함을 특징으로 한다.The test computer is characterized by detecting an error phrase in the output message.

상기 또다른 기술적 과제를 해결하기 위하여, 본 발명의 일측면에 의한 하이퍼링크 정보의 자동 추출 방법은,In order to solve the another technical problem, an automatic extraction method of hyperlink information according to an aspect of the present invention,

인터넷상의 웹사이트를 통하여 접근할 수 있는 하이퍼링크 정보를 자동 추출하는 방법에 있어서,In the method of automatically extracting hyperlink information that can be accessed through a website on the Internet,

(a) 테스트 대상 웹사이트와 테스트 깊이를 입력받는 단계;(a) receiving a test target website and a test depth;

(b) 상기 (a) 단계에서 입력받은 각 테스트 대상 웹사이트에 대하여,(b) for each test target website received in step (a) above,

(b1) 테스트 대상 웹사이트의 하이퍼링크 정보를 소정의 링크 정보 파일에 기록하는 단계; 및(b1) recording hyperlink information of the website under test in a predetermined link information file; And

(b2) 상기 (a) 단계에서 입력받은 테스트 깊이의 범위내에서, 상기 링크 정보 파일에 새롭게 기록된 각 하이퍼링크에 대하여,(b2) for each hyperlink newly recorded in the link information file within the test depth input in step (a),

(b2-1) 각 하이퍼링크에 대응하는 웹사이트에 접속하여 웹문서를 수신하는 단계;(b2-1) accessing a website corresponding to each hyperlink and receiving a web document;

(b2-2) 상기 (b2-1) 단계에서 수신된 웹문서에서 하이퍼링크 정보를 추출하는 단계; 및(b2-2) extracting hyperlink information from the web document received in the step (b2-1); And

(b2-3) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보에서 중복 정보를 제거하고 상기 링크 정보 파일에 기록하는 단계; 및(b2-3) removing duplicate information from the hyperlink information extracted in the step (b2-2) and recording the duplicate information in the link information file; And

(c) 상기 링크 정보 파일에서 중복 정보를 제거하는 단계를 포함함을 특징으로 한다.(c) removing duplicate information from the link information file.

또한, 상기 (a) 단계에서,Further, in the step (a),

상기 테스트 대상 웹사이트는 사용자에 의하여 개별 입력되거나, 복수의 테스트 대상 웹사이트의 목록이 기록된 목록 파일에서 선택 입력될 수 있음이 바람직하다.The test target website may be individually input by a user or may be selectively input from a list file in which a list of a plurality of test target websites is recorded.

또한, 상기 (a) 단계에서,Further, in the step (a),

상기 테스트 대상 웹사이트는 복수일 수 있다.The test target website may be plural.

또한, 상기 (b2-2) 단계는,In addition, the step (b2-2),

상기 (b2-1) 단계에서 수신된 웹문서에서 로그인 정보가 요청될 경우, 상기 테스트 깊이를 고려하여, 선택적으로 해당 웹사이트에 로그인하는 과정을 포함함이 바람직하다.When login information is requested from the web document received in step (b2-1), it is preferable to include a step of selectively logging in to the corresponding web site in consideration of the test depth.

또한, 상기 (b2-3) 단계는,In addition, the step (b2-3),

(b2-3-1) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보중에서 동일 웹문서내의 중복 정보를 제거하는 단계;(b2-3-1) removing duplicate information in the same web document from the hyperlink information extracted in the step (b2-2);

(b2-3-2) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보중에서 해당 테스트 대상 웹사이트로부터 계층적으로 추출되어 상기 링크 정보 파일에 이미 기록되어 있는 하이퍼링크 정보와의 중복 정보를 제거하는 단계; 및(b2-3-2) From the hyperlink information extracted in the step (b2-2), hierarchically extracted from the test target website and removing duplicate information with the hyperlink information already recorded in the link information file Doing; And

(b2-3-3) 중복 정보가 제거된 하이퍼링크 정보를 상기 링크 정보 파일에 기록하는 단계를 포함함이 바람직하다.(b2-3-3) preferably, recording the hyperlink information from which the duplicated information has been removed to the link information file.

상기 또다른 기술적 과제를 해결하기 위하여, 본 발명의 일측면에 의한 컴퓨터로 읽을 수 있는 기록 매체는,In order to solve the another technical problem, a computer-readable recording medium according to an aspect of the present invention,

인터넷상의 웹사이트를 통하여 접근할 수 있는 하이퍼링크 정보를 자동 추출하기 위하여,To automatically extract hyperlink information that can be accessed through websites on the Internet,

(a) 테스트 대상 웹사이트와 테스트 깊이를 입력받는 단계;(a) receiving a test target website and a test depth;

(b) 상기 (a) 단계에서 입력받은 각 테스트 대상 웹사이트에 대하여,(b) for each test target website received in step (a) above,

(b1) 테스트 대상 웹사이트의 하이퍼링크 정보를 소정의 링크 정보 파일에 기록하는 단계; 및(b1) recording hyperlink information of the website under test in a predetermined link information file; And

(b2) 상기 (a) 단계에서 입력받은 테스트 깊이의 범위내에서, 상기 링크 정보 파일에 새롭게 기록된 각 하이퍼링크에 대하여,(b2) for each hyperlink newly recorded in the link information file within the test depth input in step (a),

(b2-1) 각 하이퍼링크에 대응하는 웹사이트에 접속하여 웹문서를 수신하는 단계;(b2-1) accessing a website corresponding to each hyperlink and receiving a web document;

(b2-2) 상기 (b2-1) 단계에서 수신된 웹문서에서 하이퍼링크 정보를 추출하는 단계; 및(b2-2) extracting hyperlink information from the web document received in the step (b2-1); And

(b2-3) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보에서 중복 정보를 제거하고 상기 링크 정보 파일에 기록하는 단계; 및(b2-3) removing duplicate information from the hyperlink information extracted in the step (b2-2) and recording the duplicate information in the link information file; And

(c) 상기 링크 정보 파일에서 중복 정보를 제거하는 단계를 컴퓨터에 의하여 실행시키기 위한 프로그램을 기록함을 특징으로 한다.(c) recording a program for executing by the computer the step of removing duplicate information from the link information file.

상기 또다른 기술적 과제를 해결하기 위하여, 본 발명의 일측면에 의한 하이퍼링크 정보를 이용한 웹사이트 자동 테스트 방법은,In order to solve the another technical problem, the website automatic test method using hyperlink information according to an aspect of the present invention,

브라우저가 탑재된 장치에서 하이퍼링크 정보를 이용하여 인터넷상의 웹사이트들을 자동으로 테스트하는 방법으로,This is a way to automatically test websites on the Internet using hyperlink information on browser-equipped devices.

(a) 상기 브라우저가 탑재된 장치에서 서버로부터 컴퓨터 통신망을 통하여 테스트 대상 하이퍼링크 정보의 목록 파일을 로딩하는 단계;(a) loading a list file of test target hyperlink information from a server through a computer communication network in the browser-equipped device;

(b) 상기 목록 파일내의 하이퍼링크 정보를 브라우저로 전달하여 해당 웹사이트에 접속하는 단계;(b) transferring the hyperlink information in the list file to a browser to access the website;

(c) 상기 (b) 단계에서 접속한 웹사이트에서 전송된 출력 메시지를 상기 브라우저가 탑재된 장치와 전용 케이블로 직접 연결된 테스트용 컴퓨터로 상기 전용 케이블을 통하여 전송하는 단계; 및(c) transmitting the output message transmitted from the website accessed in step (b) to the test computer directly connected to the device equipped with the browser by a dedicated cable through the dedicated cable; And

(d) 상기 목록 파일내의 각 하이퍼링크 정보에 대하여 상기 (b) 단계 및 상기 (c) 단계를 반복하는 단계를 포함하고,(d) repeating steps (b) and (c) for each hyperlink information in the list file;

상기 테스트용 컴퓨터는 상기 (c) 단계에서 전송된 출력 메시지에서 오류 문구를 검출함을 특징으로 한다.The test computer detects an error phrase in the output message transmitted in step (c).

상기 또다른 기술적 과제를 해결하기 위하여, 본 발명의 일측면에 의한 컴퓨터로 읽을 수 있는 기록 매체는,In order to solve the another technical problem, a computer-readable recording medium according to an aspect of the present invention,

브라우저가 탑재된 장치에서 하이퍼링크 정보를 이용하여 인터넷상의 웹사이트들을 자동으로 테스트하기 위하여,To automatically test websites on the Internet using hyperlink information on browser-equipped devices,

(a) 서버로부터 컴퓨터 통신망을 통하여 테스트 대상 하이퍼링크 정보의 목록 파일을 로딩하는 단계;(a) loading a list file of test target hyperlink information from a server through a computer communication network;

(b) 상기 목록 파일내의 하이퍼링크 정보를 이용하여 해당 웹사이트에 접속하는 단계;(b) accessing the website using hyperlink information in the list file;

(c) 상기 브라우저가 탑재된 장치와 전용 케이블로 직접 연결된 테스트용 컴퓨터에서 오류 문구를 검출하도록 하기 위하여, 상기 (b) 단계에서 접속한 웹사이트에서 전송된 출력 메시지를 상기 전용 케이블을 통하여 상기 테스트용 컴퓨터로 전송하는 단계; 및(c) the test message is outputted through the dedicated cable through an output message transmitted from a website accessed in step (b) in order to detect an error phrase on a test computer directly connected to the device equipped with the browser with a dedicated cable. Transmitting to a computer; And

(d) 상기 목록 파일내의 각 하이퍼링크 정보에 대하여 상기 (b) 단계 및 상기 (c) 단계를 반복하는 단계를 컴퓨터에 의하여 실행시키기 위한 프로그램을 기록함을 특징으로 한다.(d) recording a program for executing, by a computer, the steps of repeating steps (b) and (c) for each hyperlink information in the list file.

상기 또다른 기술적 과제를 해결하기 위하여, 본 발명의 일측면에 의한 브라우저가 탑재된 장치는,In order to solve the another technical problem, a device equipped with a browser according to an aspect of the present invention,

서버로부터 컴퓨터 통신망을 통하여 테스트 대상 하이퍼링크 정보의 목록 파일을 로딩하는 수단;Means for loading a list file of the test subject hyperlink information from the server through a computer communication network;

상기 목록 파일내의 하이퍼링크 정보를 이용하여 해당 웹사이트에 접속하는 수단;Means for accessing a website using hyperlink information in the list file;

상기 브라우저가 탑재된 장치와 전용 케이블로 직접 연결된 테스트용 컴퓨터에서 오류 문구를 검출하도록 하기 위하여, 웹사이트에서 전송된 출력 메시지를 상기 전용 케이블을 통하여 상기 테스트용 컴퓨터로 전송하는 수단을 포함하며,Means for transmitting an output message sent from a website to the test computer via the dedicated cable for detecting an error phrase on a test computer directly connected with the browser-equipped device with a dedicated cable;

하이퍼링크 정보를 이용하여 인터넷상의 웹사이트들을 자동으로 테스트하는 기능이 구비된다.Automatic testing of websites on the Internet using hyperlink information is provided.

이하에서 첨부된 도면을 참조하여 본 발명의 구성 및 동작의 바람직한 실시예를 상세히 설명한다. 도 1은 본 발명의 실시예에 따른 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트를 위한 시스템 구성도를 개략적으로 도시한 것이다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the configuration and operation of the present invention. 1 schematically illustrates a system configuration for automatic extraction of hyperlink information and automatic website testing using the information according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명에 따른 시스템 구성도는 테스트용 컴퓨터(100), 상기 테스트용 컴퓨터(100)와 전용 케이블(예를 들어, 직렬 케이블, 병렬 케이블, USB 등)로 연결되며 인터넷 접속 기능을 제공하는 브라우저가 탑재된 장치(110; 예를 들어, 인터넷폰 등), 상기 테스트용 컴퓨터(100) 및 상기 인터넷폰(110)과 컴퓨터 통신망인 인터넷을 통하여 연결되는 지역 서버(local server; 120)를 포함한다. 여기서, 테스트용 컴퓨터(100)와 인터넷폰(110)은 인터넷을 통하여 인터넷상의 다양한 웹서버들(130)에 접속할 수 있다.As shown in Figure 1, the system configuration according to the present invention is connected to the test computer 100, the test computer 100 and a dedicated cable (for example, serial cable, parallel cable, USB, etc.) A device (e.g., an Internet phone, etc.) equipped with a browser providing an Internet access function, a local server connected to the test computer 100 and the Internet phone 110 through the Internet, which is a computer communication network. server; 120). Here, the test computer 100 and the Internet phone 110 may access various web servers 130 on the Internet through the Internet.

도 1의 시스템 구성에서의 본 발명의 동작 방식은 도 2를 참조하여 설명한다. 도 2는 본 발명의 실시예에 따른 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 방법에 대한 흐름도이다. 이는 하이퍼링크 자동 추출 부분(단계 200)과 웹사이트 자동 테스트 부분(단계 220, 단계 240)의 두 부분으로크게 구분된다.The operation method of the present invention in the system configuration of FIG. 1 will be described with reference to FIG. 2 is a flowchart illustrating an automatic extraction of hyperlink information and an automatic website testing method using the information according to an embodiment of the present invention. This is largely divided into two parts, an automatic hyperlink extraction part (step 200) and an automatic website testing part (step 220, step 240).

하이퍼링크 자동 추출 부분(단계 200)은 도 1의 테스트용 컴퓨터(100)에서 수행되는 부분이다. 우선, 테스트 대상 웹사이트와 테스트 깊이(depth)를 입력받아서, 테스트 대상 웹사이트로부터 웹문서를 읽어와서 이를 분석하여(parsing), 하이퍼링크 정보를 추출한다. 추출된 하이퍼링크에 대하여도 상기 과정을 반복함으로써, 테스트 대상 웹사이트로부터 테스트 깊이내에서 컴퓨터 통신망을 통하여 접근할 수 있는 하이퍼링크(hyperlink; 또는 anchor라고 참조되기도 함) 정보를 계층적으로 추출하고, 이를 별도의 파일(이하, 링크 정보 파일이라고 참조함)로 산출한다. 여기서, 중복 정보를 제거하는 필터링 과정이 함께 수행된다.The automatic hyperlink extraction part (step 200) is a part performed in the test computer 100 of FIG. First, the web site to be tested and the depth of test are input, the web document is read from the web site to be tested, parsed, and the hyperlink information is extracted. By repeating the above process for the extracted hyperlinks, hierarchically extracting hyperlink (also referred to as anchor) information that can be accessed through the computer communication network within the test depth from the website under test, This is calculated as a separate file (hereinafter referred to as link information file). Here, a filtering process for removing duplicate information is performed together.

웹사이트 자동 테스트 부분(단계 220, 단계 240)은 도 1에 도시된 브라우저가 탑재된 장치(110)에서 브라우저 테스트를 위하여 수행되는 부분이다. 브라우저가 탑재된 장치(110)는 링크 정보 파일을 로딩한 후, 브라우저를 통하여 링크 정보 파일에 기록된 각 하이퍼링크에 순차적으로 접속하여(웹문서 읽기), 각 웹사이트의 접속 상태(정상 동작, 접속 불가, 각종 오류 발생 등)를 테스트한다.The website automatic test part (step 220, step 240) is a part performed for the browser test in the device 110 equipped with the browser shown in FIG. After the browser-equipped device 110 loads the link information file, the browser 110 sequentially accesses each hyperlink recorded in the link information file through the browser (reading a web document), and connects to each website (normal operation, Test for no connection, various errors, etc.).

실제적인 웹사이트 접속 상태 점검은 테스트용 컴퓨터(100)에서 수행되며, 이를 위하여 각 웹사이트로부터 전송되는 출력 메시지는 전용 케이블을 통하여 테스트용 컴퓨터(100)로 전송된다(단계 220). 테스트용 컴퓨터(100)는 출력 메시지에서 오류 문구를 검출하는 기능을 수행하며, 가상 터미날을 통하여 출력 메시지를 디스플레이하고, 출력 메시지를 파일로 저장할 수 있다.The actual website connection status check is performed in the test computer 100, and for this purpose, an output message transmitted from each website is transmitted to the test computer 100 through a dedicated cable (step 220). The test computer 100 may detect an error phrase in the output message, display the output message through the virtual terminal, and store the output message in a file.

여기서, 단계 220의 결과물인 링크 정보 파일(중복 정보 제거됨)은 지역 서버(120)로 전송/저장함으로써, 브라우저가 탑재된 장치(110)에서 컴퓨터 통신망을 통하여 링크 정보 파일을 로딩하여 참조할 수 있도록 한다.Here, the link information file (duplicate information is removed) that is the result of step 220 is transmitted / stored to the local server 120, so that the link information file can be loaded and referred to through the computer communication network in the device 110 equipped with a browser. do.

그리고, 테스트 깊이가 커짐에 따라 하이퍼링크 정보가 기하급수적으로 증가하는 경향이 있음에 따라, 브라우저가 탑재된 장치(110)의 제한된 자원을 고려하여 링크 정보 파일을 소정의 크기로 분할하여 지역 서버(120)에 저장하고, 브라우저가 탑재된 장치는 분할된 각 링크 정보 파일을 순차적으로 로딩하여 참조하는 것이 바람직하다.In addition, as the test depth increases, the hyperlink information tends to increase exponentially, so that the link information file is divided into a predetermined size in consideration of the limited resources of the device 110 on which the browser is mounted. 120, and the browser-mounted device may load and refer to each of the divided link information files sequentially.

계속해서, 도 3a 및 도 3b를 참조하여, 단계 200에서의 하이퍼링크 자동 추출 부분(단계 200)의 세부 과정을 설명한다. 도 3a 및 도 3b는 본 발명의 실시예에 따른 하이퍼링크 정보의 자동 추출 방법에 대한 상세 흐름도이다.3A and 3B, the detailed process of the hyperlink automatic extraction part (step 200) in step 200 will be described. 3A and 3B are detailed flowcharts of an automatic extraction method of hyperlink information according to an embodiment of the present invention.

우선, 테스트용 컴퓨터(100)에서 링크 추출기(link extracter) 프로그램을 구동한다(단계 300).First, the link extracter program is driven in the test computer 100 (step 300).

다음으로, 테스트 대상 웹사이트가 두가지 방식으로 입력될 수 있다. 하나는 목록 선택 방식이고, 다른 하나는 URL(Universal Resource Locator) 직접 입력 방식이다. 목록 선택 방식의 경우, 각 국가별 또는 카테고리별로 분류한 복수의 테스트 대상 웹사이트 목록이 함께 기록되어 있는 목록 파일(이하, 추출용 목록 파일이라고 참조함)들이 활용된다. 사용자는 추출용 목록 파일들이 위치하는 디렉토리를 열어, 파일을 선택한다(단계 312). 추출용 목록 파일이 선택되면, 해당 목록 파일이 로딩되어 그 파일에 기록된 웹사이트의 목록이 화면상에 표시된다. 사용자는 이중에서 작업을 원하는 웹사이트를 마우스로 선택한다(단계 314). 물론, 복수개의웹사이트를 선택할 수도 있고, 화면상에 표시된 전체 웹사이트를 선택할 수도 있다. URL 직접 입력 방식이란, 테스트 대상 웹사이트의 URL을 개별적으로 사용자가 직접 입력하는 것을 말한다.Next, the website under test can be entered in two ways. One is a list selection method and the other is a URL (Universal Resource Locator) direct input method. In the case of the list selection method, a list file (hereinafter referred to as a list file for extraction) that records a plurality of test website websites classified by each country or category is used. The user opens the directory where the list files for extraction are located and selects the file (step 312). When the list file for extraction is selected, the list file is loaded and a list of websites recorded in the file is displayed on the screen. The user selects a website with a mouse, among which the user wants to work (step 314). Of course, a plurality of websites may be selected, or an entire website displayed on the screen may be selected. The direct URL input method means a user directly inputs a URL of a test target website individually.

다음으로, 테스트 깊이를 지정한다(단계 318). 테스트 깊이는 편의를 위하여 초기 테스트 대상 웹사이트를 "depth 0"으로 정의하고, 초기 테스트 대상 웹사이트에서 추출(연결)되는 하이퍼링크들을 "depth 1"로, 이하 계층적으로 정의된다. 또한, 추출된 하이퍼링크 정보를 기록할 출력 파일명이 지정될 수 있다.Next, a test depth is specified (step 318). The test depth is defined as "depth 0" for the initial test target website for convenience, and hyperlinks extracted (linked) from the initial test target website are defined hierarchically as "depth 1". In addition, an output file name for recording the extracted hyperlink information may be designated.

도 3a에서는 편의를 위하여, 테스트 대상 웹사이트의 입력 및 테스트 깊이의 지정 과정을 순차적으로 도시하고 있으나, 이들의 순서가 변경될 수 있음을 본 발명이 속하는 기술 분야에서 통상의 지식을 가진자는 이해할 수 있을 것이다.In FIG. 3A, for convenience, the input process of the test target website and the designation of the test depth are sequentially shown, but those skilled in the art may understand that their order may be changed. There will be.

테스트 대상 웹사이트와 테스트 깊이가 지정된 후, 실행 명령이 입력되면(단계 330), 각 테스트 대상 웹사이트로부터 지정 테스트 깊이까지 계층적으로 반복하여 하이퍼링크 정보를 추출하게 된다(단계 340).After the test target website and the test depth are specified, when an execution command is input (step 330), the hyperlink information is repeatedly extracted from each test target website hierarchically up to the designated test depth (step 340).

여기서, 추출 작업의 진행 과정은 화면상에 출력되는 바, 웹사이트의 내용은 "헤드"와 "바디"로 구분되어 출력되고, 웹문서에서 추출된 하이퍼링크 정보들도 별도의 출력창에 표시되는 것이 바람직하다. 또한, 추출된 하이퍼링크 정보는 단계 318에서 지정된 출력 파일(또는 디폴드 파일)에 별도로 기록된다. 물론, 웹사이트 접속 불가 등의 오류 사항도 별도의 오류 파일에 기록된다.Here, the extraction process is output on the screen, the content of the website is divided into "head" and "body" is output, and the hyperlink information extracted from the web document is also displayed in a separate output window It is preferable. In addition, the extracted hyperlink information is separately recorded in the output file (or the default file) designated in step 318. Of course, errors such as website inaccessibility are also recorded in a separate error file.

단계 340에서 복수개의 테스트 대상 웹사이트가 목록 선택 방식으로 입력되었다는 가정에서, 하이퍼링크 추출 과정을 도 3b를 참조하여 자세히 설명한다.Assuming that a plurality of test target websites are input in a list selection method in step 340, the hyperlink extraction process will be described in detail with reference to FIG. 3B.

우선, 모든 테스트 대상 웹사이트가 완료되지 않았을 경우, 하나의 테스트 대상 웹사이트를 선택하고(단계 342), 해당 웹사이트의 URL을 출력 파일에 기록한다(단계 344).First, if all the test target websites are not completed, one test target website is selected (step 342), and the URL of the website is recorded in the output file (step 344).

다음으로, 지정 테스트 깊이까지 완료되었는지 판단하여(단계 346), 완료되었을 경우에는 다음 테스트 대상 웹사이트로 진행한다.Next, it is judged whether or not it is completed up to the designated test depth (step 346), and when it is completed, it proceeds to the next test target website.

그렇지 않은 경우에는, 현재의 테스트 깊이에서의 모든 웹사이트가 완료되었는지 판단하여(단계 348), 완료되었을 경우에는 depth를 증가시킨 후(단계 349), 다음 depth로 진행한다. 그렇지 않은 경우에는, 현재 테스트 깊이내에서의 각 웹사이트에 대하여 순차적으로 단계 350 내지 단계 358을 반복한다.If not, it is determined whether all websites at the current test depth have been completed (step 348), if so, the depth is increased (step 349) and then proceeds to the next depth. Otherwise, steps 350 through 358 are repeated sequentially for each website within the current test depth.

우선, 각 웹사이트에 접속한다(단계 350). 즉, HTML(Hyper Text Markup Language) 문서를 읽어 온다. 다음으로, 웹문서에서 하이퍼링크 정보를 추출한다(단계 352). 만약, 해당 웹사이트에서 로그인 정보가 요청될 경우에는, 테스트 깊이를 고려하여 선택적으로 로그인하는 과정을 수행한다. 즉, 해당 웹사이트가 지정 테스트 깊이와 동일할 경우에는 더이상 하부 단계로 진행하지 않기 때문에 별도의 로그인 과정이 필요없을 것이다.First, each website is accessed (step 350). That is, it reads a Hyper Text Markup Language (HTML) document. Next, hyperlink information is extracted from the web document (step 352). If login information is requested from the website, the login process is selectively performed in consideration of the test depth. In other words, if the website is the same as the designated test depth, no further login process will be necessary since it will no longer proceed to the lower level.

다음으로, 하나의 웹문서 내에서 중복 정보를 제거한다(단계 354). 그리고,현재 테스트 대상 웹사이트로부터 계층적으로 추출된, 동일 또는 상위 depth의 추출 정보와의 중복을 확인하여 제거한다(단계 356). 다음으로, 중복 정보가 제거된 하이퍼링크 정보를 출력 파일에 기록한다(단계 358).Next, duplicate information is removed in one web document (step 354). In operation 356, the controller 110 checks and removes duplicates of extracted information of the same or higher depth extracted hierarchically from the current test target website (step 356). Next, the hyperlink information from which duplicate information is removed is recorded in the output file (step 358).

다음으로, 현재 depth에서 모든 웹사이트의 테스트가 완료되지 않았으면, 동일 depth의 다른 웹사이트에 대하여 단계 350 내지 단계 358를 반복한다(단계 348). 그리고, 동일 depth의 모든 웹사이트가 완료되면, depth를 증가시켜(단계 349), 다음 depth를 확인한다. 즉, 지정 depth까지 테스트가 완료되었는지를 확인하여(단계 346), 지정 depth까지 완료되지 않았으면, 새로운 depth에 대하여 단계 348 내지 단계 358을 반복한다. 만약, 지정 depth까지 완료되었으면, 다음 테스트 대상 웹사이트를 확인한다(단계 342). 즉, 모든 테스트 대상 웹사이트가 완료되지 않았으면, 새로운 테스트 대상 웹사이트에 대하여 단계 344 내지 단계 358을 반복한다.Next, if testing of all websites at the current depth has not been completed, repeat steps 350 to 358 for other websites of the same depth (step 348). When all websites of the same depth are complete, increase the depth (step 349) to see the next depth. That is, it is checked whether the test is completed up to the designated depth (step 346), and if it is not completed up to the designated depth, the steps 348 to 358 are repeated for the new depth. If it is done up to the specified depth, then check the next test target website (step 342). In other words, if all the test target websites are not completed, steps 344 to 358 are repeated for the new test target website.

최종적으로 모든 추출 과정이 완료되면, 출력 파일내에서 중복 정보를 제거한다(단계 360). 그리고, 본 발명의 실시예 따른 웹사이트 테스트 부분에서의 활용을 위하여, 테스트 장치(110)에서 컴퓨터 통신망을 통하여 접근 가능한 서버로 출력 파일을 전송/저장한다(단계 370). 출력 파일은 일정 크기로 분할됨이 바람직함은 이미 살펴본 바와 같다.Finally, when all extraction processes are completed, duplicate information is removed from the output file (step 360). Then, for use in the website test part according to the embodiment of the present invention, the test device 110 transmits / stores the output file to the server accessible through the computer communication network (step 370). As described above, the output file is preferably divided into a predetermined size.

계속해서, 도 4를 참조하여, 단계 220에서의 웹사이트 자동 테스트 부분의 세부 과정을 설명한다. 도 4는 본 발명의 실시예에 따른 하이퍼링크 정보를 이용한 웹사이트 자동 테스트 방법(도 2에서의 단계 220)에 대한 상세 흐름도이다.Subsequently, with reference to FIG. 4, the detailed process of the website automatic test part in step 220 is demonstrated. 4 is a detailed flowchart of a method for automatically testing a website (step 220 in FIG. 2) using hyperlink information according to an exemplary embodiment of the present invention.

우선, 브라우저가 탑재된 장치(110)에서 테스트 개시 명령이 예를 들어, 핫키(hot key) 방식으로 입력된다(단계 400).First, in the browser-equipped device 110, a test start command is input, for example, in a hot key manner (step 400).

테스트 개시 명령이 입력되면, 브라우저가 탑재된 장치(110)는 서버로부터 컴퓨터 통신망을 통하여 테스트 대상 하이퍼링크 정보의 목록 파일(이하에서, 테스트용 목록 파일이라고 참조함)을 로딩한다(단계 410). 여기서, 테스트용 목록 파일은 브라우저가 탑재된 장치(110)의 제한된 자원을 고려하여 소정의 크기로 분할되어 있음이 바람직함은 이미 살펴본 바와 같다.When a test start command is input, the browser-equipped device 110 loads a list file (hereinafter referred to as a test list file for testing) of a test target hyperlink information from a server through a computer communication network (step 410). In this case, the test list file is preferably divided into a predetermined size in consideration of the limited resources of the device 110 on which the browser is mounted.

다음으로, 테스트용 목록 파일을 분석하여 각 하이퍼링크 정보를 순차적으로 브라우저에게 전달하면(단계 420), 브라우저가 동작하여 해당 웹사이트에 접속하여 웹문서를 읽어오게 된다(단계 430).Next, when the test list file is analyzed and each hyperlink information is sequentially transmitted to the browser (step 420), the browser is operated to access the website and read the web document (step 430).

그러면, 웹문서의 내용은 브라우저가 탑재된 장치의 화면에 출력됨과 아울러, 테스트용 컴퓨터(100)로 전용 케이블을 통하여 전송하며(단계 440), 테스트용 컴퓨터(100)는 출력 메시지를 분석하여(filtering), 웹사이트 접속 상태를 점검하게 된다(단계 240).Then, the content of the web document is output on the screen of the device equipped with a browser, and transmitted to the test computer 100 through a dedicated cable (step 440), and the test computer 100 analyzes the output message ( filtering), and check the website connection status (step 240).

계속해서, 테스트용 목록 파일내의 모든 하이퍼링크에 대한 테스트가 완료되었는지 확인한다(단계 450). 즉, 목록 파일내의 모든 하이퍼링크 테스트가 완료되지 않았으면, 다음 하이퍼링크에 대하여 단계 420 내지 단계 440을 반복한다.Subsequently, it is checked whether all of the hyperlinks in the test list file have been tested (step 450). That is, if all hyperlink tests in the list file have not been completed, steps 420 through 440 are repeated for the next hyperlink.

테스트용 목록 파일내의 모든 하이퍼링크에 대한 테스트가 완료되면, 서버로부터 추가적인 테스트용 목록 파일이 존재하는지 확인한다(단계 460). 즉, 추가 목록 파일이 존재하면, 다음 테스트용 목록 파일에 대하여 단계 410 내지 단계 450을 반복한다.When testing of all hyperlinks in the test listing file is completed, the server checks whether there is an additional test listing file (step 460). That is, if the additional list file exists, steps 410 to 450 are repeated for the next test list file.

본 발명의 실시예들은 컴퓨터 시스템에서 실행할 수 있는 프로그램으로 작성가능하다. 또한, 이러한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체로부터 해당 프로그램을 읽어들여 범용 디지털 컴퓨터 시스템에서 실행될 수 있다. 이러한 기록 매체에는 마그네틱 저장 매체(예를 들면, 롬, 플로피디스크, 하드디스크 등), 광학적 판독 매체(예를 들면, 씨디롬, 디브이디 등) 및 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)와 같은 매체가 포함된다.Embodiments of the present invention can be written as a program executable in a computer system. In addition, the program can be read from a computer readable recording medium having recorded such a program and executed in a general-purpose digital computer system. Such recording media include magnetic storage media (e.g., ROM, floppy disk, hard disk, etc.), optical reading media (e.g., CD-ROM, DVD, etc.) and carrier waves (e.g., transmission over the Internet). Media is included.

이제까지 본 발명에 대하여 그 바람직한 실시예(들)를 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 본 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far, the present invention has been described with reference to the preferred embodiment (s). Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

본 발명에 의하면, 테스트를 원하는 웹사이트에서 원하는 테스트 깊이까지 하이퍼링크 정보를 자동 추출하고, 추출된 하이퍼링크 정보를 로딩하여 자동으로 브라우저 테스트를 진행함으로써, 브라우저가 탑재된 장치에서 브라우저 테스트를 위하여 수행되는 시간 및 비용을 절감할 수 있으며, S/W 품질의 커버리지를 높여주는 효과가 있다. 또한, 링크 추출기의 결과물은 여러 응용 분야에서 쉽게 활용될 수 있을 것으로 판단된다.According to the present invention, by automatically extracting hyperlink information from a website to be tested to a desired test depth, loading the extracted hyperlink information to automatically perform a browser test, and performing a browser test on a device equipped with a browser. It can save time and cost, and increase the coverage of S / W quality. In addition, the results of the link extractor can be easily utilized in various applications.

Claims (19)

하이퍼링크 정보의 자동 추출 및 추출된 하이퍼링크 정보를 이용하여 브라우저가 탑재된 장치에서 인터넷상의 웹사이트들을 자동으로 테스트하는 방법으로,By automatically extracting hyperlink information and using the extracted hyperlink information to automatically test websites on the Internet on a browser-equipped device, (a) 테스트용 컴퓨터에서 테스트 대상 웹사이트와 테스트 깊이를 입력받아, 상기 테스트 대상 웹사이트로부터 상기 테스트 깊이내에서 컴퓨터 통신망을 통하여 접근할 수 있는 하이퍼링크 정보를 추출하여 링크 정보 파일에 기록하고, 상기 링크 정보 파일에서 중복 정보를 제거하는 단계; 및(a) receiving a test target website and a test depth from a test computer, extracting hyperlink information accessible through a computer communication network within the test depth from the test target website, and recording the result in a link information file; Removing duplicate information from the link information file; And (b) 상기 테스트용 컴퓨터와 전용 케이블로 직접 연결되는 상기 브라우저가 탑재된 장치에서 상기 링크 정보 파일을 참조하여, 상기 링크 정보 파일에 기록된 각 하이퍼링크에 대응하는 웹사이트에 컴퓨터 통신망을 통하여 순차적으로 접속하여, 각 웹사이트의 접속 상태를 테스트하는 단계를 포함함을 특징으로 하는 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 방법.(b) refer to the link information file in the browser-equipped device directly connected to the test computer with a dedicated cable, and sequentially through a computer communication network to a website corresponding to each hyperlink recorded in the link information file. And extracting the hyperlink information, and testing the website using the information. 제1항에 있어서, 상기 (a) 단계는,According to claim 1, wherein the step (a), (a1) 상기 브라우저가 탑재된 장치에서 컴퓨터 통신망을 통하여 접근할 수 있는 서버로 상기 링크 정보 파일을 전송하는 단계를 더 포함하고,(a1) transmitting the link information file from a device equipped with the browser to a server accessible through a computer communication network, 상기 (b) 단계에서, 상기 브라우저가 탑재된 장치는 상기 서버로부터 상기 링크 정보 파일을 컴퓨터 통신망을 통하여 로딩하여 참조함을 특징으로 하는 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 방법.In the step (b), the device equipped with the browser is to load the link information file from the server to the reference through the computer communication network, the automatic extraction of hyperlink information and website automatic test method using the information . 제2항에 있어서, 상기 (a1) 단계에서,The method of claim 2, wherein in step (a1), 상기 링크 정보 파일은 상기 서버에 소정의 크기로 분할되어 저장되고,The link information file is divided into a predetermined size and stored in the server, 상기 (b) 단계에서, 상기 브라우저가 탑재된 장치는 분할된 각 링크 정보 파일을 순차적으로 로딩하여 참조함을 특징으로 하는 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 방법.In the step (b), the browser-equipped device automatically loads and references each of the divided link information files, and the web site automatic test method using the information. 제1항에 있어서, 상기 (b) 단계는,According to claim 1, wherein step (b), (b1) 상기 브라우저가 탑재된 장치에서 각 웹사이트에 접속할 때, 각 웹사이트로부터 전송되는 출력 메시지를 상기 테스트용 컴퓨터로 상기 전용 케이블을 통하여 전송하는 단계; 및(b1) when the browser-equipped device accesses each website, sending an output message transmitted from each website to the test computer through the dedicated cable; And (b2) 상기 테스트용 컴퓨터에서 상기 (b1) 단계에서 전송되는 출력 메시지에서 오류 문구를 검출하는 단계를 포함함을 특징으로 하는 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 방법.(b2) automatically extracting hyperlink information from the output message transmitted in the step (b1) in the test computer, and automatically testing the website using the information. 인터넷 접속 기능을 제공하는 브라우저가 탑재된 장치; 및A device equipped with a browser that provides an Internet access function; And 상기 브라우저가 탑재된 장치와 전용 케이블로 연결되는 테스트용 컴퓨터를 포함하고,A test computer connected to the device equipped with the browser by a dedicated cable, 상기 테스트용 컴퓨터는 테스트 대상 웹사이트와 테스트 깊이를 입력받아, 상기 테스트 대상 웹사이트로부터 상기 테스트 깊이내에서 컴퓨터 통신망을 통하여 접근할 수 있는 하이퍼링크 정보를 추출하여 링크 정보 파일에 기록하고, 상기 링크 정보 파일에서 중복 정보를 제거하며,The test computer receives the test target website and the test depth, extracts the hyperlink information accessible through the computer communication network within the test depth from the test target website, and records the hyperlink information in a link information file. Remove duplicate information from information files, 상기 브라우저가 탑재된 장치는 상기 링크 정보 파일을 참조하여, 상기 링크정보 파일에 기록된 각 하이퍼링크에 대응하는 웹사이트에 컴퓨터 통신망을 통하여 순차적으로 접속하여, 각 웹사이트로부터 전송되는 출력 메시지를 상기 테스트용 컴퓨터로 상기 전용 케이블을 통하여 전송하고,The browser-equipped device refers to the link information file, sequentially accesses a website corresponding to each hyperlink recorded in the link information file through a computer communication network, and outputs an output message transmitted from each website. To the test computer via the dedicated cable, 상기 테스트용 컴퓨터는 상기 출력 메시지에서 오류 문구를 검출함을 특징으로 하는 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 시스템.And the test computer detects an error phrase in the output message, and automatically extracts hyperlink information and a website automatic test system using the information. 제5항에 있어서,The method of claim 5, 상기 테스트용 컴퓨터 및 상기 브라우저가 탑재된 장치와 컴퓨터 통신망을 통하여 연결되는 서버를 더 포함하고,And a server connected with the test computer and the device equipped with the browser through a computer communication network. 상기 테스트용 컴퓨터는 컴퓨터 통신망을 통하여 상기 서버에게 상기 링크 정보 파일을 전송하고,The test computer transmits the link information file to the server through a computer communication network, 상기 브라우저가 탑재된 장치는 상기 서버로부터 상기 링크 정보 파일을 컴퓨터 통신망을 통하여 로딩하여 참조함을 특징으로 하는 하이퍼링크 정보의 자동 추출 및 그 정보를 이용한 웹사이트 자동 테스트 시스템.The browser-equipped device automatically extracts hyperlink information and references the link information file from the server through a computer communication network. 인터넷상의 웹사이트를 통하여 접근할 수 있는 하이퍼링크 정보를 자동 추출하는 방법에 있어서,In the method of automatically extracting hyperlink information that can be accessed through a website on the Internet, (a) 테스트 대상 웹사이트와 테스트 깊이를 입력받는 단계;(a) receiving a test target website and a test depth; (b) 상기 (a) 단계에서 입력받은 각 테스트 대상 웹사이트에 대하여,(b) for each test target website received in step (a) above, (b1) 테스트 대상 웹사이트의 하이퍼링크 정보를 소정의 링크 정보 파일에 기록하는 단계; 및(b1) recording hyperlink information of the website under test in a predetermined link information file; And (b2) 상기 (a) 단계에서 입력받은 테스트 깊이의 범위내에서, 상기 링크 정보 파일에 새롭게 기록된 각 하이퍼링크에 대하여,(b2) for each hyperlink newly recorded in the link information file within the test depth input in step (a), (b2-1) 각 하이퍼링크에 대응하는 웹사이트에 접속하여 웹문서를 수신하는 단계;(b2-1) accessing a website corresponding to each hyperlink and receiving a web document; (b2-2) 상기 (b2-1) 단계에서 수신된 웹문서에서 하이퍼링크 정보를 추출하는 단계; 및(b2-2) extracting hyperlink information from the web document received in the step (b2-1); And (b2-3) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보에서 중복 정보를 제거하고 상기 링크 정보 파일에 기록하는 단계; 및(b2-3) removing duplicate information from the hyperlink information extracted in the step (b2-2) and recording the duplicate information in the link information file; And (c) 상기 링크 정보 파일에서 중복 정보를 제거하는 단계를 포함함을 특징으로 하이퍼링크 정보의 자동 추출 방법.(c) removing duplicate information from the link information file. 제7항에 있어서, 상기 (a) 단계에서,The method of claim 7, wherein in step (a), 상기 테스트 대상 웹사이트는 사용자에 의하여 개별 입력되거나, 복수의 테스트 대상 웹사이트의 목록이 기록된 목록 파일에서 선택 입력될 수 있음을 특징으로 하는 하이퍼링크 정보의 자동 추출 방법.The test target website may be individually input by a user or may be input selectively from a list file in which a list of a plurality of test target websites is recorded. 제7항에 있어서, 상기 (a) 단계에서,The method of claim 7, wherein in step (a), 상기 테스트 대상 웹사이트는 복수임을 특징으로 하는 하이퍼링크 정보의 자동 추출 방법.And a plurality of websites to be tested are extracted of hyperlink information. 제7항에 있어서, 상기 (b2-2) 단계는,The method of claim 7, wherein the step (b2-2), 상기 (b2-1) 단계에서 수신된 웹문서에서 로그인 정보가 요청될 경우, 상기 테스트 깊이를 고려하여, 선택적으로 해당 웹사이트에 로그인하는 과정을 포함함을 특징으로 하는 하이퍼링크 정보의 자동 추출 방법.When the login information is requested from the web document received in the step (b2-1), in consideration of the test depth, the method of automatically extracting hyperlink information comprising the step of selectively logging in to the corresponding website. . 제7항에 있어서, 상기 (b2-3) 단계는,The method of claim 7, wherein the step (b2-3), (b2-3-1) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보중에서 동일 웹문서내의 중복 정보를 제거하는 단계;(b2-3-1) removing duplicate information in the same web document from the hyperlink information extracted in the step (b2-2); (b2-3-2) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보중에서 해당 테스트 대상 웹사이트로부터 계층적으로 추출되어 상기 링크 정보 파일에 이미 기록되어 있는 하이퍼링크 정보와의 중복 정보를 제거하는 단계; 및(b2-3-2) From the hyperlink information extracted in the step (b2-2), hierarchically extracted from the test target website and removing duplicate information with the hyperlink information already recorded in the link information file Doing; And (b2-3-3) 중복 정보가 제거된 하이퍼링크 정보를 상기 링크 정보 파일에 기록하는 단계를 포함함을 특징으로 하는 하이퍼링크 정보의 자동 추출 방법.and (b2-3-3) recording the hyperlink information from which the duplicated information has been removed in the link information file. 인터넷상의 웹사이트를 통하여 접근할 수 있는 하이퍼링크 정보를 자동 추출하기 위하여,To automatically extract hyperlink information that can be accessed through websites on the Internet, (a) 테스트 대상 웹사이트와 테스트 깊이를 입력받는 단계;(a) receiving a test target website and a test depth; (b) 상기 (a) 단계에서 입력받은 각 테스트 대상 웹사이트에 대하여,(b) for each test target website received in step (a) above, (b1) 테스트 대상 웹사이트의 하이퍼링크 정보를 소정의 링크 정보 파일에 기록하는 단계; 및(b1) recording hyperlink information of the website under test in a predetermined link information file; And (b2) 상기 (a) 단계에서 입력받은 테스트 깊이의 범위내에서, 상기 링크 정보 파일에 새롭게 기록된 각 하이퍼링크에 대하여,(b2) for each hyperlink newly recorded in the link information file within the test depth input in step (a), (b2-1) 각 하이퍼링크에 대응하는 웹사이트에 접속하여 웹문서를 수신하는 단계;(b2-1) accessing a website corresponding to each hyperlink and receiving a web document; (b2-2) 상기 (b2-1) 단계에서 수신된 웹문서에서 하이퍼링크 정보를 추출하는 단계; 및(b2-2) extracting hyperlink information from the web document received in the step (b2-1); And (b2-3) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보에서 중복 정보를 제거하고 상기 링크 정보 파일에 기록하는 단계; 및(b2-3) removing duplicate information from the hyperlink information extracted in the step (b2-2) and recording the duplicate information in the link information file; And (c) 상기 링크 정보 파일에서 중복 정보를 제거하는 단계를 컴퓨터에 의하여 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.(c) a computer-readable recording medium having recorded thereon a program for causing a computer to execute the step of removing redundant information from the link information file. 제12항에 있어서, 상기 (b2-2) 단계는,The method of claim 12, wherein (b2-2), 상기 (b2-1) 단계에서 수신된 웹문서에서 로그인 정보가 요청될 경우, 상기 테스트 깊이를 고려하여, 선택적으로 해당 웹사이트에 로그인하는 과정을 포함함을 특징으로 하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.When the login information is requested from the web document received in the step (b2-1), in consideration of the test depth, the step of selectively logging in to the website can be read by a computer having recorded the program. Recording media. 제12항에 있어서, 상기 (b2-3) 단계는,The method of claim 12, wherein (b2-3) is, (b2-3-1) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보중에서 동일 웹문서내의 중복 정보를 제거하는 단계;(b2-3-1) removing duplicate information in the same web document from the hyperlink information extracted in the step (b2-2); (b2-3-2) 상기 (b2-2) 단계에서 추출된 하이퍼링크 정보중에서 해당 테스트 대상 웹사이트로부터 계층적으로 추출되어 상기 링크 정보 파일에 이미 기록되어 있는 하이퍼링크 정보와의 중복 정보를 제거하는 단계; 및(b2-3-2) From the hyperlink information extracted in the step (b2-2), hierarchically extracted from the test target website and removing duplicate information with the hyperlink information already recorded in the link information file Doing; And (b2-3-3) 중복 정보가 제거된 하이퍼링크 정보를 상기 링크 정보 파일에 기록하는 단계를 포함함을 특징으로 하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.(b2-3-3) recording the hyperlink information from which duplicated information is removed to said link information file. 브라우저가 탑재된 장치에서 하이퍼링크 정보를 이용하여 인터넷상의 웹사이트들을 자동으로 테스트하는 방법으로,This is a way to automatically test websites on the Internet using hyperlink information on browser-equipped devices. (a) 상기 브라우저가 탑재된 장치에서 서버로부터 컴퓨터 통신망을 통하여 테스트 대상 하이퍼링크 정보의 목록 파일을 로딩하는 단계;(a) loading a list file of test target hyperlink information from a server through a computer communication network in the browser-equipped device; (b) 상기 목록 파일내의 하이퍼링크 정보를 브라우저로 전달하여 해당 웹사이트에 접속하는 단계;(b) transferring the hyperlink information in the list file to a browser to access the website; (c) 상기 (b) 단계에서 접속한 웹사이트에서 전송된 출력 메시지를 상기 브라우저가 탑재된 장치와 전용 케이블로 직접 연결된 테스트용 컴퓨터로 상기 전용 케이블을 통하여 전송하는 단계; 및(c) transmitting the output message transmitted from the website accessed in step (b) to the test computer directly connected to the device equipped with the browser by a dedicated cable through the dedicated cable; And (d) 상기 목록 파일내의 각 하이퍼링크 정보에 대하여 상기 (b) 단계 및 상기 (c) 단계를 반복하는 단계를 포함하고,(d) repeating steps (b) and (c) for each hyperlink information in the list file; 상기 테스트용 컴퓨터는 상기 (c) 단계에서 전송된 출력 메시지에서 오류 문구를 검출함을 특징으로 하는 하이퍼링크 정보를 이용한 웹사이트 자동 테스트 방법.And the test computer detects an error phrase in the output message transmitted in step (c). 제15항에 있어서,The method of claim 15, 상기 목록 파일은 소정의 크기로 분할되어 있으며,The list file is divided into predetermined sizes, 분할된 각 목록 파일에 대하여, 상기 (a) 단계 내지 상기 (d) 단계가 반복됨을 특징으로 하는 하이퍼링크 정보를 이용한 웹사이트 자동 테스트 방법.The method for automatically testing a website using hyperlink information, wherein the steps (a) to (d) are repeated for each divided list file. 브라우저가 탑재된 장치에서 하이퍼링크 정보를 이용하여 인터넷상의 웹사이트들을 자동으로 테스트하기 위하여,To automatically test websites on the Internet using hyperlink information on browser-equipped devices, (a) 서버로부터 컴퓨터 통신망을 통하여 테스트 대상 하이퍼링크 정보의 목록 파일을 로딩하는 단계;(a) loading a list file of test target hyperlink information from a server through a computer communication network; (b) 상기 목록 파일내의 하이퍼링크 정보를 이용하여 해당 웹사이트에 접속하는 단계;(b) accessing the website using hyperlink information in the list file; (c) 상기 브라우저가 탑재된 장치와 전용 케이블로 직접 연결된 테스트용 컴퓨터에서 오류 문구를 검출하도록 하기 위하여, 상기 (b) 단계에서 접속한 웹사이트에서 전송된 출력 메시지를 상기 전용 케이블을 통하여 상기 테스트용 컴퓨터로 전송하는 단계; 및(c) the test message is outputted through the dedicated cable through an output message transmitted from a website accessed in step (b) in order to detect an error phrase on a test computer directly connected to the device equipped with the browser with a dedicated cable. Transmitting to a computer; And (d) 상기 목록 파일내의 각 하이퍼링크 정보에 대하여 상기 (b) 단계 및 상기 (c) 단계를 반복하는 단계를 컴퓨터에 의하여 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.(d) a computer-readable recording medium having recorded thereon a program for causing the computer to repeat the steps (b) and (c) for each hyperlink information in the list file. 제17항에 있어서,The method of claim 17, 상기 목록 파일이 소정의 크기로 분할되어 있을 경우, 분할된 각 목록 파일에 대하여, 상기 (a) 단계 내지 상기 (d) 단계가 반복됨을 특징으로 하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.And (a) to (d) are repeated for each of the divided list files when the list file is divided into a predetermined size. 서버로부터 컴퓨터 통신망을 통하여 테스트 대상 하이퍼링크 정보의 목록 파일을 로딩하는 수단;Means for loading a list file of the test subject hyperlink information from the server through a computer communication network; 상기 목록 파일내의 하이퍼링크 정보를 이용하여 해당 웹사이트에 접속하는 수단;Means for accessing a website using hyperlink information in the list file; 상기 브라우저가 탑재된 장치와 전용 케이블로 직접 연결된 테스트용 컴퓨터에서 오류 문구를 검출하도록 하기 위하여, 웹사이트에서 전송된 출력 메시지를 상기 전용 케이블을 통하여 상기 테스트용 컴퓨터로 전송하는 수단을 포함하며,Means for transmitting an output message sent from a website to the test computer via the dedicated cable for detecting an error phrase on a test computer directly connected with the browser-equipped device with a dedicated cable; 하이퍼링크 정보를 이용하여 인터넷상의 웹사이트들을 자동으로 테스트하는 기능이 구비된 브라우저가 탑재된 장치.A device with a browser equipped to automatically test websites on the Internet using hyperlink information.
KR10-2001-0011981A 2001-03-08 2001-03-08 Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information KR100503788B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0011981A KR100503788B1 (en) 2001-03-08 2001-03-08 Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0011981A KR100503788B1 (en) 2001-03-08 2001-03-08 Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information

Publications (2)

Publication Number Publication Date
KR20020072028A true KR20020072028A (en) 2002-09-14
KR100503788B1 KR100503788B1 (en) 2005-07-26

Family

ID=27696784

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0011981A KR100503788B1 (en) 2001-03-08 2001-03-08 Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information

Country Status (1)

Country Link
KR (1) KR100503788B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010011792A3 (en) * 2008-07-22 2010-04-29 Widemile Inc. Method and system for web-site testing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010011792A3 (en) * 2008-07-22 2010-04-29 Widemile Inc. Method and system for web-site testing
US8627288B2 (en) 2008-07-22 2014-01-07 Webtrends Inc. Method and system for web-site testing

Also Published As

Publication number Publication date
KR100503788B1 (en) 2005-07-26

Similar Documents

Publication Publication Date Title
US6832220B1 (en) Method and apparatus for file searching, accessing file identifiers from reference page
US7849447B1 (en) Application testing and evaluation
JP4396242B2 (en) Document link structure information creation apparatus and method
CN102272757B (en) Method for server-side logging of client browser state through markup language
JP4625246B2 (en) Automatic detection of cross-site scripting vulnerabilities
JP4940791B2 (en) Test support program, test support apparatus, and test support method
JP4215786B2 (en) Web content transfer method, computer and program
US20100058118A1 (en) Storage medium recording information reacquisition procedure generation program and information reacquisition procedure generation apparatus
US20040162874A1 (en) Browser testing system and method thereof
WO2005116865A2 (en) Language identification equipment, translation equipment, translation server, language identification method, and translation processing method
JP4023803B2 (en) Web application development support apparatus, data processing method, and program
CN107846407A (en) A kind of method and system of batch detection SSRF leaks
JP5463717B2 (en) Application test generation program, application test generation method, and application test apparatus
CN110928767A (en) Webpage analysis method, device, equipment and storage medium
CN106776318A (en) A kind of test script method for recording and system
CN103810086A (en) Method, device and system for processing website causing browser breakdown
JP2002207612A (en) Log analyzing method and its execution device, and recording medium with recorded processing program thereof
WO2021061185A1 (en) Test automation of application
KR100503788B1 (en) Apparatus and method for automatically extracting hyperlink information and automatically testing web sites using the automatically extracted hyperlink information
CN107797917B (en) Performance test script generation method and device
CN110232019A (en) Page test method and Related product
CN111258904A (en) Webpage element testing method and related device
JP2007079988A (en) Www browser, html page sharing system and html page sharing method
CN113031995B (en) Rule updating method and device, storage medium and electronic equipment
CN115514677A (en) Server dial testing method and system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
J201 Request for trial against refusal decision
B601 Maintenance of original decision after re-examination before a trial
J301 Trial decision

Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20031229

Effective date: 20050531

S901 Examination by remand of revocation
GRNO Decision to grant (after opposition)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080708

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee