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.



You are here: Test Case Matrix for cross-platform navigator features > Test Case Description for local file in new browser

Test Case Description for local file in new browser

Purpose

Test opening local files (both HTML and plain text tested) in a new Navigator window. Includes tests to dismiss dialog.

Initial Conditions

  1. Copy boring.html and dull.txt into a folder on your machine (eg, you desktop).
  2. Then bring up the Open Web Location dialog in the browser.
UI test #1
Steps/Description
  1. Click the Choose File... button.
  2. In the resulting file picker dialog, navigate and select the boring.html file.
  3. Click Open in the file picker to dismiss it.
  4. Select New Navigator window from the droplist, if it isn't already displayed there.
  5. Click the Open button (or hit Enter).
Expected Results
  1. After step #3, the full path and filename should be displayed in the textfield of the Open Web Location dialog.
  2. After the last step, the Open Web Location dialog should be dismissed.
  3. A new browser window should then come up, and boring.html displayed in it.
Dismissal #1
Steps/Description
  1. Click the Choose File... button.
  2. In the resulting file picker dialog, navigate and select the boring.html file.
  3. Click Open in the file picker to dismiss it.
  4. Select New Navigator window from the droplist, if it isn't already displayed there.
  5. Click the Cancel button (or hit Esc).
Expected Results The dialog should go away and the page in the current browser window remain unchanged.
UI test #2
Steps/Description
  1. Click the Choose File... button.
  2. In the resulting file picker dialog, navigate and select the dull.txt file.
  3. Click Open in the file picker to dismiss it.
  4. Select New Navigator window from the droplist, if it isn't already displayed there.
  5. Click the Open button (or hit Enter).
Expected Results
  1. After step #3, the full path and filename should be displayed in the textfield of the Open Web Location dialog.
  2. After the last step, the Open Web Location dialog should be dismissed.
  3. A new browser window should then come up, and dull.txt displayed in it.
Dismissal #2
Steps/Description
  1. Click the Choose File... button.
  2. In the resulting file picker dialog, navigate and select the dull.txt file.
  3. Click Open in the file picker to dismiss it.
  4. Select New Navigator window from the droplist, if it isn't already displayed there.
  5. Click the Cancel button (or hit Esc).
Expected Results The dialog should go away and the page in the current browser window remain unchanged.