|
Test Id
|
(t) Test Item
|
(i) Input Spec
|
(o) Output Spec
|
(e) Env needs
|
(d) Dependencies/ Notes
|
basic_action_001
|
Run
statement
|
1.
Open SQL editor.
2. Type some query.
3. Run it. |
1.
Statement should be executed and results for this statement should be
shown.
|
|
|
basic_action_002
|
Run
selection
|
1.
Open SQL editor.
2. Type some query and select only some part of it (better which also
presents valid statement).
3. Run it. |
1.
Selected statement should be executed and results for this statement
should be shown.
|
|
|
basic_action_003
|
Select
in Services
|
1.
Open SQL editor.
2. Type some query.
3. Select it, rightclick and choose "Select In > Services". |
1.
Services window should be opened and connection for the selected
statement should be selected.
|
|
Redundant action
|
records_number_001
|
Display
number of returned records/impacted rows |
1.
Open SQL editor.
2. Type some query.
3. Run it. |
3.
Number of returned records and pages should be displayed.
|
|
|
show_info_001
|
Quick
view of table info
|
1.
Rightclicking database table and choose "Properties". |
1.
Information about tables should be displayed. |
|
|
| show_info_002
|
Quick
view of column info
|
1.
Place cursor above column header and wait some time.
|
1.
Information about columns in the table should be displayed.
|
|
|
sort_001
|
Ability
to sort results based on column
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Click header of some column.
|
4.
Data should be sorted by this column.
|
|
|
set_size_001
|
Ability to set page size
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Change value for "Page Size" field from 20 to 10 and press Enter.
|
4. Data should be displayed 10
records per page.
|
|
|
work_DB_001
|
Insert new valid record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Press "Insert Record" button, specify necessary values and click OK.
|
4. New row should be added.
|
|
|
work_DB_002
|
Insert new invalid record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Press "Insert Record" button, specify invalid values and click OK.
|
4. Error message should appear
in the bottom of dialog and new row shouldn't be added.
|
|
|
work_DB_003
|
Cancel insert new record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Press "Insert Record" button and press "Cancel" button.
|
4. New row should be added.
|
|
|
work_DB_004
|
Show script for inserting of a
new record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Press "Insert Record" button, specify valid values and click "Show
SQL".
|
4. SQL Script for insert
specified data should be shown.
|
|
|
work_DB_005
|
Show script for inserting of a
invalid record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Press "Insert Record" button, specify invalid values and click "Show
SQL".
|
4. Error message should appear
in the bottom of dialog.
|
|
|
work_DB_006
|
Show script for inserting of a
invalid record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Press "Insert Record" button, specify values and click "Clear".
|
4. All fields should be cleared.
|
|
|
work_DB_007
|
Remove record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightlcick some record and choose "Delete Selected Record" and press
"Yes" in confirmation dialog.
|
4. Record should be deleted.
|
|
|
work_DB_008
|
Don't remove record
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightlcick some record and choose "Delete Selected Record" and press
"No" in confirmation dialog.
|
4. Record shouldn't be deleted.
|
|
|
work_DB_009
|
Remove several records
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Select several records, rightlcick and choose "Delete Selected
Record".
|
4. All records should be deleted.
|
|
|
work_DB_010
|
Cancel Edits
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Edit data in some cell.
5. Click "Cancel Edits" button.
|
4. Data should be changed.
5. All changes should be canceled.
|
|
|
work_DB_011
|
Commit Edits
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Edit data in some cell.
5. Click "Commit Selected Records" button. |
4. Data should be changed.
5. All changes should be commited to DB. |
|
|
work_DB_012
|
Commit not all edits
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Edit data in cells of several records.
5. Select only some of them and click "Commit Selected Records" button.
|
4. Data should be changed.
5. Changes only for selected recrods should be commited to DB. |
|
|
work_DB_013
|
Cancel truncate table
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightlcick and choose "Truncate Table".
5. In appeared dialog click "Cancel".
|
5. Data should be available in
the table.
|
|
|
work_DB_014
|
Truncate table
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightlcick and choose "Truncate Table".
5. In appeared dialog click "OK".
|
5. Table shouldn't contain any
data.
|
|
|
work_DB_015
|
Refresh records
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Change data outside IDE.
5. Press "Refresh Records" button.
|
5. Data should be refreshed.
|
|
|
work_DB_016
|
Print Table Data
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightclick results and choose "Pring Table Data".
|
4. Data should be printed.
|
|
|
work_DB_017
|
Copy Cell Value
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightclick some cell and choose "Copy Cell Value".
|
4. Data from the cell should be
copied.
|
|
|
work_DB_018
|
Copy Row Values
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightclick some row and choose "Copy Row Values".
|
4. Data from the row should be
copied.
|
|
|
work_DB_019
|
Copy Row Values (With Header)
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightclick some row and choose "Copy Row Values (With Header)".
|
4. Data with header from the row
should be copied.
|
|
|
work_DB_020
|
Show SQL Script for CREATE
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightclick some row and choose "Show SQL Script for CREATE".
|
4. Script for creation of the
table should be displayed.
|
|
|
work_DB_021
|
Show SQL Script for INSERT
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightclick some row and choose "Show SQL Script for INSERT".
|
4. Script for inserting of data
should be displayed.
|
|
|
work_DB_022
|
Show SQL Script for DELETE
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Rightclick some row and choose "Show SQL Script for DELETE".
|
4. Script for deletion of the
row should be displayed.
|
|
|
work_DB_023
|
Show SQL Script for UPDATE |
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Change some data in some row, rightclick this row and choose "Show
SQL Script for UPDATE".
|
4. Script for update of the row
should be displayed.
|
|
|
work_DB_024
|
Navigation between records
|
1.
Open SQL editor.
2. Type some query.
3. Run it.
4. Click "Next Page", "Previous Page", "First Page", "Last Page"
buttons.
|
5. It should be possible to
navigate between records with these buttons.
|
|
|