You are here: Test Case Matrix
for cross-platform navigator features > Test Case
Description for local file in current browser
Test Case Description for local file in current browser
Purpose
Test opening local files (both HTML and plain text) in the current
Navigator window. Includes tests to dismiss dialog.
Initial Conditions
- Copy boring.html and dull.txt into a folder on your machine (eg, your
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 Current 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, and boring.html displayed in the current
browser window.
|
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 Current 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 Current 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, and dull.txt displayed in the current browser
window.
|
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 Current 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. |