Title: Online Update Step 2

Status: Standard

Name of the feature

Online Update Step2



Purpose

Testing the appearance of the new Help menu entry and the related functions

Specification

Step1: http://specs.openoffice.org/appwide/onlineupdate/Software_Update.odt

Step2: http://specs.openoffice.org/installation/online_update/Software_Update_Step2.odt

Preconditions

An internet connection is required for online update. In case a proxy is used the proxy setting in Tools | Options | Internet has to be adjusted.

Test documents

For Testcase variation 2: http://www.openoffice.org/nonav/issues/showattachment.cgi/38105/update.txt

Detailed test instructions:

Manually checking for Updates:
Open menu 'Help'.
Click on entry „Check for Updates...“. The key shortcut is on 'U': „Check for Updates...“
Dialog „Check for Updates“ comes up. The >Cancel< button has the focus. Clicking on >Cancel< stops checking for update and closes the dialog.
While checking for updates a progress bar is shown within the dialog.
In case an update has been detected a dialog comes up: „A new update is available. Click OK to open the web site, where you can start the download.. The >OK< button has the focus. Clicking the >Cancel< button closes both dialogs. Clicking on the >OK< button triggers the default browser with the URL to the related updates.
In case no update has been detected a dialog comes up: „No new update is available. %PRODUCTNAME is up to date“. The >OK< button has the focus. Both dialogs were closed.

Automatically checking for Updates:
- Testing the settings:
In Tools - Options – StarOffice (OpenOffice.org) – Online Update you can configure the Online Update Options:
- Check for Updates automatically
Checking the checkbox enables the automatic update feature.
Unchecking disables the radio buttons for weekly (“Every Week”) and monthly (“Every Month”) check.
- the radio buttons switching between a weekly and a monthly check. Testing requires a change of the system clock setting.
- Clicking on “Check now...” triggers the default browser with the URL to the related Updates. A manual check results in a new 'last checked' date entry in a config file.
Note: by now (10. July 06) it's not defined where these config items are stored at.
- Checking “Download updates automatically” loads down the patches without rising any additional UI and message boxes.


Tab order:
- 'Check for updates automatically'
- the selected option, default 'Every Week'
- 'Check now...'
- 'Download updates automatically'
- 'Change...'
- OK, Cancel, Help, Back

In case a new Update is available, a notification icon is visible in the menubar. Precondition is that Online Update is enabled in Tools - Options – StarOffice (OpenOffice.org) – Online Update. Or that an Update has been downloaded after 'Check now...' but hasn't been installed yet. The icon isn't visible in the same office session the download has been started. The office has to be started in new session including the Quickstarter on Windows. The icon is visible on each open document window.
Clicking the icon will open the default web browser with the URL of a web-page where the user can download the update. The icon will be visible until all available updates have been installed.
Additionally, in the active document window (or the first one that becomes active), a bubble help window anchored at the software update notify icon appears. The bubble-help window disappears when clicking on it or automatically after a certain amount of time (10 seconds) and re-appears when the user moves the mouse over the update notification icon. Text of the bubble help window: ”%PRODUCTNAME update available Go to the download web site.”.

Expected result


Variation 1

No valid connection to the internet:
Open menu 'Help'.
Click on entry „Check for Updates...“.
Dialog „Check for Updates“ comes up.
A dialog comes up: 'Could not establish internet connection to<server name>'.
>OK< closes all dialogs

Variation 2

No update is available:
To see this dialog the versionini/versionrc has to be changed. The entry „UpdateURL=http://update.staroffice.de/ProductUpdateService/check.Update
for StarOffice „UpdateURL=http://update.services.openoffice.org/ProductUpdateService/check.Update“ has to be replaced with „UpdateURL=http://www.openoffice.org/nonav/issues/showattachment.cgi/38105/update.txt“

Variation 3


Variation 4



References






Document modified: 28/07/06 by olaf.felka@sun.com