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