Testplan StartUp Wizard

Name of the feature | First Start Wizard
Purpose | StartUp wizard defines the new Office startup behaviour.
Specification | http://specs.openoffice.org/appwide/migration/spec_migration.sxw
Preconditions | Two different behaviours have to be testted: Variation 1: the office start without a previous installed OpenOffice.org 1.1.x or StarOffice 7 Variation 2: the office start with a previous installed OpenOffice.org 1.1.x or StarOffice 7
Test documents | ./.
Detailed test instructions: | Variation 1: Assure that there is no entry for OpenOffice.org 1.1.x or StarOffice 7 in sversion.ini/.sversionrc Variation 2: Have OpenOffice.org 1.1.x or StarOffice 7 installed, don't remove their entries from sversion.ini/.sversionrc Variation 3: Online Update has been installed (new feature in OOo 2.1, Spec 7.7 Online Update, page 18)
Expected result | All dialogs should have no typos. All buttons work as labeled. All buttons must be accessible by keybord. No double keyboard shortcuts should be assigned. All links bring you to the related Roadmap step (term for the different dailog pages). After finishing the wizard the Office starts. Variation 1: Roadmap step 'User Name' will be displayed. Variation 2: Roadmap step 'Personal Data' will be displayed.
Variation 1 | Step1: Startup Wizard starts with the roadmap step 'Welcome'. The >Back< and >Finish< button have to be diabled. The next buttun brings up step 2. Clicking >Cancel< quits this dialog without request. Restarting the office has to bring up this the Startup Wizard again.
Step2: The roadmap step 'Licence Agreement' comes up. Under The Licence the >Scroll down< button is displayed. Pushing this button should scroll down the licence. The >Finish< button has to be disabled. The >Accept< button has to be disabled until the licence has been scrolled down. To proceed the >Accept< button has to be pushed. The >Decline< button brings up a requesting message box. Confirming the message box with 'Yes' quits the Wizard. Confirming the message box with 'No' jumps back to the wizard. The next buttun brings up step 3.
Step3: The roadmap step 'User name' comes up. The >Finish< button has to be disabled. If the field for 'First Name', 'Last Name' and 'Initials' are filled in these entries have to be in 'Tools | Options | OpenOffice | User Data'. The next buttun brings up step 4.
Step 4: The roadmap step 'Registration' comes up. All buttons have to be enabled except the >Next Button<. Clicking on >Finish< exits this wizard and the Offfice will start. Restarting the office should not bring up this wizard again. In the left 'Steps' frame now all displayed steps have changed their font color. Therer are three items with radio buttons: 1. 'I want to register now', 2. 'I want to register later', 3. 'I do not want to register'. Selecting 1. will start the default browser with the page for the Office registration. Office will start also. Selecting 2.Office will start. After seven days a reminder dialog with the three items and radio buttons appears. Selecting 3. Will do nothing, Office will start. All blue displayed steps can be used as link. Clicking on this link should display the related roadmap step.
Variation 2 | Step1: Startup Wizard starts with the roadmap step 'Welcome'. The >Back< and >Finish< button have to be diabled. The next buttun brings up step 2. Clicking >Cancel< quits this dialog without request. Restarting the office has to bring up this the Startup Wizard again.
Step2: The roadmap step 'Licence Agreement' comes up. Under The Licence the >Scroll down< button is displayed. Pushing this button should scroll down the licence. The >Finish< button has to be disabled. The >Accept< button has to be disabled until the licence has been scrolled down. To proceed the >Accept< button has to be pushed. The >Decline< button brings up a requesting message box. Confirming the message box with 'Yes' quits the Wizard. Confirming the message box with 'No' jumps back to the wizard. The next buttun brings up step 3.
Step 3: The roadmap step 'Personal Data' comes up. Unchecking the checkbox will start the Office with all default settings. Checking the checkbox will migrate user settings form StarOffice 7/OpenOffice.org1.1.x to StarOffice8/OpenOfice.org2.x. The migration feature will be tested by an own test. For a basic success test the User Data shall be migrated: Start StarOffice7/OOo1.1.x and open 'Tools | Otions | ~Office | User Data '. Edit all user data field. All entries that have been made here should appear at the User Data options in StarOffice8/OOo2.x.
Step 4: The roadmap step 'Registration' comes up. All buttons have to be enabled except the >Next Button<. Clicking on >Finish< exits this wizard and the Office will start. Restarting the office should not bring up this wizard again. In the left 'Steps' frame now all displayed steps have changed their font color. Therer are four items with radio buttons: 1. 'I want to register now', 2. 'I want to register later', 3. 'I do not want to register'. Selecting 1. will start the default browser with the page for the Office registration. Office will start also. Selecting 2.Office will start. After seven days a reminder dialog with the three items and radio buttons appears. Selecting 3. Will do nothing, Office will start. All blue displayed steps can be used as link. Clicking on this link should display the related roadmap step.
Variation 3 | Step1: Startup Wizard starts with the roadmap step 'Welcome'. The >Back< and >Finish< button have to be diabled. The next buttun brings up step 2. Clicking >Cancel< quits this dialog without request. Restarting the office has to bring up this the Startup Wizard again.
Step2: The roadmap step 'Licence Agreement' comes up. Under The Licence the >Scroll down< button is displayed. Pushing this button should scroll down the licence. The >Finish< button has to be disabled. The >Accept< button has to be disabled until the licence has been scrolled down. To proceed the >Accept< button has to be pushed. The >Decline< button brings up a requesting message box. Confirming the message box with 'Yes' quits the Wizard. Confirming the message box with 'No' jumps back to the wizard. The next buttun brings up step 3.
Step3: The roadmap step 'User name' comes up. The >Finish< button has to be disabled. If the field for 'First Name', 'Last Name' and 'Initials' are filled in these entries have to be in 'Tools | Options | OpenOffice | User Data'. The next buttun brings up step 4.
Step 4: The roadmap step 'Online Update' comes up. All buttons have to be enabled except the >Finish< button. The checkbox for 'Check for updates automatically' has to be checked by default. The following table shows the use cases and in dependence of them, the availability of the online update page in the wizard and the status of the checkbox for the auotmatic online update check.
Use Case | Behaviour for Update 2.1 | Checkbox for Updates- Setting in 2.1 |
Update check has not been checked, because the installed OpenOffice.org version is ≤ 2.0.3 or has never been installed before | Online update page is displayed | default is checked on
Update check has been checked via Tools Options | Online update page is not displayed | default remains checked on
Update check has been unchecked via Tools Options | Online update page is displayed | is default checked on the Online Update page
Step 5: The roadmap step 'Registration' comes up. All buttons have to be enabled except the >Next Button<. Clicking on >Finish< exits this wizard and the Office will start. Restarting the office should not bring up this wizard again. In the left 'Steps' frame now all displayed steps have changed their font color. Therer are three items with radio buttons: 1. 'I want to register now', 2. 'I want to register later', 3. 'I do not want to register'. Selecting 1. will start the default browser with the page for the Office registration. Office will start also. This is the default. Selecting 2.Office will start. After seven days a reminder dialog with the three items and radio buttons appears. Selecting 3. Will do nothing, Office will start. All blue displayed steps can be used as link. Clicking on this link should display the related roadmap step.
Additional tests: | Additional test: The wizard must be able to continue even if the licence is to short for scrolling. Howto: Open the licence in <officeinst_dir>/share/readme in an editor and reduce the number of lines to three. Make the first office start. It must be possible in this case to proceed with the wizard. Removing the StarOffice8 (Windows) folder in <system_drive>\Documents and Settings\<user_name>\Application Data\ or the .staroffice8 (Solaris/Linux) folder in <$HOME> will bring up the Startup wizard again when restarting the Office.
Additional tests: | Registration Reminder: the reminder starts after seven day after first office start. The reminder has the same UI text for registartion as the roadmap step 'Registration'. The text „We hope you enjoy working with $PRODUCTNAME./n/nTo exit the wizard, click 'Finish'.“ is missing. Therer are three items with radio buttons: 1. 'I want to register now', 2. 'I want to register later', 3. 'I do not want to register'. Only an 'OK' button appers. Selecting 1. will start the default browser with the page for the Office registration. Office will start also. This is the default. Selecting 2.Office will start. After seven days a reminder dialog with the three items and radio buttons appears again. Selecting 3. Will do nothing, Office will start.
Autoamated test: | f_updt_firsttimewizard.bas
References | olaf.felka@sun.com

Document modified: 06/03/08 by olaf.felka@sun.com