Utilities Test Specification
Author: Jaromir Uhrik
Version: 1.0.2
Last update: 25.08.2005
Introduction: This document is intended to be test specification of utilities module. Utilities module is set of four small modules.
Comment:
Table of Contents
|
Purpose:
Setup: none
| # | Test case | Description |
| 1 | Open file |
- Open 'Open File' dialog from File main menu.
- Select a file.
- Confirm dialog
|
|
| RESULT: | File should be opened. |
|
| 2 | Open file 2 |
- Close IDE
- Run IDE with parameter
--open xxx, where xxx is name of the existing java file
|
|
| RESULT: | IDE is started and the file xxx is opened in the editor |
|
|
Test suite 2: PDF
Purpose:
Setup: none
| # | Test case | Description |
| 1 | Open pdf file |
- Open pdf file from main menu.
- Wait to pdf file will be opened. This takes a few seconds (0-5)
|
|
| RESULT: | Pdf file should be properly opened. |
|
| 2 | Browsing through pdf file |
- While you will browse, will IDE 100% usable
|
|
| RESULT: | IDE should be usable after opening pdf file. |
|
| 3 | Setting pdf viewer |
- Go to Tools -> Options -> IDE configuration -> Server and External Tools Settings -> PDF Settings
- Specify new path to PDF viewer
- Close options
- Open PDF file
|
|
| RESULT: | PDF file is opened in specified external program |
|
|
|
Purpose:
Setup: Open project Utilities
| # | Test case | Description |
| 1 | Full text tab 1 |
- Open search dialog with 'Full text' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Fill all values to this tab
- Click to 'Help' button
- Wait to help appeared. This should takes a few seconds.
- Close help. Use x-widget
- Click to 'Close' button
|
|
| RESULT: | Nothing happened only dialog will be closed |
|
| 2 | Full text tab 2 |
- Open search dialog with 'Full text' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Enter
new as the text which is being searched, uncheck Search Whole Words Only,Match Case and Regular Expression.
- Click to Search button
|
|
| RESULT: | The search result window is opened where are listed 5 files which contain searched text. Double click on item from this list will open appropriate file in the editor |
|
| 3 | Parameters of the search |
- Start searching for word 'New' (see the case)
- Check Match Whole Words Only
- Run search
- Go back to search dialog by Modify Search
- Check Match Case in addition
|
| Teardown: | Close search result window |
|
|
| RESULT: | In the first search the 3 files are returned, in the second case no files containing specified string are found. |
|
| 4 | Searching regular expression |
- Open search dialog on 'Full text' tab
- Input '[nN]ewClas+' (without quotes) as searched text and check Regular Expression
- Perform search
|
|
| RESULT: | When Regular Expression is checked the other two checkboxes are disabled. Search return two suitable nodes. |
|
| 5 | Browsing results |
- Repeat any previous search
- In the result list try double click on items
- Try unfolding the listed item
- Click on Show All Details
- Click on some item form the newly opened window
|
|
| RESULT: | Double click on item will open appropriate file. When the item is unfolded all occurrences of the searched text is shown, clicking on the detail information will open the appropriate file and put cursor on the related place. Show All Details will open new window where are detail information about all founded occurrences. Clicking on them should open file and put cursor to referenced place. |
|
|
|
Purpose:
Setup: Project Utilities is opened
| # | Test case | Description |
| 1 | Object name tab 1 |
- Open search dialog with 'Object name' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Fill all values to this tab
- Click to 'Help' button
- Wait to help appeared. This should takes a few seconds.
- Close help. Use x-widget
- Click to 'Close' button
|
|
| RESULT: | Nothing happened only dialog will be closed |
|
| 2 | Object name tab 2 |
- Open search dialog with 'Object name' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Fill 'Class' as searched text, keep all search modifiers uncheck.
- Click to Search button
|
|
| RESULT: | The search should return 2 suitable files. Clicking on their name in the list will open them. |
|
|
|
Purpose:
Setup: Project Utilities is opened
| # | Test case | Description |
| 1 | Type tab 1 |
- Open search dialog with 'Type tab' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Fill all values to this tab
- Click to 'Help' button
- Wait to help appeared. This should takes a few seconds.
- Close help. Use x-widget
- Click to 'Close' button
|
|
| RESULT: | Nothing happened only dialog will be closed |
|
| 2 | Type tab 2 |
- Open search dialog with 'Type tab' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Select 'Ant scripts'
- Click to Search button
|
|
| RESULT: | One ant script should by found |
|
| 3 | Type tab 3 |
- Open search dialog on Type tab
- Select two types: Ant scripts and Form objects
- Try some of the others types
|
|
| RESULT: | Two files are returned as a result |
|
|
|
Purpose:
Setup: Project Utilities is opened
| # | Test case | Description |
| 1 | Date tab 1 |
- Open search dialog with 'Date tab' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Fill all values to this tab
- Click to 'Help' button
- Wait to help appeared. This should takes a few seconds.
- Close help. Use x-widget
- Click to 'Close' button
|
|
| RESULT: | Nothing happened only dialog will be closed |
|
| 2 | Date tab 2 |
- Open search dialog with 'Date tab' tab. Use 'ctrl-f' on PC keyboards or 'Find' key on Sparc keyboards
- Fill in Within the past
- Click to Search button
- Repeat this search again but this time fill in Between dates.
|
|
| RESULT: | The result of this search depends on the file's attributes. In generally files with proper modification time are returned. |
|
|
|
Purpose:
Setup: Project Utilities is opened
| # | Test case | Description |
| 1 | Combine two criteria |
- Fill two tabs. Don't forget check 'Use This Criterion for search' in both tabs
|
|
| RESULT: | There should be fonded strings in sources accordingly your select. |
|
| 2 | Combine all criteria |
- Fill all tabs. Don't forget check 'Use This Criterion for search' in both tabs
|
|
| RESULT: | There should be fonded strings in sources accordingly your select. |
|
| 3 | Excluding criterion |
- Open find dialog
- Fill in several tabs
- In one of the filled tab (marked with *) uncheck Use This Criterion for Search
- Click Search
|
|
| RESULT: | The proper results are listed in new window. The unchecked criterion wasn't used. (If all filled tabs are unchecked the Search is disabled) |
|
|
|
Purpose:
Setup: Project Utilities is opened
| # | Test case | Description |
| 1 | Modify search |
- Open find dialog
- Fill in some values
- Perform search
- Click Modify Search in the result window
|
|
| RESULT: | The search is performed correctly. After clicking on Modify Search, the find dialog is reopened and all values (in all tabs) are as before. |
|
| 2 | Save criterion |
- Open find dialog
- Enter some search criterion
- Save this criterion by Save Setting as
- Enter criterion name and click OK
- Perform search with some different criterion (to change default value when search dialog is opened again)
- Open find dialog and restore criterion by Restore Saved
- Repeat this test case for all tabs, use more than one saved criterion for each tab
|
|
| RESULT: | The criterion is save under specified name. It can be restored by selecting its name from list of saved criteria. |
|
|
Generated: 2005 08 25 12:49