External Browser Test Specification
Author: Martin Brehovsky
Version: [2.1]
Last update: [04/02/2005]
Introduction: This document describes set
of tests on browser functionality.
Purpose: The purpose of these tests
is to verify that the user can use external browser from IDE
Setup: start IDE with a new userdir, so the
default browser is used for all the operations
| Test
case |
Action |
| Test browser
functionality on html page |
1. Create some html page
2. View the page (popup menu/view) |
RESULT:
The browser should open with the HTML page displayed
|
| Test browser
functionality on external page |
1.Select Help/Bookmarks/{Any Link}
|
RESULT:
The browser should open with the page from selected link
|
| Test browser
functionaliy on JavaDoc |
1.Press Alt-F1 in the editor on some
Java class name or method, which has corresponding JavaDoc
mounted (see JavaDoc manager)
|
RESULT:
The browser should open with found JavaDoc item
|
Test browser
functionaliy on Documentation Indices
|
1.Select View/Documentation
Indices/{Some Javadoc} |
RESULT:
The browser should open with the found Javadoc
|
| Test browser
functionality on URL links |
1. Create some URL link to filesystem
2. View the URL link
|
RESULT:
The browser should open with the location where the link points to
|
| Test browser
functionality on Web application |
1. Create a simple Web application
with a default Page (either JSP or plain HTML)
2. Execute the application
|
RESULT:
1. The application should be deployed to the chosen servlet container
2.
|
|
Purpose: These tests checks the
ability of system settings to use different browser, including
addition, deletion and renaming.
Setup:
| Test
case |
Action |
| System
settings |
1.Select Tools->Options->IDE
Configuration->System->System Settings
2. Click on "Web Browser" property and check that pull-down list
contains:
- Default System Browser (Windows only)
- Internet Explorer (Windows only)
- Netscape (if installed on Windows, always on Unix)
- Firefox (if installed on Windows, always on Unix)
- Mozilla (if installed on Windows, always on Unix)
- Swing HTML Browser
2. Each browser can be selected
|
RESULT:
1) All browsers must be present and each can
be selected????
2) When set, all tests with the previous suite should work with the new
browser
|
Register a new browser
|
1. Select
Tools->Options->IDE
Configuration->ServerAndExternalToolSetting->Web Browsers
2. Register a new browser by calling pop-up menu on the selected node,
click on New->External Browser
3. Find a executable and serialize the browser
|
RESULT:
1. The browser should be visible under the External Browser Node
2. The browser should be available for settings in
Tools->Options->IDE
Configuration->System->System Settings
3. The browser should work correctly (check the test suite 'Browser
functioanlity')
|
Delete
an existing browser
|
1. Select
Tools->Options->IDE
Configuration->ServerAndExternalToolSetting->Web Browsers
2. Delete browser, which is currently set as the system browser (Select
Tools->Options->IDE
Configuration->System->System Setting/Web Browser)
|
RESULT:
1. The deleted browser should no longer be available in system settings
2. The current system browser should be set to any other available
browser
|
| Rename
an existing browser |
1. Select
Tools->Options->IDE
Configuration->ServerAndExternalToolSetting->Web Browsers
2. Rename browser, which is currently set as the system browser (Select
Tools->Options->IDE
Configuration->System->System Setting/Web Browser) |
RESULT:
1. The browser should be correctly renamed
2. The browser set in system settings should be set to the new name
|
|