Difference between revisions of "Qa/Testtool WinXP"

From Apache OpenOffice Wiki
< Qa
Jump to: navigation, search
(Work in progress - a bit more wikified)
(Work in progress - wikified)
Line 72: Line 72:
 
* via Windows update, updated to up to date Windows XP SP2.
 
* via Windows update, updated to up to date Windows XP SP2.
  
= OS specific settings; disabling screen saver and some tips. =
+
= Some miscellaneous settings =
* We should not move mouse during this test. Screensaver is also harmful,  
+
We should not move mouse during this test. Screensaver is also harmful, activate sleep mode is very harmful.
activate sleep mode is very harmful.
+
  
 
* Show all files and folders.
 
* Show all files and folders.
o エクスプローラー->ツール->フォルダオプション->表示-ファイルとフォルダの表示->
 
  全てのファイルとフォルダを表示する : にチェックを入れた
 
 
  o Translated from Japanese (may be wrong :)
 
  o Translated from Japanese (may be wrong :)
 
   Explorer->Tool->Folder option ->show ->files and folders->
 
   Explorer->Tool->Folder option ->show ->files and folders->
 
   Not show extension that is registered.
 
   Not show extension that is registered.
 
* Show the extensions even they are registrated
 
* Show the extensions even they are registrated
o エクスプローラー->ツール->フォルダオプション->表示-ファイルとフォルダの表示->
 
  登録されている拡張子は表示しない : にチェックを入れた
 
 
  o Translated from Japanese (may be wrong :)
 
  o Translated from Japanese (may be wrong :)
 
   Explorer->Tool->Folder option ->show ->files and folers->
 
   Explorer->Tool->Folder option ->show ->files and folers->
 
   check Show All files and folders
 
   check Show All files and folders
 
* Screen saver has been disabled.
 
* Screen saver has been disabled.
o コントロールパネル->画面->スクリーンセーバーを選択する
 
  ->スクリーンセーバー->(なし)
 
 
  o Translated from Japanese (may be wrong :)
 
  o Translated from Japanese (may be wrong :)
 
   Control Panel -> Display -> Choose Screen saver->
 
   Control Panel -> Display -> Choose Screen saver->
 
   ->Screen saver ->(none)
 
   ->Screen saver ->(none)
 
* Energy saving
 
* Energy saving
  o 電源オプション -> all set to なし
+
All set to (none)
  o all set to (none)
+
 
+
== Download OOo and install them ==
+
  
 +
= Download and install =
 
* OOo 2.1RC2
 
* OOo 2.1RC2
 
http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.1.0rc2/OOo_2.1.0rc2_20061130_Win32Intel_install_ja_wJRE.exe
 
http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.1.0rc2/OOo_2.1.0rc2_20061130_Win32Intel_install_ja_wJRE.exe
QA tool
+
* QA tool
 
ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz
 
ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz
  
* Verification of MD5SUMs
+
== Verification of MD5 sums ==
 +
* run a MD5 check against the downloaded file
 +
md5sum OOo_2.1.0rc2_20061130_Win32Intel_install_ja_wJRE.exe
 +
* check the MD5 sum
 
MD5 sum of OOo packages:
 
MD5 sum of OOo packages:
 
http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=10261
 
http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=10261
Line 111: Line 105:
 
http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7328
 
http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7328
  
* Installation of OOo
+
== Installation ==
done as usual. You may want to follow instruction from official installation guide.
+
It's done as usual. You may want to follow instruction from official installation guide.
 
(If wrong, raise an issue!)
 
(If wrong, raise an issue!)
http://documentation.openoffice.org/setup_guide2/2.x/en/SETUP_GUIDE_A4.pdf
+
[http://documentation.openoffice.org/setup_guide2/2.x/en/SETUP_GUIDE_A4.pdf English]
http://documentation.openoffice.org/setup_guide2/2.x/ja/SETUP_GUIDE_A4J.pdf
+
[Japanese http://documentation.openoffice.org/setup_guide2/2.x/ja/SETUP_GUIDE_A4J.pdf]
  
 +
== QA tools ==
 
* C:\Document and Settings\<User Name>\Application Data\testtool.ini has been created like following:
 
* C:\Document and Settings\<User Name>\Application Data\testtool.ini has been created like following:
 +
[Misc]
 +
ServerTimeout=100000
 +
StopOnSyntaxError=0
 +
AutoReload=0
 +
AutoSave=0
 +
CurrentProfile=_profile_testtool
 +
ScriptFontName=Courier
 +
ScriptFontStyle=normal
 +
ScriptFontSize=12
 +
 +
[Path]
 +
BaseDir=
 +
LogBaseDir=
 +
HIDDir=
 +
 +
[GUI Platform]
 +
Current=501
 +
All=501
 +
 +
[WinGeom]
 +
WinParams=228,124,802,620;1;0,0,0,0;
 +
 +
[OooProgramDir]
 +
Current=C:\Program Files\OpenOffice.org 2.1
 +
All=C:\Program Files\OpenOffice.org 2.1
 +
 +
[_profile_testtool]
 +
LogBaseDir=C:\work\qa\qatesttool\errorlog
 +
BaseDir=C:\work\qa\qatesttool
 +
HIDDir=C:\work\qa\qatesttool\global\hid
 +
AutoReload=0
 +
AutoSave=0
 +
StopOnSyntaxError=0
 +
*.bas=C:\work\qa\qatesttool\framework\first
 +
 +
[LRU]
 +
MaxLRU=4
 +
LRU1=C:\work\qa\qatesttool\framework\first\first.bas
 +
 +
[Communication]
 +
Host=localhost
 +
TTPort=12479
 +
UnoPort=10241
 +
 +
[Crashreporter]
 +
UseProxy=false
 +
ProxyServer=none
 +
ProxyPort=8080
 +
AllowContact=false
 +
ReturnAddress=
 +
 +
[Misc]
 +
ServerTimeout=4500
 +
StopOnSyntaxError=0
 +
AutoReload=0
 +
AutoSave=0
 +
CurrentProfile=_profile_testtool
 +
ScriptFontName=Courier
 +
ScriptFontStyle=normal
 +
ScriptFontSize=12
  
[Misc]
+
* Extract qatesttool_ooo201_20062311.tgz at C:\work\qa so that tree become:
ServerTimeout=100000
+
C:\work\work\qa\testtool ...
StopOnSyntaxError=0
+
AutoReload=0
+
AutoSave=0
+
CurrentProfile=_profile_testtool
+
ScriptFontName=Courier
+
ScriptFontStyle=normal
+
ScriptFontSize=12
+
  
[Path]
+
* Apply following patch for ooo_releasetests.bat
BaseDir=
+
LogBaseDir=
+
HIDDir=
+
 
+
[GUI Platform]
+
Current=501
+
All=501
+
 
+
[WinGeom]
+
WinParams=228,124,802,620;1;0,0,0,0;
+
 
+
[OooProgramDir]
+
Current=C:\Program Files\OpenOffice.org 2.1
+
All=C:\Program Files\OpenOffice.org 2.1
+
 
+
[_profile_testtool]
+
LogBaseDir=C:\work\qa\qatesttool\errorlog
+
BaseDir=C:\work\qa\qatesttool
+
HIDDir=C:\work\qa\qatesttool\global\hid
+
AutoReload=0
+
AutoSave=0
+
StopOnSyntaxError=0
+
*.bas=C:\work\qa\qatesttool\framework\first
+
 
+
[LRU]
+
MaxLRU=4
+
LRU1=C:\work\qa\qatesttool\framework\first\first.bas
+
 
+
[Communication]
+
Host=localhost
+
TTPort=12479
+
UnoPort=10241
+
 
+
[Crashreporter]
+
UseProxy=false
+
ProxyServer=none
+
ProxyPort=8080
+
AllowContact=false
+
ReturnAddress=
+
 
+
[Misc]
+
ServerTimeout=4500
+
StopOnSyntaxError=0
+
AutoReload=0
+
AutoSave=0
+
CurrentProfile=_profile_testtool
+
ScriptFontName=Courier
+
ScriptFontStyle=normal
+
ScriptFontSize=12
+
 
+
Extract qatesttool_ooo201_20062311.tgz at C:\work\qa so that
+
tree become C:\work/work/qa/testtool ...
+
 
+
Applied following patch for ooo_releasetests.bat
+
  
 
C:\work\qa\qatesttool\script\win32\ooo_relesetests.bat
 
C:\work\qa\qatesttool\script\win32\ooo_relesetests.bat
--- qa/qatesttool/script/win32/ooo_releasetests.bat        Mon Oct 16 20:22:45 2006
+
--- qa/qatesttool/script/win32/ooo_releasetests.bat        Mon Oct 16 20:22:45 2006
+++ qa/qatesttool/script/win32/ooo_releasetests.bat        Sun May 28 19:34:33 2006
+
+++ qa/qatesttool/script/win32/ooo_releasetests.bat        Sun May 28 19:34:33 2006
@@ -59,10 +59,10 @@
+
@@ -59,10 +59,10 @@
 
+
rem set location of TestTool
+
  rem set location of TestTool
rem (full path including executable 'testtool')
+
  rem (full path including executable 'testtool')
-set tool="C:\qatesttool\bin\win32\testtool.exe"
+
-set tool="C:\qatesttool\bin\win32\testtool.exe"
+set tool="C:\Program Files\OpenOffice.org 2.1\program\testtool.exe"
+
+set tool="C:\Program Files\OpenOffice.org 2.1\program\testtool.exe"
 
+
   
  rem set path to directory which contains directory 'qatesttool'
+
  rem set path to directory which contains directory 'qatesttool'
-set work="C:\qatesttool\scripts"
+
-set work="C:\qatesttool\scripts"
+set work="C:\work\qa"
+
+set work="C:\work\qa"
 
+
   
  %tool% -run %work%\qatesttool\framework\first\first.bas
+
  %tool% -run %work%\qatesttool\framework\first\first.bas
%tool% -run %work%\qatesttool\global\tools\closeoffice.bas
+
  %tool% -run %work%\qatesttool\global\tools\closeoffice.bas
 
+
4. QAtest
+
  
o Make sure that quick start is not active (you can verify by
+
= QAtest =
  no seagull small icon at the right bottom of your screen)
+
o removed C:\work\qa\qatesttool\errorlogs\*res (if present)
+
o removed C:\Document and Settings\<UserName>\Application Data\OpenOffice.org2 (if present)
+
o Double click C:\work\qa\qatesttool\script\win32\ooo_releasetests.bat
+
  
o I recived following message from Windows XP
+
* Make sure that quick start is not active (you can verify by no seagull small icon at the right bottom of your screen)
「Windowsセキュリティの重要な警告
+
* removed C:\work\qa\qatesttool\errorlogs\*res (if present)
コンピュータを保護するため、このプログラムの機能の一部が
+
* removed C:\Document and Settings\<UserName>\Application Data\OpenOffice.org2 (if present)
Windowsファイアウォールでブロックされています。
+
* Double click C:\work\qa\qatesttool\script\win32\ooo_releasetests.bat
このプログラムをブロックしつづけますか?
+
名前(N): OpenOffice.org 2.1
+
発行元(P): OpenOffice.org」
+
(translation)
+
  
``Important warning of Windows Security.
+
I recived following message from Windows XP:
To protect this computer, Windows firewall blocks some
+
Important warning of Windows Security.
functions. Do you block this program?''
+
To protect this computer, Windows firewall blocks some
Name(N): OpenOffice.org 2.1
+
functions. Do you block this program?''
Producer(P): OpenOffice.org''
+
Name(N): OpenOffice.org 2.1
 +
Producer(P): OpenOffice.org
  
 
I ignored this massage...during test.
 
I ignored this massage...during test.
  
5. Summary
+
= Summary =
  
QA tacker URI for JA QA.
+
Upload the *res files to the IssueTracker.
* http://www.openoffice.org/issues/show_bug.cgi?id=71978
+
* all res files are zipped as http://www.openoffice.org/nonav/issues/showattachment.cgi/41122/errorlog+OOo21+wXP+wJRE.zip
+
*                      errors  warnings  warning during initialization
+
------------------------------------------------
+
b_updt.res                  0      0    0
+
c_updt.res                  0      2    0
+
ch_updt.res                0      0    0
+
d_updt.res                  1      1    0
+
f_updt_help.res            0      0    0
+
f_updt_pkgmgr.res          0      0    0
+
f_updt_spadmin.res          0      0    0
+
f_updt_templates.res        0      4    0
+
f_updt_windowfuncs.res      0      0    0
+
first.res                  0      0    0
+
gallery.res                1      5    0
+
i_updt_1.res                0      0    0
+
i_updt_2.res                1      1    0
+
m_updt.res                  0      0    0
+
ma_updt.res                0      0    0
+
oasis_graphics_update.res  0      0    0
+
topten.res                  0      0    0
+
w_updt.res                  0      0    0
+
ww_updt.res                0      0    0
+
xforms_updt.res            0      0    0
+
------------------------------------------------
+

Revision as of 03:46, 11 January 2007


This page is intended to help the Windows users to use the Testtool. The info on this page is for Windows XP, but it's useful for most Windows versions. Please, change 'ja' for your ISO language code when needed. Also take into account this info is up to version 2.1.


How to obtain OS

You've to have an Windows license, a install disc and ensure the your license allows you to install it on a virtual machine.

Setup

As the releases tests takes about 15 hours and use the mouse, keyboard or an OpenOffice.org instance can't be used, most people would prefer an alternative way to running the tests in the main box. The common method for Windows is:

  • Install the OS inside a virtual machine

Installation of OS inside the Vmware player

You can use the virtual machine you want, but Vmware player is free and is a lot faster than Qemu, so we recommend using Qemu to setup the virtual machine and Vmware player to running it.

The basic steps are:

  • creation of HDD image
qemu-img create -f vmdk winXPja.vmdk 10G
You should have qemu-img on your OS path or run this command in the directory where Qemu is installed.
  • creation of winXPja.vmx
Save the following section as the FC6.vmx file in the same folder in which the image file is located.
config.version = "8"
virtualHW.version = "3"

displayName = "Windows XP SP2 Japanese"
guestOS = "winXPPro"
memsize = "256"
usb.present = "FALSE"
floppy0.present = "FALSE"
sound.present = "TRUE"
sound.virtualdev = "es1371"

ethernet0.present = "TRUE"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = ""
ethernet0.generatedAddressOffset = "0"
ethernet0.connectionType = "bridged"

ide0:0.present = "TRUE"
ide0:0.fileName = "winXPja.vmdk"
ide0:0.deviceType = "disk"
ide0:0.startConnected = "TRUE"
ide0:0.redo = ""

ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"

ide1:1.present = "TRUE"
ide1:1.fileName = "auto detect"
ide1:1.deviceType = "cdrom-raw"

  • follow instruction of p.37 of Guest OS installation guide
http://www.vmware.com/pdf/GuestOS_guide.pdf
http://www.vmware.com/support/pubs/player_pubs.html
I allocated Y: for iso image mount drive at the host OS, thus this is 2nd CD/DVD-ROM drive.
So, to boot Win XP Pro install program from CD-ROM image via daemon tool,
I disconnected 1st CD-ROM at boot time when the vmware player started. Otherwise
winXP Pro installtion program doesn't boot.
  • installation of vmware tools
Get windows.iso from vmware server, mount windows.iso via daemon tool,
and install.

Update the OS

  • Activation.
  • via Windows update, updated to up to date Windows XP SP2.

Some miscellaneous settings

We should not move mouse during this test. Screensaver is also harmful, activate sleep mode is very harmful.

  • Show all files and folders.
o Translated from Japanese (may be wrong :)
 Explorer->Tool->Folder option ->show ->files and folders->
 Not show extension that is registered.
  • Show the extensions even they are registrated
o Translated from Japanese (may be wrong :)
 Explorer->Tool->Folder option ->show ->files and folers->
 check Show All files and folders
  • Screen saver has been disabled.
o Translated from Japanese (may be wrong :)
 Control Panel -> Display -> Choose Screen saver->
 ->Screen saver ->(none)
  • Energy saving
All set to (none)

Download and install

  • OOo 2.1RC2

http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.1.0rc2/OOo_2.1.0rc2_20061130_Win32Intel_install_ja_wJRE.exe

  • QA tool

ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz

Verification of MD5 sums

  • run a MD5 check against the downloaded file
md5sum OOo_2.1.0rc2_20061130_Win32Intel_install_ja_wJRE.exe
  • check the MD5 sum

MD5 sum of OOo packages: http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=10261 MD5 sum of qatesttool script: http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7328

Installation

It's done as usual. You may want to follow instruction from official installation guide. (If wrong, raise an issue!) English [Japanese http://documentation.openoffice.org/setup_guide2/2.x/ja/SETUP_GUIDE_A4J.pdf]

QA tools

  • C:\Document and Settings\<User Name>\Application Data\testtool.ini has been created like following:
[Misc]
ServerTimeout=100000
StopOnSyntaxError=0
AutoReload=0
AutoSave=0
CurrentProfile=_profile_testtool
ScriptFontName=Courier
ScriptFontStyle=normal
ScriptFontSize=12

[Path]
BaseDir=
LogBaseDir=
HIDDir=

[GUI Platform]
Current=501
All=501

[WinGeom]
WinParams=228,124,802,620;1;0,0,0,0;

[OooProgramDir]
Current=C:\Program Files\OpenOffice.org 2.1
All=C:\Program Files\OpenOffice.org 2.1

[_profile_testtool]
LogBaseDir=C:\work\qa\qatesttool\errorlog
BaseDir=C:\work\qa\qatesttool
HIDDir=C:\work\qa\qatesttool\global\hid
AutoReload=0
AutoSave=0
StopOnSyntaxError=0
*.bas=C:\work\qa\qatesttool\framework\first

[LRU]
MaxLRU=4
LRU1=C:\work\qa\qatesttool\framework\first\first.bas

[Communication]
Host=localhost
TTPort=12479
UnoPort=10241

[Crashreporter]
UseProxy=false
ProxyServer=none
ProxyPort=8080
AllowContact=false
ReturnAddress=

[Misc]
ServerTimeout=4500
StopOnSyntaxError=0
AutoReload=0
AutoSave=0
CurrentProfile=_profile_testtool
ScriptFontName=Courier
ScriptFontStyle=normal
ScriptFontSize=12
  • Extract qatesttool_ooo201_20062311.tgz at C:\work\qa so that tree become:
C:\work\work\qa\testtool ... 
  • Apply following patch for ooo_releasetests.bat

C:\work\qa\qatesttool\script\win32\ooo_relesetests.bat

--- qa/qatesttool/script/win32/ooo_releasetests.bat        Mon Oct 16 20:22:45 2006
+++ qa/qatesttool/script/win32/ooo_releasetests.bat        Sun May 28 19:34:33 2006
@@ -59,10 +59,10 @@

 rem set location of TestTool
 rem (full path including executable 'testtool')
-set tool="C:\qatesttool\bin\win32\testtool.exe"
+set tool="C:\Program Files\OpenOffice.org 2.1\program\testtool.exe"

 rem set path to directory which contains directory 'qatesttool'
-set work="C:\qatesttool\scripts"
+set work="C:\work\qa"

 %tool% -run %work%\qatesttool\framework\first\first.bas
 %tool% -run %work%\qatesttool\global\tools\closeoffice.bas

QAtest

  • Make sure that quick start is not active (you can verify by no seagull small icon at the right bottom of your screen)
  • removed C:\work\qa\qatesttool\errorlogs\*res (if present)
  • removed C:\Document and Settings\<UserName>\Application Data\OpenOffice.org2 (if present)
  • Double click C:\work\qa\qatesttool\script\win32\ooo_releasetests.bat

I recived following message from Windows XP:

Important warning of Windows Security.
To protect this computer, Windows firewall blocks some
functions. Do you block this program?
Name(N): OpenOffice.org 2.1
Producer(P): OpenOffice.org

I ignored this massage...during test.

Summary

Upload the *res files to the IssueTracker.

Personal tools