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
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.
- http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=electron
- http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=search
Test 1: Write to USB
- Procedure
- Attach a valid USB drive to the computer
- Open the browser and navigate to the specified URL
- Continue through each screen changing all preferences from the default values
- Proceed to the end of the tool to save a preference set
- 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.
- http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=electron
- http://first-discovery.mybluemix.net/demos/prefsServerIntegration/index.html?preview=search
Test 1: Write to USB - Empty
- Procedure
- Attach an empty USB drive to the computer
- Open the browser and navigate to the specified URL
- Continue through each screen changing some preferences from the default values
- Proceed to the end of the tool to save a preference set
- 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
- Attach a partially used USB drive to the computer
- Open the browser and navigate to the specified URL
- Continue through each screen changing some preferences from the default values
- Proceed to the end of the tool to save a preference set
- 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
- Attach a full USB drive to the computer
- Open the browser and navigate to the specified URL
- Proceed to the end of the tool to save a preference set
- 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
- Attach multiple USB drives to the computer
- Open the browser and navigate to the specified URL
- Continue through each screen changing some preferences from the default values
- Proceed to the end of the tool to save a preference set
- 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
- Attach a USB drive to the computer which is formatted with an unsupported file system
- Open the browser and navigate to the specified URL
- Proceed to the end of the tool to save a preference set
- 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
- Do not attach a USB drive to the computer
- Open the browser and navigate to the specified URL
- Proceed to the end of the tool to save a preference set
- 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.