You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



 
 

Test Cases for Installer

 


Updated by:  ruixu@netscape.com

 
 
 
  Document Outline


 
 
Setup and Deployment
  • Make sure download server is up running before downloading.
  • Machine with clean OS recommended.
  • Create accounts at Administrator, Superuser/Poweruser, User and Guest levels.
  • Create some directory names and Program Folder names with double byte and high ASCII characters.
  • Test with both Stub and Blob installers. Stub installer will download the required components from ftp site during the 1st step of installation. Blob installer contains all components, and it won't download from ftp site during installation.

 
 
Platform Combinations

Platforms:

  • PC, Linux, and Macintosh

Operating Systems:

  • Windows 95OSR2, 98SE, Me, NT4.0+SP6a, 2000 Pro+SP2, XP
  • Red Hat 6.2, 7.1, 7.2
  • MacOS 9.1, 9.2, X

Charsets:

  • Installer i18n testing will focus on following supported character sets for UI and messages:
     
    • Westen European                 ISO-8859-1
    • Japanese                               Shift-JIS, ISO-2022-JP, EUC-JP
    • Chinese (Simplified)             GB 2312-80, GBK, GB18030
    • Chinese (Traditional)            Big-5, EUC-TW
    • Korean                                    KS C-5601-1987, KS C 5657 Hanja
    • Unicode                                  UTF8

 
Test Cases

Installation process


 
Test Case # Objective Steps To Perform Expected Results
InstallationPro01 Full installation process
  1. Start Installer.
  2. Select Full in Setup Type dialog.
  3. Proceed with Full installation to complete.
  • The product can be installed properly without any error message. 
  • The product icons can be created on both desktop and the Start menu.
InstallationPro02 Recommended installation process
  1. Start Installer.
  2. Select Recommended in Setup Type dialog.
  3. Proceed with Recommended installation to complete.
  • The product can be installed properly without any error message. 
  • The product icons can be created on both desktop and the Start menu.
InstallationPro03 Custom installation process
  1. Start Installer.
  2. Select Custom in Setup Type dialog.
  3. Proceed with Custom installation to complete.
  • The product can be installed properly without any error message. 
  • The product icons can be created on both desktop and the Start menu.

Installer UI


 
Test Case # Objective Steps To Perform Expected Results
InstallerUI01 Installer UI, e.g. windows, dialogs, buttons, messages, etc.
  1. Start Installer.
  2. Run each of the 3 setup types ( Full, Recommanded and Custom), proceed to complete installation. 
  3. Check all UI during the whole process.
  • No character and data missing, no untranslated character, character corruption, truncation and overlaping. 
  • No font issue, e.g. font type, style, size, font for local market need, etc. 
  • No word wrap in the areas of button and drop down menu.
  • Correctness of concatenation in address and date format, pages and fields.
  • All default settings (time, date, name, unit, punctuation, delimiter etc.) comply with relevant locale requirement.

Double byte characters and high ASCII characters handling


 
Test Case # Objective Steps To Perform Expected Results
CharacterHandling01 Double byte and high ASCII characters handling for Directory name
  1. Start Installer.
  2. Follow the steps till Setup Type dialog appears. 
  3. Click on Browse to bring up Select a directory dialog .
  4. Try entering double byte and high ASCII characters in Directories field.
  5. Click OK button to close the dialog; if appliable, click Yes at Create Directory? dialog.
  6. Look at the directory name created and displayed.
  7. Continue installation till get Start Install dialog.
  • Directory name with double byte and high ASCII characters can be created, handled and displayed correctly in follwoing dialogs:
  1. Create Directory?
  2. Setup Type
  3. Start Install
CharacterHandling02 Double byte and high ASCII characters handling for Directory name
  1. Start Installer.
  2. Follow the steps till Setup Type dialog appears. 
  3. Click on Browse to bring up Select a directory dialog.
  4. Select and pickup the directory names that pre-created with double byte and high ASCII characters.
  5. Click OK button to close the dialog.
  6. Look at the directory name displayed.
  7. Continue installation till get Start Install dialog.
  • Directory name with double byte and high ASCII characters can be handled and displayed correctly in follwoing dialogs:
  1. Create Directory?
  2. Setup Type
  3. Start Install
CharacterHandling03 Double byte and high ASCII characters handling for Program Folder name 
  1. Start Installer.
  2. Under Custom installation, follow the steps till Select Program Folder dialog appears. 
  3. Try entering double byte and high ASCII characters in Program Folder field.
  4. Click Next.
  5. In Start Install dialog, look at the Program Folder name created and displayed.
  • Program Folder name with double byte and high ASCII characters can be created, handled and displayed correctly.
CharacterHandling04 Double byte and high ASCII characters handling for Program Folder name 
  1. Start Installer.
  2. Under Custom installation, follow the steps till Select Program Folder dialog appears. 
  3. Select and pickup the Program Folder names that pre-created with double byte and high ASCII characters.
  4. Click Next.
  5. In Start Install dialog, look at the Program Folder name displayed.
  • Program Folder names with double byte and high ASCII characters can be handled and displayed correctly.

Control functions


 
Test Case # Objective Steps To Perform Expected Results
ControlFunction01 All control functions (such as push button, radio button, list box, etc.)
  1. Start Installer.
  2. Run each of the 3 setup types (Full, Recommanded and Custom), proceed to complete installation. 
  3. Check all buttons and controls during installation process.
  • All controls function correctly.

Shortcut key functions


 
Test Case # Objective Steps To Perform Expected Results
ShortcutKey01 All shortcut keys available
  1. Start Installer.
  2. Run each of the 3 setup types (Full, Recommanded and Custom), proceed to complete installation. 
  3. Try using all available shortcut keys during installation.
  • Shortcut keys function correctly, no missing, dead, wrong and duplicated shortcut keys .

Install with different user groups or different access permission


 
Test Case # Objective Steps To Perform Expected Results
DiffUsers01 Administrator permission
  1. Login as Administrator.
  2. Start Installer. 
  • The product can be installed without any problem.
DiffUsers02 Superuser/Poweruser permission
  1. Login as Superuser/Poweruser .
  2. Start Installer.
  • The product can be installed without any problem.
DiffUsers03 User permission
  1. Login as User.
  2. Start Installer. 
  • The product can be installed without any problem.
DiffUsers04 Guest permission
  1. Login as Guest.
  2. Start Installer.
  • The product cannot be installed, a warning message appears.

Pop-up messages from browser


 
Test Case # Objective Steps To Perform Exp ected Results
PopupMessage01 Install permission
  1. Login as Guest.
  2. Start Installer.
  • Warning message displayed properly without any corruption, truncation etc.
PopupMessage02 Install environment
  1. Create various invalid install environments, such as: insufficient disk space, install while running the product itself etc..
  2. Start Installer.
  • Error message displayed properly without any corruption, truncation etc.
PopupMessage03 Edit field handling
  1. Start Installer.
  2. Where there is an input field, enter over range characters, invalid characters etc., or don't enter anything.
  • Error/warning messages displayed properly without any corruption, truncation etc.
PopupMessage04 Cancel installation
  1. Start Installer.
  2. Where there is a Cancel button, try stop installtion by click on it.
  • Warning message displayed properly without any corruption, truncation etc.
PopupMessage05 Create directory
  1. Start Installer.
  2. Follow the steps till Setup Type dialog appears. 
  3. Click on Browse to bring up Select a directory dialog.
  4. Enter a new directory name in Directories field.
  5. Click OK button.
  6. Create Directory? dialog appears.
  • Warning message displayed properly without any corruption, truncation etc.
PopupMessage06 ... ... ...

Performance


 
Test Case # Objective Steps To Perform Expected Results
Performance01 Installer performance
  1. Start Installer.
  2. Run each of the 3 setup types ( Full, Recommanded and Custom ), following on-screen instructions to proceed with installtion.
  3. Observe each step during installation.
  • Installation can be performed smoothly without long waiting, unexpected memory use, etc.

Installed components and files


 
Test Case # Objective Steps To Perform Expected Results
InstalledCF01 Components under Custom installation
  1. Start Installer, select Custom installation.
  2. Check the typical components displayed in Select Typical Components dialog, test whether they are selectable, except Navigator.
  3. Check the additional components displayed in Select Additional Components dialog, test whether they are selectable.
  4. Continue to Start Install dialog, look at the selected components listed. 
  • All selected components are listed, no missing or extra components etc.
InstalledCF02 Installer files
  1. Start Installer.
  2. Follow the steps till Download Options dialog appears. 
  3. Check the checkbox at Save installer files locally.
  4. Click Next button, continue installation.
  5. After installation complete, go to < directory with Netscape 6 installed>\Setup, check Installer files.
  • All Installer files should be under <directory with Netscape 6 installed>\Setup with correct properties.
InstalledCF03 Installed files
  1. After installation complete, go to Program Files folder, check files in following folders: Netscape, Javasoft, Winamp, Real, net2phone, etc. if appliable.
  • All files are copied and installed correctly into appropriate directories with correct properties, matching with the components selected.

Launch


 
Test Case # Objective Steps To Perform Expected Results
Launch01 Launch from desktop icon
  1. Double-click on the desktop icon.
  • The product can be launched from the desktop icon. 
Launch02 Launch from Start menu
  1. From Start menu, select Programs > Netscape 6.
  • The product can be launched from the Start menu. 

Uninstall


 
Test Case # Objective Steps To Perform Expected Results
Uninstall01 Uninstall from Control Panel
  1. Go to Windows Control Panel.
  2. Uninstall Netscape.
  • The product can be uninstalled properly without any error message.
  • There are no extra files and folders remaning after uninstalling.
Uninstall02 Uninstall by running N6Uninst.exe
  1. Go to ...\Program Files\Netscape\Netscape 6.
  2. Run N6Uninst.exe.
  • The product can be uninstalled properly without any error message.
  • There are no extra files and folders remaning after uninstalling.

Registration


 
Test Case # Objective Steps To Perform Expected Results
Registration01 Registration
  1. Run regedit.exe.
  2. Check registry for Netscape installation.
  • The product can be correctly registered after installation, use US build as reference.
Registration02 Unregistration
  1. Run regedit.exe.
  2. Check registry for Netscape uninstallation.
  • The product can be correctly unregistered after uninstallation, use US build as reference.

 
 
 
Revision History

 
Revision By Whom Date Changes
1.0 Rui Xu 09/14/2001 Initial draft
1.1 Rui Xu 03/05/2002 Modified test cases