PGA Task 0003 - QA Test Plan - USB Writing

Guidelines

Environments

  • OS
    • Windows 7
    • Windows 8.1
    • Windows 10
    • Mac OS 10.11 ( El Capitan )
  • Browser
    • Chrome (latest)

General QA Guidelines

General Use

  • Are you surprised by anything
  • Does something take longer than you would expect
  • When the tool does something unexpected or takes too long to do something, does the tool provide appropriate feedback
On This Page
Specification

 

QA Tests


Protocol
Perform the following tests using each browser/system environment

Unit Test

________________________________________________________

Protocol
Launch the following link to execute unit tests.

???

Task Oriented Functional Tests

________________________________________________________

Description
Ensures that the component is able to handle expected input.

Protocol
Perform these tasks on the following site. Make sure to use USB keys with each of the environments supported file system formats.

  1. http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=electron
  2. http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=search

Test 1: Write to USB

  • Procedure
    1. Attach a valid USB drive to the computer
    2. Open the browser and navigate to the specified URL
    3. Continue through each screen changing all preferences from the default values
    4. Proceed to the end of the tool to save a preference set
    5. View stored preferences ( https://bs-dev-prefs.mybluemix.net/preferences/%token?view=firstDiscovery ) where %token should be replaced by the GPII Token 
  • Expected Results
    • Ensure that the token written to the USB drive in the .gpii-user-token.txt file matches what was displayed in first discovery
    • Ensure that the preferences written to the USB drive in the .first-discovery-preferences.txt file match the default preferences
    • The Confirmation page should match the selected preferences
    • The stored preferences should match the selected preferences
  • Stop Test
    • use the ctrl-alt/option-r keyboard short cut or clear the browser cookie

Boundary Tests

________________________________________________________

Description
Ensures proper functionality at the input limits

Protocol
Perform these tasks on the following site. Make sure to use USB keys with each of the environments supported file system formats.

  1. http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=electron
  2. http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=search

Test 1: Write to USB - Empty

  • Procedure
    1. Attach an empty USB drive to the computer
    2. Open the browser and navigate to the specified URL
    3. Continue through each screen changing some preferences from the default values
    4. Proceed to the end of the tool to save a preference set
    5. View stored preferences ( https://bs-dev-prefs.mybluemix.net/preferences/%token?view=firstDiscovery ) where %token should be replaced by the GPII Token 
  • Expected Results
    • Ensure that the token written to the USB drive in the .gpii-user-token.txt file matches what was displayed in first discovery
    • Ensure that the preferences written to the USB drive in the .first-discovery-preferences.txt file match the default preferences
    • The Confirmation page should match the selected preferences
    • The stored preferences should match the selected preferences
  • Stop Test
    • use the ctrl-alt/option-r keyboard short cut or clear the browser cookie

Test 2: Write to USB - Partial

  • Procedure
    1. Attach a partially used USB drive to the computer
    2. Open the browser and navigate to the specified URL
    3. Continue through each screen changing some preferences from the default values
    4. Proceed to the end of the tool to save a preference set
    5. View stored preferences ( https://bs-dev-prefs.mybluemix.net/preferences/%token?view=firstDiscovery ) where %token should be replaced by the GPII Token 
  • Expected Results
    • Ensure that the token written to the USB drive in the .gpii-user-token.txt file matches what was displayed in first discovery
    • Ensure that the preferences written to the USB drive in the .first-discovery-preferences.txt file match the default preferences
    • Ensure that the original contents of the USB drive remain
    • The Confirmation page should match the selected preferences
    • The stored preferences should match the selected preferences
  • Stop Test
    • use the ctrl-alt/option-r keyboard short cut or clear the browser cookie

Test 3: Write to USB - Full

  • Procedure
    1. Attach a full USB drive to the computer
      1. Info on how to fill up a USB device on windows
    2. Open the browser and navigate to the specified URL
    3. Proceed to the end of the tool to save a preference set
    4. View stored preferences ( https://bs-dev-prefs.mybluemix.net/preferences/%token?view=firstDiscovery ) where %token should be replaced by the GPII Token 
  • Expected Results
    • An error indicating that the drive is full is displayed to the user
  • Stop Test
    • use the ctrl-alt/option-r keyboard short cut or clear the browser cookie

Test 4: Write to USB - Multiple Drives

  • Procedure
    1. Attach multiple USB drives to the computer
    2. Open the browser and navigate to the specified URL
    3. Continue through each screen changing some preferences from the default values
    4. Proceed to the end of the tool to save a preference set
    5. View stored preferences ( https://bs-dev-prefs.mybluemix.net/preferences/%token?view=firstDiscovery ) where %token should be replaced by the GPII Token 
  • Expected Results
    • Ensure that the token and preferences are written to only one of the drives
    • Ensure that the token written to the USB drive in the .gpii-user-token.txt file matches what was displayed in first discovery
    • Ensure that the preferences written to the USB drive in the .first-discovery-preferences.txt file match the default preferences
    • The Confirmation page should match the selected preferences
    • The stored preferences should match the selected preferences
  • Stop Test
    • use the ctrl-alt/option-r keyboard short cut or clear the browser cookie

Test 5: Write to USB - Invalid File System

  • Procedure
    1. Attach a USB drive to the computer which is formatted with an unsupported file system
    2. Open the browser and navigate to the specified URL
    3. Proceed to the end of the tool to save a preference set
    4. View stored preferences ( https://bs-dev-prefs.mybluemix.net/preferences/%token?view=firstDiscovery ) where %token should be replaced by the GPII Token 
  • Expected Results
    • An error indicating that a drive error is presented to the user
  • Stop Test
    • use the ctrl-alt/option-r keyboard short cut or clear the browser cookie

Test 6: No USB

  • Procedure
    1. Do not attach a USB drive to the computer
    2. Open the browser and navigate to the specified URL
    3. Proceed to the end of the tool to save a preference set
    4. View stored preferences ( https://bs-dev-prefs.mybluemix.net/preferences/%token?view=firstDiscovery ) where %token should be replaced by the GPII Token 
  • Expected Results
    • An error indicating that not drive is not available is presented to the user
  • Stop Test
    • use the ctrl-alt/option-r keyboard short cut or clear the browser cookie

Ad-hoc

________________________________________________________

Description
Tests which should cause errors or not be accepted as input

Protocol
Attempt to use the tool in various situations, using your imagination and freedom to explore the interface and interactions.

  1. http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=electron
  2. http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=search