cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

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. 


Test suite: 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) 
Test browser functionality on external page 1.Select Help/Bookmarks/{Any 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)
Test browser functionaliy on Documentation Indices
1.Select View/Documentation Indices/{Some Javadoc}
Test browser functionality on URL links 1. Create some URL link to filesystem
2. View the URL link
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

Test suite: System setting

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
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



Companion
Projects:
MySQL Database Server   GlassFish Community: an Open Source Application Server   Open Solaris  Open JDK: an Open SourceJDK   Mobile & Embedded Community     Sponsored by 
Sponsored by Sun Microsystems