| # | Test case | Description |
| 1 | Insert String - Open help and close |
1. Open Insert Internationalized String dialog. Use main menu Tools|Internationalization|Insert Internationalized String. You must have opened a java file in source editor, otherwise this menu is disabled. 2. Press the Help button. 3. Wait to help appeared (0-10s) 4. Close help. Use small cross on the window frame. 5. Close the dialog. Press the Close button.
|
|
|
RESULT:
The dialog appeared and help window contained a help content. |
| 2 | Insert String - Select bundle name |
1. Open an Insert Internationalized String dialog. 2. Type a path of existed properties file into Bundle Name text field . The file should exists and be mounted in explorer. Properties file's path in its filesystem can be specified with java packages as java class (tests.properties).
|
|
|
RESULT:
Replace string is generated and is shown in the Replace String field in dialog. |
| 3 | Insert String - Select bundle name - Browse |
1. Open an Insert Internationalized String dialog. 2. Press the Browse button 3. Select an existing properies file in the appeared Select Resource Bundles dialog. 4. Close it by the Cancel button 5. Press the Browse button once more 6. Select an existing properies file in the appeared Select Resource Bundles dialog and press the OK button.
|
|
|
RESULT:
The Bundle Name text field contains the properties file path. |
| 4 | Insert String - Select bundle name - New |
1. Open an Insert Internationalized String dialog. 2. Press the New button 3. Select a package and write a name of new properties file to Object Name textfield in the appeared New Bundle dialog. 4. Press the OK button of the dialog.
|
|
|
RESULT:
The Bundle Name text field contains the properties file path. |
| 5 | Insert String - Change replace string format |
1. Open an Insert Internationalized String dialog. 2. Select bundle (see previous cases) 3. Press the Format... button. 4. Try to change format. If you would use the {arguments} tag than the Arguments button in Insert Internationalized String dialog will be enabled.
|
|
|
RESULT:
Format should be changed accordant with your changes |
| 6 | Insert String - Fill only comment |
1. Open an Insert Internationalized String dialog. 2. Select bundle (see previous cases) 3. Fill Comment in 4. Confirm dialog with OK button
|
|
|
RESULT:
Nothing will happen. |
| 7 | Insert String - Fill only key |
1. Open an Insert Internationalized String dialog. 2. Select bundle (see previous cases) 3. Fill Key in 4. Confirm dialog with OK button
|
|
|
RESULT:
A new property will be add to selected properties file without comment and value. Only key and equal sign are present.You should check values in properties file. Internationalization string is add to source file. |
| 8 | Insert String - Fill only value |
1. Open an Insert Internationalized String dialog. 2. Select bundle (see previous cases) 3. Fill Value in 4. Confirm dialog with OK button
|
|
|
RESULT:
Nothing will happen. |
| 9 | Insert Internationalized String |
1. Open an Insert Internationalized String dialog. 2. Select bundle (see previous cases) 3. Fill in Comment, Key and Value text fields 4. Confirm dialog with OK button
|
|
|
RESULT:
A new property will be add to selected properties file with appropriate comment, key and value. Internationalization string is insert into source file. |
|
|