Difference between revisions of "Qa/Testtool WinXP"

From Apache OpenOffice Wiki
< Qa
Jump to: navigation, search
(Work in progress - initial import)
 
(Work in progress - a bit more wikified)
Line 12: Line 12:
 
= Setup =
 
= 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:
+
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
 
* Install the OS inside a virtual machine
  
Line 20: Line 20:
 
The basic steps are:
 
The basic steps are:
 
* creation of HDD image
 
* creation of HDD image
  * creation of winXPja.vmx
+
  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.
  
config.version = "8"
+
* creation of winXPja.vmx
virtualHW.version = "3"
+
:Save the following section as the FC6.vmx file in the same folder in which the image file is located.
 
+
config.version = "8"
displayName = "Windows XP SP2 Japanese"
+
virtualHW.version = "3"
guestOS = "winXPPro"
+
memsize = "256"
+
displayName = "Windows XP SP2 Japanese"
usb.present = "FALSE"
+
guestOS = "winXPPro"
floppy0.present = "FALSE"
+
memsize = "256"
sound.present = "TRUE"
+
usb.present = "FALSE"
sound.virtualdev = "es1371"
+
floppy0.present = "FALSE"
 
+
sound.present = "TRUE"
ethernet0.present = "TRUE"
+
sound.virtualdev = "es1371"
ethernet0.addressType = "generated"
+
ethernet0.generatedAddress = ""
+
ethernet0.present = "TRUE"
ethernet0.generatedAddressOffset = "0"
+
ethernet0.addressType = "generated"
ethernet0.connectionType = "bridged"
+
ethernet0.generatedAddress = ""
 
+
ethernet0.generatedAddressOffset = "0"
ide0:0.present = "TRUE"
+
ethernet0.connectionType = "bridged"
ide0:0.fileName = "winXPja.vmdk"
+
ide0:0.deviceType = "disk"
+
ide0:0.present = "TRUE"
ide0:0.startConnected = "TRUE"
+
ide0:0.fileName = "winXPja.vmdk"
ide0:0.redo = ""
+
ide0:0.deviceType = "disk"
 
+
ide0:0.startConnected = "TRUE"
ide1:0.present = "TRUE"
+
ide0:0.redo = ""
ide1:0.fileName = "auto detect"
+
ide1:0.deviceType = "cdrom-raw"
+
ide1:0.present = "TRUE"
 
+
ide1:0.fileName = "auto detect"
ide1:1.present = "TRUE"
+
ide1:0.deviceType = "cdrom-raw"
ide1:1.fileName = "auto detect"
+
ide1:1.deviceType = "cdrom-raw"
+
ide1:1.present = "TRUE"
 
+
ide1:1.fileName = "auto detect"
  * follow instruction of p.37 of Guest OS installation guide
+
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/pdf/GuestOS_guide.pdf
 
  http://www.vmware.com/support/pubs/player_pubs.html
 
  http://www.vmware.com/support/pubs/player_pubs.html
Line 61: Line 64:
 
  winXP Pro installtion program doesn't boot.
 
  winXP Pro installtion program doesn't boot.
  
* installation of vmware tools
+
* installation of vmware tools
 
  Get windows.iso from vmware server, mount windows.iso via daemon tool,
 
  Get windows.iso from vmware server, mount windows.iso via daemon tool,
 
  and install.
 
  and install.
  
4. Update the OS ;)
+
= Update the OS =
* Activation.
+
* Activation.
* via Windows update, updated to up to date Windows XP SP2.
+
* via Windows update, updated to up to date Windows XP SP2.
 
+
5. OS specific settings; disabling screen saver and some tips.
+
  
 +
= OS specific settings; disabling screen saver and some tips. =
 
* 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.
Line 96: Line 98:
 
   o all set to (none)
 
   o all set to (none)
  
6. Download OOo and install them.
+
== Download OOo and install them ==
  
 
* OOo 2.1RC2
 
* OOo 2.1RC2

Revision as of 03:13, 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.

OS specific settings; disabling screen saver and some tips.

  • We should not move mouse during this test. Screensaver is also harmful,

activate sleep mode is very harmful.

  • Show all files and folders.
o エクスプローラー->ツール->フォルダオプション->表示-ファイルとフォルダの表示->
  全てのファイルとフォルダを表示する : にチェックを入れた
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 エクスプローラー->ツール->フォルダオプション->表示-ファイルとフォルダの表示->
  登録されている拡張子は表示しない : にチェックを入れた
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 コントロールパネル->画面->スクリーンセーバーを選択する
 ->スクリーンセーバー->(なし) 
o Translated from Japanese (may be wrong :)
 Control Panel -> Display -> Choose Screen saver->
 ->Screen saver ->(none)
  • Energy saving
 o 電源オプション -> all set to なし
 o all set to (none)

Download OOo and install them

  • 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 MD5SUMs

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 of OOo

done as usual. You may want to follow instruction from official installation guide. (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/ja/SETUP_GUIDE_A4J.pdf

  • 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 ...

Applied 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

4. QAtest

o Make sure that quick start is not active (you can verify by

 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 「Windowsセキュリティの重要な警告 コンピュータを保護するため、このプログラムの機能の一部が Windowsファイアウォールでブロックされています。 このプログラムをブロックしつづけますか? 名前(N): OpenOffice.org 2.1 発行元(P): OpenOffice.org」 (translation)

``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.

5. Summary

QA tacker URI for JA QA.


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


Personal tools