Difference between revisions of "KO/VCLTesttool"

From Apache OpenOffice Wiki
< KO
Jump to: navigation, search
Line 1: Line 1:
'''번역 중인 문서입니다.'''
 
 
[[en:VCLTesttool]]
 
[[en:VCLTesttool]]
  
 
== VCLTesttool 소개 ==
 
== VCLTesttool 소개 ==
  
VCLTesttool은 오픈오피스의 테스트를 위한 자동화된 프로그램입니다. VCLTesttool은 오픈오피스의 TCP/IP 인터페이스를 이용해 개인 컴퓨터나 LAN 환경에 있는 컴퓨터에 오픈오피스를 설치하는 과정을 테스트할 수 있습니다. 현재 VCLTesttool은 오픈오피스 1.1베타 이상의 버전에서 사용할 수 있습니다. 하지만 만약 호환성에 문제가 있다면, VCLTesttool의 상위 버전을 사용하십시오. VCLTesttool의 최신 버전은 [http://qa.openoffice.org/ooQAReloaded/AutomationTeamsite/ooQA-TeamAutomationBin.html 이 곳에서 내려받을 수 있습니다.]
+
VCLTesttool은 오픈오피스의 테스트를 위한 자동화된 프로그램입니다.  
 +
 
 +
VCLTesttool은 오픈오피스의 TCP/IP 인터페이스를 이용해 개인 컴퓨터나 LAN  
 +
 
 +
환경에 있는 컴퓨터에 오픈오피스를 설치하는 과정을 테스트할 수 있습니다.  
 +
 
 +
현재 VCLTesttool은 오픈오피스 1.1베타 이상의 버전에서 사용할 수 있습니다
 +
 
 +
. 하지만 만약 호환성에 문제가 있다면, VCLTesttool의 상위 버전을 사용하십
 +
 
 +
시오. VCLTesttool의 최신 버전은  
 +
 
 +
[http://qa.openoffice.org/ooQAReloaded/AutomationTeamsite/ooQA-
 +
 
 +
TeamAutomationBin.html 이 곳에서 내려받을 수 있습니다.]
  
 
== 빠른 시작 ==
 
== 빠른 시작 ==
  
이 안내서를 통해 자동화된 테스트를 즉시 시작할 수 있습니다. 이 안내서에서는 오픈오피스 3.x 를 위한 테스트에 대한 안내를 단계별로 제공하고 있습니다. 하지만 기초적인 지식과 테스트 경험이 필요한 부분도 있습니다.
+
이 안내서를 통해 자동화된 테스트를 즉시 시작할 수 있습니다. 이 안내서에
 +
 
 +
서는 오픈오피스 3.x 를 위한 테스트에 대한 안내를 단계별로 제공하고 있습
 +
 
 +
니다. 하지만 기초적인 지식과 테스트 경험이 필요한 부분도 있습니다.
  
 
==== 필요 조건 ====
 
==== 필요 조건 ====
Line 14: Line 31:
  
 
===== CVS/SVN =====
 
===== CVS/SVN =====
CVS 나 SVN 을 사용할 수 있어야 합니다. DEV300_m32 부터 소스를 SVN으로 이전하고 있습니다.
+
CVS 나 SVN 을 사용할 수 있어야 합니다. DEV300_m32 부터 소스를 SVN으로
  
오픈오피스에 사용되는 클라이언트 설치는 [http://qa.openoffice.org/servlets/ProjectSource CVS 클라이언트 설치]이나 [[OOo_and_Subversion | SVN 클라이언트 설치(영문)]] 페이지를 참조하십시오.
+
전하고 있습니다.
  
그 외에 testautomation 압축 파일을 다운로드 받아 사용할 수도 있습니다. 이에 대한 자세한 내용은 [[http://wiki.services.openoffice.org/wiki/VCLTesttool#VCLTesttool_framework_.28testautomation.29]] 을 참조하십시오.
+
오픈오피스에 사용되는 클라이언트 설치는
 +
 
 +
[http://qa.openoffice.org/servlets/ProjectSource CVS 클라이언트 설치]이
 +
 
 +
나 [[OOo_and_Subversion | SVN 클라이언트 설치(영문)]] 페이지를 참조하십
 +
 
 +
시오.
 +
 
 +
그 외에 testautomation 압축 파일을 다운로드 받아 사용할 수도 있습니다.  
 +
 
 +
이에 대한 자세한 내용은  
 +
 
 +
[[http://wiki.services.openoffice.org/wiki/VCLTesttool#VCLTesttool_frame
 +
 
 +
work_.28testautomation.29]] 을 참조하십시오.
  
 
===== 오픈오피스 =====
 
===== 오픈오피스 =====
You must have an installed OpenOffice.org on the system, and it is important to know what version is to be tested.
+
컴퓨터에 오픈오피스가 설치되어 있어야 합니다. 그리고 테스트할 버전을 정
  
If you are not sure what version is installed on your system you can check
+
확하게 알아야 합니다.
  
* .versionrc (UNIX-Systems) or
+
설치된 오픈오피스의 버전에 대한 정보는 설치 디렉토리에서
* version.ini (Windows-Systems)
+
  
in installation directory<br>
+
(<INSTALLDIR>/OpenOffice.org 3/program)
(look in <INSTALLDIR>/OpenOffice.org 3/program)  
+
  
Open file and see area [Version]:
+
* .versionrc (UNIX-Systems) 이나
 +
* version.ini (Windows-Systems)
  
Example:
+
파일을 연 다음, [Version] 부분을 통해 확인할 수 있습니다.
 +
:
  
 
ProductMajor=300
 
ProductMajor=300
Line 41: Line 72:
 
ProductSource=DEV300
 
ProductSource=DEV300
  
===== VCLTesttool framework (testautomation) =====
+
===== VCLTesttool 프레임워크 (testautomation) =====
The VCLTesttool framework holds all scripts provided to test a milestone based on current branch and is found to be in CVS/SVN as module '''testautomation'''. You can find all those files in OpenOffice.org CVS/SVN and can easily download them to your local file system via cvs/svn checkout. Let's say you're about to test a version based on branch 'DEV300' with milestone 'm29'.
+
VCLTesttool 프레임워크에는 현재 브랜치에 기반한 마일스톤을 테스트할 수
  
'''Remember all DEV300 milestones prior to m32 are found in CVS and all milestones from m32 on are located in SVN.'''
+
있는 스크립트들이 들어 있으며, CVS/SVN 의 '''testautomation''' 모듈에서
  
Use the following cvs command to get the sources:
+
찾을 수 있습니다. 예를 들어 'DEV300' 브랜치의 'm29' 마일스톤에 기반한 버
 +
 
 +
전을 테스트할 수 있습니다. 테스트에 필요한 모든 파일은 OpenOffice.org
 +
 
 +
CVS/SVN 에서 cvs/svn checkout 을 통해 다운로드 받을 수 있습니다.
 +
 
 +
'''DEV300 의 m32 마일스톤 이전의 버전들은 CVS 에 있고, m32 마일스톤부터
 +
 
 +
는 SVN 에 있습니다.'''
 +
 
 +
cvs 에서 소스를 다운로드 받으려면 다음 명령을 사용합니다.
  
 
''cvs checkout -r DEV300_m29 -d testautomation_m29 testautomation''
 
''cvs checkout -r DEV300_m29 -d testautomation_m29 testautomation''
  
(optional parameter -d is used to checkout into a specific directory to be able to hold more versions in parallel.)
+
(-d 는 특정 디렉토리에 대해 여러 버전을 다운받을 때 사용하는 매개변수 입
  
Checkout via SubVersion:
+
니다.)
  
''svn checkout svn://svn.services.openoffice.org/ooo/tags/DEV300_m32/testautomation testautomation_m32''
+
서브버전에서 Checkout 하려면 다음 명령을 사용합니다.
  
If you don't want to use CVS or SVN you can download archives with testautomation checkouts created by [http://accc.riken.jp/maho/ Nakata Maho] on Good Day server. Simply download and extract the archive matching your OpenOffice.org-Version to be tested under the following location: http://ooopackages.good-day.net/pub/OpenOffice.org/qa/testautomation/
+
''svn checkout
 +
 
 +
svn://svn.services.openoffice.org/ooo/tags/DEV300_m32/testautomation
 +
 
 +
testautomation_m32''
 +
 
 +
만약 CVS SVN 을 사용하지 않을 경우 Good day 서버
 +
 
 +
([http://accc.riken.jp/maho/ Nakata Maho])에서 압축 파일을 다운로드 받을
 +
 
 +
수 있습니다. 파일을 다운로드 받은 다음 테스트할 오픈오피스 버전의 폴더에
 +
 
 +
압축을 풉니다. 파일 다운로드 : http://ooopackages.good-
 +
 
 +
day.net/pub/OpenOffice.org/qa/testautomation/
  
 
===== VCLTestTool =====
 
===== VCLTestTool =====
To be able to start automated testing of OpenOffice.org you must have a local copy of VCLTesttool on your system too.
+
오픈오피스의 자동화된 테스트를 하려면 VCLTestTool 의 로컬 복사본이 컴퓨
  
[http://qa.openoffice.org/ooQAReloaded/AutomationTeamsite/ooQA-TeamAutomationBin.html Download current VCLTesttool] matching your OS to a location of your choice on your local machine and extract the archive to your local system. After all files are extracted please start testtool.bin (testtool.exe on windows) the first time. Once VCLTesttool is started go to Tools->Options.
+
터에 있어야 합니다.
  
'''(all entries on screenshots are examples only and need to be adapted to your needs)'''
+
자신의 운영체제에 해당하는
  
 +
[http://qa.openoffice.org/ooQAReloaded/AutomationTeamsite/ooQA-
  
 +
TeamAutomationBin.html VCLTesttool 최신 버전] 을 다운로드 받아 압축을 풉
  
* Tabpage 'Profile'
+
니다. 모든 파일의 압축을 푼 뒤에 testtool.bin(MS 윈도우즈에서는
 +
 
 +
testtools.exe)를 실행합니다. VCLTestTool 가 실행되면 Tools -> Options 메
 +
 
 +
뉴를 선택합니다.
 +
 
 +
'''아래의 모든 스크린샷은 단지 예제일 뿐입니다. 자신의 환경에 맞게 설정
 +
 
 +
하십시오.'''
 +
 
 +
 
 +
* 탭 페이지 '프로필(Profile)'
  
 
[[Image: Testtool-option-profile.jpg]]
 
[[Image: Testtool-option-profile.jpg]]
  
Create a profile for current testautomation module to be used. Therefor enter
+
사용할 현재 testautomation 모듈을 위한 프로필을 생성합니다. 다음 사항을
  
1. Profile: DEV300m29
+
입력합니다.
  
2. Log base directory: (All resultsfiles created during a testrun are written here.)
+
1. 프로필(Profile): DEV300m29
  
3. Base directory: The base directory of checked-out testautomation-scripts.
+
2. 로그 기본 디렉토리(Log base directory): (테스트 도중에 작성되는 모든
  
4. Default HID directory is set automatically and must not be adapted in most cases.
+
결과 파일이 이곳에 저장됩니다.)
  
 +
3. 기본 디렉토리(Base directory): 다운로드된 testautomation-scripts 기본
  
 +
디렉토리
  
* Tabpage 'Crashreport'
+
4. 기본 HID 디렉토리(Default HID directory)는 자동으로 설정되며 대부분의
 +
 
 +
경우에 사용되지 않습니다.
 +
 
 +
 
 +
 
 +
* 탭 페이지 '충돌보고(Crashreport)'
  
 
[[Image: Testtool-option-crashreport.jpg]]
 
[[Image: Testtool-option-crashreport.jpg]]
  
Check 'Allow contact' checkbox and enter your valid OpenOffice.org-mail-address in 'EMail' field. This mail address will be used when VCLTesttool sends a crashreport. Later on when you are familiar with automated testing you can add your results to [[QUASTe]] (Quality Assurance Statuspage) Therefor a valid mail-address is important.
+
'연락 허용(Allow contact)' 확인 상자를 선택하고 '이메일(EMail)' 란에 정
  
 +
확한 오픈오피스 이메일 주소를 입력합니다. 이 메일 주소는 VCLTestTool 이
  
 +
충돌보고서를 보낼 때 사용될 것입니다. 그리고 차후에 자동화된 테스트에 익
  
* Tabpage 'Misc'
+
숙해지면 테스트 결과를 [[QUASTe]] (Quality Assurance Statuspage)에 추가
 +
 
 +
할 수도 있습니다. 이때에 이 메일 주소가 사용됩니다.
 +
 
 +
 
 +
* 탭 페이지 'Misc'
  
 
[[Image: Testtool-option-misc.jpg]]
 
[[Image: Testtool-option-misc.jpg]]
  
On this tabpage you can set the options to be used by VCLTesttool to communicate with OpenOffice.org. In most cases this values can stay default. If VCLTesttool is unable to start your OpenOffice.org installation 'Testtool Port' or 'Remote UNO Port' may be blocked or reserved by your system.
+
이 탭 페이지에서는 VCLTesttool 이 오픈오피스와 통신하는 방법에 대한 설정
'OOo Program Dir' can be set to the program dir of your OpenOffice.org-Installation to be tested with VCLTestTool. In most cases this field can be left empty as VCLTesttool should be able to find your OpenOffice.org Installation. If not you can try adding the path to your installation here. For example: <INSTALLDIR>/OpenOffice.org 3/program
+
 
 +
을 할 수 있습니다. 대부분의 경우 이 값은 기본값으로 두는 것이 좋습니다.  
 +
 
 +
VCLTesttool 이 오픈오피스 설치 과정을 시작하지 못한다면 'Testtool Port'  
 +
 
 +
'Remote UNO Port' 가 막혀 있거나 시스템에서 점유하고 있는 경우입니다.
 +
 
 +
'OOo Program Dir' 은 VCLTesttool 로 테스트할 오픈오피스가 설치될 경로입
 +
 
 +
니다. 대부분의 경우 이 란을 비워두면 VCLTesttool 에서 적절한 경로를 찾습
 +
 
 +
니다. 다음과 같이 직접 경로를 설정해 줄 수 있습니다. :  
 +
 
 +
<INSTALLDIR>/OpenOffice.org 3/program
 +
 
 +
VCLTesttool-옵션 에서 변경한 사항은 모두 다음 파일에 저장됩니다.
 +
 
 +
** ${HOME}/.testtoolrc (UNIX 시스템) 이나
 +
** %APPDATA%\testtool.ini (MS 윈도우즈 시스템)
 +
 
 +
옵션의 'OK' 버튼을 누르면 변경된 사항들이 저장하고 VCLTesttool 을 종료합
 +
 
 +
니다.
  
All your changes to VCLTestTool-options are saved in
+
이제 모든 준비가 끝났습니다!
  
** ${HOME}/.testtoolrc (UNIX-Systems) or
 
** %APPDATA%\testtool.ini (Windows-Systems).
 
  
Click on 'OK' button in Options to save your changes and exit VCLTestTool for this time.
+
== 단일 자동 테스트 실행 ==
  
 +
'빠른 시작' 에서 설명한 모든 필요 설정을 갖춘 상태라면, 단일 자동 테스트
  
Now all prerequisites are done!
+
는 간단하게 진행할 수 있습니다. 자동 테스트를 진행하기 위한 내용에 대해
  
== Run a single autotest ==
+
더 자세히 알고 싶으면
  
Running a single autotest is quite easy once you managed to download the scripts to your machine's space and made all necessary settings described in 'Quick start' section. If you want more information on how to know what autotests should be finished please visit [http://wiki.services.openoffice.org/wiki/QUASTe#Category_model this page].
+
[http://wiki.services.openoffice.org/wiki/QUASTe#Category_model 이 페이
  
* Start VCLTesttool and choose File->Open
+
지]를 참조하십시오.
* change file type to *.bas
+
* choose directory holding the testscripts
+
* choose *.bas-file to be run next
+
* Select 'OK' in file dialog
+
* Press 'F5' or select 'Program->start' to run the autotest
+
  
Now you only have to wait until test has finished and analyzed the test results written to *.res-file.
+
* VCLTesttool 을 시작하고 File->Open 선택
 +
* 파일 형식을 *.bas 로 변경
 +
* 테스트 스크립트를 저장할 디렉토리 선택
 +
* 모든 *.bas-파일 선택
 +
* 파일 대화상자의 'OK' 선택
 +
* 'F5' 를 누르거나 'Program->start' 을 선택하면 자동 테스트 시작
  
 +
이제 테스트가 완료되어 테스트 결과가 *.res-파일로 저장될 때까지 기다립니다.
  
  
 
[[Category:Quality_Assurance]]
 
[[Category:Quality_Assurance]]
 
[[Category:Ko.openoffice.org]]
 
[[Category:Ko.openoffice.org]]

Revision as of 21:36, 18 December 2008


VCLTesttool 소개

VCLTesttool은 오픈오피스의 테스트를 위한 자동화된 프로그램입니다.

VCLTesttool은 오픈오피스의 TCP/IP 인터페이스를 이용해 개인 컴퓨터나 LAN

환경에 있는 컴퓨터에 오픈오피스를 설치하는 과정을 테스트할 수 있습니다.

현재 VCLTesttool은 오픈오피스 1.1베타 이상의 버전에서 사용할 수 있습니다

. 하지만 만약 호환성에 문제가 있다면, VCLTesttool의 상위 버전을 사용하십

시오. VCLTesttool의 최신 버전은

[http://qa.openoffice.org/ooQAReloaded/AutomationTeamsite/ooQA-

TeamAutomationBin.html 이 곳에서 내려받을 수 있습니다.]

빠른 시작

이 안내서를 통해 자동화된 테스트를 즉시 시작할 수 있습니다. 이 안내서에

서는 오픈오피스 3.x 를 위한 테스트에 대한 안내를 단계별로 제공하고 있습

니다. 하지만 기초적인 지식과 테스트 경험이 필요한 부분도 있습니다.

필요 조건

다음 조건들을 충족해야 자동화된 테스트를 시작할 수 있습니다.

CVS/SVN

CVS 나 SVN 을 사용할 수 있어야 합니다. DEV300_m32 부터 소스를 SVN으로 이

전하고 있습니다.

오픈오피스에 사용되는 클라이언트 설치는

CVS 클라이언트 설치

SVN 클라이언트 설치(영문) 페이지를 참조하십

시오.

그 외에 testautomation 압축 파일을 다운로드 받아 사용할 수도 있습니다.

이에 대한 자세한 내용은

[[http://wiki.services.openoffice.org/wiki/VCLTesttool#VCLTesttool_frame

work_.28testautomation.29]] 을 참조하십시오.

오픈오피스

컴퓨터에 오픈오피스가 설치되어 있어야 합니다. 그리고 테스트할 버전을 정

확하게 알아야 합니다.

설치된 오픈오피스의 버전에 대한 정보는 설치 디렉토리에서

(<INSTALLDIR>/OpenOffice.org 3/program)

  • .versionrc (UNIX-Systems) 이나
  • version.ini (Windows-Systems)

파일을 연 다음, [Version] 부분을 통해 확인할 수 있습니다. 예:

ProductMajor=300

ProductMinor=29

ProductSource=DEV300

VCLTesttool 프레임워크 (testautomation)

VCLTesttool 프레임워크에는 현재 브랜치에 기반한 마일스톤을 테스트할 수

있는 스크립트들이 들어 있으며, CVS/SVN 의 testautomation 모듈에서

찾을 수 있습니다. 예를 들어 'DEV300' 브랜치의 'm29' 마일스톤에 기반한 버

전을 테스트할 수 있습니다. 테스트에 필요한 모든 파일은 OpenOffice.org

CVS/SVN 에서 cvs/svn checkout 을 통해 다운로드 받을 수 있습니다.

DEV300 의 m32 마일스톤 이전의 버전들은 CVS 에 있고, m32 마일스톤부터

는 SVN 에 있습니다.

cvs 에서 소스를 다운로드 받으려면 다음 명령을 사용합니다.

cvs checkout -r DEV300_m29 -d testautomation_m29 testautomation

(-d 는 특정 디렉토리에 대해 여러 버전을 다운받을 때 사용하는 매개변수 입

니다.)

서브버전에서 Checkout 하려면 다음 명령을 사용합니다.

svn checkout

svn://svn.services.openoffice.org/ooo/tags/DEV300_m32/testautomation

testautomation_m32

만약 CVS 나 SVN 을 사용하지 않을 경우 Good day 서버

(Nakata Maho)에서 압축 파일을 다운로드 받을

수 있습니다. 파일을 다운로드 받은 다음 테스트할 오픈오피스 버전의 폴더에

압축을 풉니다. 파일 다운로드 : http://ooopackages.good-

day.net/pub/OpenOffice.org/qa/testautomation/

VCLTestTool

오픈오피스의 자동화된 테스트를 하려면 VCLTestTool 의 로컬 복사본이 컴퓨

터에 있어야 합니다.

자신의 운영체제에 해당하는

[http://qa.openoffice.org/ooQAReloaded/AutomationTeamsite/ooQA-

TeamAutomationBin.html VCLTesttool 최신 버전] 을 다운로드 받아 압축을 풉

니다. 모든 파일의 압축을 푼 뒤에 testtool.bin(MS 윈도우즈에서는

testtools.exe)를 실행합니다. VCLTestTool 가 실행되면 Tools -> Options 메

뉴를 선택합니다.

아래의 모든 스크린샷은 단지 예제일 뿐입니다. 자신의 환경에 맞게 설정

하십시오.


  • 탭 페이지 '프로필(Profile)'

Testtool-option-profile.jpg

사용할 현재 testautomation 모듈을 위한 프로필을 생성합니다. 다음 사항을

입력합니다.

1. 프로필(Profile): DEV300m29

2. 로그 기본 디렉토리(Log base directory): (테스트 도중에 작성되는 모든

결과 파일이 이곳에 저장됩니다.)

3. 기본 디렉토리(Base directory): 다운로드된 testautomation-scripts 기본

디렉토리

4. 기본 HID 디렉토리(Default HID directory)는 자동으로 설정되며 대부분의

경우에 사용되지 않습니다.


  • 탭 페이지 '충돌보고(Crashreport)'

Testtool-option-crashreport.jpg

'연락 허용(Allow contact)' 확인 상자를 선택하고 '이메일(EMail)' 란에 정

확한 오픈오피스 이메일 주소를 입력합니다. 이 메일 주소는 VCLTestTool 이

충돌보고서를 보낼 때 사용될 것입니다. 그리고 차후에 자동화된 테스트에 익

숙해지면 테스트 결과를 QUASTe (Quality Assurance Statuspage)에 추가

할 수도 있습니다. 이때에 이 메일 주소가 사용됩니다.


  • 탭 페이지 'Misc'

Testtool-option-misc.jpg

이 탭 페이지에서는 VCLTesttool 이 오픈오피스와 통신하는 방법에 대한 설정

을 할 수 있습니다. 대부분의 경우 이 값은 기본값으로 두는 것이 좋습니다.

VCLTesttool 이 오픈오피스 설치 과정을 시작하지 못한다면 'Testtool Port'

나 'Remote UNO Port' 가 막혀 있거나 시스템에서 점유하고 있는 경우입니다.

'OOo Program Dir' 은 VCLTesttool 로 테스트할 오픈오피스가 설치될 경로입

니다. 대부분의 경우 이 란을 비워두면 VCLTesttool 에서 적절한 경로를 찾습

니다. 다음과 같이 직접 경로를 설정해 줄 수 있습니다. 예:

<INSTALLDIR>/OpenOffice.org 3/program

VCLTesttool-옵션 에서 변경한 사항은 모두 다음 파일에 저장됩니다.

    • ${HOME}/.testtoolrc (UNIX 시스템) 이나
    •  %APPDATA%\testtool.ini (MS 윈도우즈 시스템)

옵션의 'OK' 버튼을 누르면 변경된 사항들이 저장하고 VCLTesttool 을 종료합

니다.

이제 모든 준비가 끝났습니다!


단일 자동 테스트 실행

'빠른 시작' 에서 설명한 모든 필요 설정을 갖춘 상태라면, 단일 자동 테스트

는 간단하게 진행할 수 있습니다. 자동 테스트를 진행하기 위한 내용에 대해

더 자세히 알고 싶으면

[http://wiki.services.openoffice.org/wiki/QUASTe#Category_model 이 페이

지]를 참조하십시오.

  • VCLTesttool 을 시작하고 File->Open 선택
  • 파일 형식을 *.bas 로 변경
  • 테스트 스크립트를 저장할 디렉토리 선택
  • 모든 *.bas-파일 선택
  • 파일 대화상자의 'OK' 선택
  • 'F5' 를 누르거나 'Program->start' 을 선택하면 자동 테스트 시작

이제 테스트가 완료되어 테스트 결과가 *.res-파일로 저장될 때까지 기다립니다.

Personal tools
In other languages