QA/AOO341 TestCase/Installation

From Apache OpenOffice Wiki
Jump to: navigation, search

Windows .exe package

Clean install

no old version or user profile left, fresh install

Run this case for dev snapshot build

XP: remove C:\Documents and Settings\%user%\Application Data\OOo-dev for dev snapshot build before install

Vista/Win7: remove C:\Users\%user%\AppData\Roaming\OOo-dev for dev snapshot build before install

step expected result bug ID
Double-click the .exe files installer wizard launches
follow the wizard to install.
  • openoffice installed smoothly. no error or warning message
  • the shortcut created in start menu and desktop
double-click the shortcut on desktop Openoffice launched and the home page loaded, no unwanted warnings or errors
Click help->about verify version No. is correct
Click each button on home page verify they works
Close openoffice. Then try each openoffice menu in start menu Verify every openoffice menu works
keep openoffice running, try to remove openoffice from add/remove panel proper message should appear warning openoffice is running Issue 120305
Close openoffice, launch qiuckstarter only, try to remove
  • quickstarter should be killed automatically and openoffice removed.
  • After removal finishes, the destination folder are removed, or empty
  • shortcut in start menu or desktop removed

install latest version with old version removed but user profile left

run this case for normal release build remove old version but DO NOT remove the user profiles

step expected result bug ID
Double-click the .exe files Vista/win7 with UAC on, the publisher should not be “unknown”. Issue 119017
follow the wizard to install.
  • product name and version should be correct in each installer panel
  • openoffice installed smoothly. no error or warning message
  • the shortcut created in start menu and desktop
  • version No. in shortcut are correct
double-click the shortcut on desktop Openoffice launched and the home page loaded, no unwanted warnings or errors
Click help->about verify version No. is correct
Click help->Check for update after a short time the status should be correct: openoffice X.X.X is up to date or there is a new version detected. The version No. should be correct
Click each button on home page verify they works
Close openoffice. Then try each openoffice menu in start menu Verify every openoffice menu works
Enable quickstarter(Tools->options->openoffice.org->memory->Load Openoffice.org during system start-up), then check the product name and version in Start->Startup folder Product name and version No. should be correct
Close openoffice, remove
  • After removal finishes, the destination folder are removed, or empty
  • Vista/win7 with UAC on, the publisher should not be “unknown”.
  • shortcut in start menu or desktop removed
Issue 119017

Upgrade

Upgrade cases cannot be run against dev snapshot build.

step expect result Bug ID
install old release
new/open/save files then recent file list not empty
do some customizations in Tools->options
Launch openoffice and keep openoffice running, Double-click the .exe files and follow the wizard to install. there should be proper message warning to close openoffice Issue 120305
Close openoffice, then keep quickstarter running, try to upgrade
  • quickstarter should be killed automatically and openoffice upgraded smoothly, no wraning or error messages
  • the shortcut in start menu and desktop updated
  • packages of old release in installation folder removed
click each openoffice menu to launch openoffice
  • verify they Openoffice launched and the corresponding page/application loaded, no unwanted warnings or errors
  • verify Recent file list remains
  • verify Tools->Options: user customization remains
  • Click help->about, verify version No. is updated
Remove from add/remove panel
  • After removal finishes, the destination folder are removed
  • shortcut removed

RPM package

Clean install

no old version or user profile left, fresh install

Run this case for dev snapshot build

remove /home/<user name>/.OOo-dev before install

step expected result bug ID
cd into the directory RPMS, then run command sudo rpm -ivh o*.rpm Openoffice installed smoothly, no wraning or error messages in terminal
Launch openoffice by /opt/ooo-dev3/program/soffice Openoffice launched and the home page loaded, no unwanted warnings or errors
Click help->about verify version No. is correct
Click each button on home page verify they works
keep openoffice running, try to remove openoffice from system package managers proper message should appear warning openoffice is running Issue 119166
Close openoffice, launch qiuckstarter only, try to remove
  • quickstarter should be killed automatically and openoffice removed.
  • After removal finishes, the destination folder are removed, or empty

install latest version with old version removed but user profile left

run this case for normal release build

remove old version but DO NOT remove the user profiles mentioned in above test case

step expected result bug ID
cd into the directory RPMS, then run command sudo rpm -ivh o*.rpm Openoffice installed smoothly, no wraning or error messages in terminal
run command sudo rpm -ivh desktop-integration/openoffice.org-<dist>-menus-<release>.noarch.rpm
  • the shortcut created in application menu
  • version No. in the shortcut is correct
grep ooo and rpm –qa | grep openoffice verify version No. of packages are correct
Launch openoffice by clicking the menu openoffice.org Openoffice launched and the home page loaded, no unwanted warnings or errors
Click help->about verify version No. is correct
Click help->Check for update after a short time the status should be correct: openoffice X.X.X is up to date or there is a new version detected. The version No. should be correct
Click each button on home page verify they works
Close openoffice. Then try to click each openoffice shortcut menus Verify every openoffice menus works
Close openoffice, try to remove from system package managers
  • openoffice removed.
  • After removal finishes, the destination folder are removed, or empty
  • shortcut are removed

Upgrade

Upgrade cases cannot be run against dev snapshot build.

step expect result Bug ID
install old release
new/open/save files then recent file list not empty
do some customizations in Tools->options
Launch openoffice and keep openoffice running, try to upgrade via command:

rpm –Uvh *.rpm desktop-integration/ openoffice.org-<dist>-menus-<release>.noarch.rpm

there should be proper message warning to close openoffice Issue 119166 ,Issue 119158
Close openoffice, then keep quickstarter running, try to upgrade
  • quickstarter should be killed automatically and openoffice upgraded smoothly, no wraning or error messages in terminal
  • the desktop integration menu are updated
grep ooo and rpm –qa | grep openoffice verify version No. of packages are updated, and there are only one version for each packages. The old version should have been removed Issue 119162
click each openoffice menu to launch openoffice
  • verify they Openoffice launched and the corresponding page/application loaded, no unwanted warnings or errors
  • verify Recent file list remains
  • verify Tools->Options: user customization remains
  • Click help->about, verify version No. is updated
Remove via system package managers
  • After removal finishes, the destination folder are removed
  • the desktop integration menu are removed

DEB package

Clean install

no old version or user profile left, fresh install

Run this case for dev snapshot build

remove /home/<user name>/.OOo-dev before install

step expected result bug ID
cd into the directory RPMS, then run command sudo dpkg -i o*.deb Openoffice installed smoothly, no wraning or error messages in terminal
Launch openoffice by /opt/ooo-dev3/program/soffice Openoffice launched and the home page loaded, no unwanted warnings or errors
Click help->about verify version No. is correct
Click each button on home page verify they works
keep openoffice running, try to remove openoffice from system package managers proper message should appear warning openoffice is running Issue 119166
Close openoffice, launch qiuckstarter only, try to remove
  • quickstarter should be killed automatically and openoffice removed.
  • After removal finishes, the destination folder are removed, or empty

install latest version with old version removed but user profile left

run this case for normal release build

remove old version but DO NOT remove the user profiles mentioned in above test case

step expected result bug ID
cd into the directory RPMS, then run command sudo dpkg -i o*.deb Openoffice installed smoothly, no wraning or error messages in terminal
run command sudo dpkg -i desktop-integration/openoffice.org<release>-debian-menus-<release>_all.deb
  • the shortcut created in application menu
  • version No. in the shortcut is correct
grep ooo and dpkg -l | grep openoffice verify version No. of packages are correct
Launch openoffice by clicking the menu openoffice.org Openoffice launched and the home page loaded, no unwanted warnings or errors
Click help->about verify version No. is correct
Click help->Check for update after a short time the status should be correct: openoffice X.X.X is up to date or there is a new version detected. The version No. should be correct
Click each button on home page verify they works
Close openoffice. Then try to click each openoffice shortcut menus Verify every openoffice menus works
Close openoffice, try to remove from system package managers
  • openoffice removed.
  • After removal finishes, the destination folder are removed, or empty
  • shortcut are removed

Upgrade

Upgrade cases cannot be run against dev snapshot build.

step expect result Bug ID
install old release
new/open/save files then recent file list not empty
do some customizations in Tools->options
Launch openoffice and keep openoffice running, try to upgrade via command:

sudo dpkg –i *.deb desktop-integration/openoffice.org<release>-debian-menus-<release>_all.deb

there should be proper message warning to close openoffice Issue 119166
Close openoffice, then keep quickstarter running, try to upgrade
  • quickstarter should be killed automatically and openoffice upgraded smoothly, no wraning or error messages in terminal
  • the desktop integration menu are updated
grep ooo and dpkg –l | grep openoffice verify version No. of packages are updated, and there are only one version for each packages. The old version should have been removed Issue 119162
click each openoffice menu to launch openoffice
  • verify the Openoffice launched and the corresponding page/application loaded, no unwanted warnings or errors
  • verify Recent file list remains
  • verify Tools->Options: user customization remains
  • Click help->about, verify version No. is updated
Remove via system package managers
  • After removal finishes, the destination folder are removed
  • the desktop integration menu are removed
Personal tools