SnakeGrid Transformer Test Script Version 01.005
The following tests are intended to be run 'in sequence' - later tests rely on files that have been generated from previous tests. This means that the testing schedule should be followed as listed below:
SnakeGrid Transformer Test Script data
The files required by the following test schedule are:
- 01_tq2878_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/01_tq2878_osgb.dgn]
- 01_error.dat [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/001_error.dat]
- 02_tqlinear_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/02_tqlinear_osgb.dgn]
- 02_tq2779_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/02_tq2779_osgb.dgn]
- 02_tq2879_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/02_tq2879_osgb.dgn]
- 02_tq2979_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/02_tq2979_osgb.dgn]
- 03_tq2877_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/03_tq2877_osgb.dgn]
- 04_tqactive_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/04_tqactive_osgb.dgn]
- 04_tq2776_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/04_tq2776_osgb.dgn]
- 04_tq2876_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/04_tq2876_osgb.dgn]
- 04_tq2976_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/04_tq2976_osgb.dgn]
- 05_tqempty_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/05_tqempty_osgb.dgn]
- 06_tqshape_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/06_tqshape_osgb.dgn]
- 06_tq2775_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/06_tq2775_osgb.dgn]
- 06_tq2875_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/06_tq2875_osgb.dgn]
- 06_tq2975_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/06_tq2975_osgb.dgn]
- 07_gridset_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/07_gridset_osgb.dgn]
- 08_tqarea_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/08_tqarea_osgb.dgn]
- 08_tq2774_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/08_tq2774_osgb.dgn]
- 08_tq2874_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/08_tq2874_osgb.dgn]
- 08_tq2974_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/08_tq2974_osgb.dgn]
- 09_su7373_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/09_su7373_osgb.dgn]
- 10_suarea_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/10_suarea_osgb.dgn]
- 10_su7274_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/10_su7274_osgb.dgn]
- 10_su7374_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/10_su7374_osgb.dgn]
- 10_su7474_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/10_su7474_osgb.dgn]
- 11_goarea_lsg.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/11_goarea_lsg.dgn]
- 12_goshape_lsg.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/12_goshape_lsg.dgn]
- 12_goshape01_lsg.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/12_goshape01_lsg.dgn]
- 12_goshape02_lsg.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/12_goshape02_lsg.dgn]
- 12_goshape03_lsg.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/12_goshape03_lsg.dgn]
- 12_goshape04_lsg.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/12_goshape04_lsg.dgn]
- 13_tqregion_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/13_tqregion_osgb.dgn]
- 13_tq2774_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/13_tq2774_osgb.dgn]
- 13_tq2874_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/13_tq2874_osgb.dgn]
- 13_tq2974_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/13_tq2974_osgb.dgn]
- 14_sv5834_lsg.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/14_sv5834_lsg.dgn]
- 14_grid1024x1024.png [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/14_grid1024x1024.png]
- 15_tq2878_osgb.dwg [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/15_tq2878_osgb.dwg]
- 16_tq2878refs_osgb.dwg [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/16_tq2878refs_osgb.dwg]
- 17_tq2878_osgb.dxf [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/17_tq2878_osgb.dxf]
- 18_tq2878refs_osgb.dxf [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/18_tq2878refs_osgb.dxf]
- 19_tqrefs01_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/19_tqrefs01_osgb.dgn]
- 19_tqrefs02_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/19_tqrefs02_osgb.dgn]
- 19_tqrefs03_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/19_tqrefs03_osgb.dgn]
- 19_tqrefs04_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/19_tqrefs03_osgb.dgn]
- 20_tqrefs_osgb.dgn [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/20_tqrefs_osgb.dgn]
- 20_tq2878_osgb.dwg [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/20_tq2878_osgb.dwg]
- 20_tq2878_osgb.dxf [http://www.dhp11.com/site04/product/snakegrid_transformer/testdata/v01_005/20_tq2878_osgb.dxf]
The above files need to be copied to the following directory before any tests are performed:
c:\Program Files\dhp11\!SnakeGrid Transformer\
1. Load SnakeGrid Transformer application and record version
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\01_tq2878_osgb.dgn
- From the main menu select 'Utilities->Key-in' to open the 'Key-in' window
- In the 'Key-in' window, enter 'mdl load sgrd' and Return to open the SnakeGrid Transformer (SGRD) application
- An Information dialog opens displaying the following message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to close the Information dialog
- The 'Set current grid system' dialog will open
- In the 'Key-in' window, enter 'sgrd version' and Return
- Record the version that appears in the Information dialog that is displayed as 'SGRD Version nnn' where nnn is the version number
- Press the [OK] push button to close the Information dialog
- Expected Result
- The version of the SnakeGrid Transformer (SGRD) application is displayed
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
2. Set Grid System (active file only)
- The 'Set current grid system' dialog should be open
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set.
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
3. Test DAT file selection
3.1. Specifying an invalid .dat file (i.e. blank/empty text field)
Set the text field 'DAT file:' to blank/empty
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\01_tq2878_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- In the 'DAT file:' set the text field to blank:
- Press the [Process] pushbutton
- Expected Result
- An Information dialog opens displaying the following message:
SnakeGrid DAT file [] could not be opened.
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
3.2. Selecting an invalid .dat file (i.e. specified file does not exist)
Try to select/specify a .dat file that does not exist
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- In the 'DAT file:' text field enter: c:\temp\snakeparams_xrail09.dat
- Press the [Process] pushbutton
- Expected Result
- An Information dialog opens displaying the following message:
SnakeGrid DAT file [c:\temp\snakeparams_xrail09.dat] could not be opened.
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
3.3. Selecting an invalid .dat file (i.e. selecting an invalid .dat file)
Select an invalid .dat file:
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- In the 'DAT file:' text field enter: c:\Program Files\dhp11\!SnakeGrid Transformer\01_error.dat (or navigate to this file using the [...] browse button/dialog)
- Press the [Process] push button
- Expected Result
- An Information dialog opens displaying the following message:
SnakeGrid DAT file [c:\Program Files\dhp11\SnakeGrid Transformer\01_error.dat] is not valid for this licence.
The above error message shows that the selected DAT file was invalid.
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
4. OSGB to SNAKE (ACTIVE FILE ONLY)
4.1. Check the current OSGB map tile (active file only)
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\01_tq2878_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area TQ2878 will be displayed.
- Check the extents of the map tile area TQ2878
- # Bottom left: 528000.00, 178000.00
- # Top left: 528000.00, 179000.00
- # Top right: 529000.00, 179000.00
- # Bottom right: 529000.00, 178000.00
NOTE: The above is not a check of the SnakeGrid Transformer application - it is to make sure that the correct map tile/extents exist before performing a transformation
4.2. Translate from OSGB to SNAKE grid system (active file only)
- The '!SnakeGrid Transformer' dialog will open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Select the file 'snakeparams_xrail09.dat':
- # Press the [...] push button to open the 'Select a snakegrid...' dialog
- # Navigate to and select the file: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat
- Press the [Process] push button
- Expected Result
- A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the file TQ2878 being transformed from OSGB to the SNAKE grid system. When complete the following line should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
SNAKE |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
4.3. Check the SNAKE map tile (active file only)
The shape element showing the extents of map tile TQ2878 should be moved to the SNAKE grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area TQ2878 will be displayed.
- Check the extents of the map tile area TQ2878
- Expected Result
- The shape element showing the extents of map tile TQ2878 should be moved to the following position:
- Bottom left: 90235.1996, 83506.9607
- Top left: 90262.5232, 84506.7870
- Top right: 91262.3430, 84479.4702
- Bottom right: 91235.0213, 83479.6489
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
4.4. Check for Grid System (active file only)
To test that a Grid System exists in the active design file:
- The '!SnakeGrid Transformer' dialog should be open
- The 'Convert to:' option button should be set to: SNAKE
- In the 'Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
SNAKE |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
SNAKE |
Already in transformation format |
The message informs the user that the current Grid System is set to 'SNAKE' for the active file.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
5. SNAKE to OSGB (ACTIVE FILE ONLY)
5.1. Translate from SNAKE to OSGB grid system (active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the file TQ2878 being transformed from SNAKE to the OSGB grid system. When complete the following line should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
5.2. Check the OSGB map tile (active file only)
The shape element showing the extents of map tile TQ2878 should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area TQ2878 will be displayed.
- Check the extents of the map tile area TQ2878
- Expected Result
- The shape element showing the extents of map tile TQ2878 should be moved to the following position:
- Bottom left: 528000.00, 178000.00
- Top left: 528000.00, 179000.00
- Top right: 529000.00, 179000.00
- Bottom right: 529000.00, 178000.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
5.3. Check for Grid System (active file only)
To test that a Grid System exists in the active design file:
- The '!SnakeGrid Transformer' dialog should be open
- The 'Convert to:' option button should be set to: OSGB
- In the 'Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active file.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
6. OSGB to LSG (ACTIVE FILE ONLY)
6.1. Translate from OSGB to LSG grid system (active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: LSG
- The text field 'DAT file:' will be disabled
- Press the [Process] push button
- Expected Result
- A dialog called 'File Transformation Queue (Converting to LSG)' should be opened. This will show the file TQ2878 being transformed from OSGB to the LSG grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
LSG |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
6.2. Check the LSG map tile (active file only)
The shape element showing the extents of map tile TQ2878 should be moved to the LSG grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area TQ2878 will be displayed.
- Check the extents of the map tile area TQ2878
- Expected Result
- The shape element showing the extents of map tile TQ2878 should be moved to the following position:
- Bottom left: 78258.6653, 32811.6554
- Top left: 78283.8258, 33811.5390
- Top right: 79283.7029, 33786.3849
- Bottom right: 79258.5443, 32786.5061
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
7. LSG to OSGB (ACTIVE FILE ONLY)
7.1. Translate from LSG to OSGB grid system (active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the file TQ2878 being transformed from SNAKE to the OSGB grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\01_tq2878_osgb.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
7.2. Check the OSGB map tile (active file only)
The shape element showing the extents of map tile TQ2878 should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area TQ2878 will be displayed.
- Check the extents of the map tile area TQ2878
- Expected Result
- The shape element showing the extents of map tile TQ2878 should be moved to the following position:
- Bottom left: 528000.00, 178000.00
- Top left: 528000.00, 179000.00
- Top right: 529000.00, 179000.00
- Bottom right: 529000.00, 178000.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
8. OSGB to READING (ACTIVE FILE ONLY)
8.1. Check the current OSGB map tile (active file only)
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\09_su7373_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area SU7373 will be displayed.
- Check the extents of the map tile area SU7373
- # Bottom left: 473000.00, 173000.00
- # Top left: 473000.00, 174000.00
- # Top right: 474000.00, 174000.00
- # Bottom right: 474000.00, 173000.00
NOTE: The above is not a check of the SnakeGrid Transformer application - it is to make sure that the correct map tile/extents exist before performing a transformation
8.2. Translate from OSGB to READING grid system (active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: READING
- The text field 'DAT file:' will be disabled
- Press the [Process] push button
- Expected Result
- A dialog called 'File Transformation Queue (Converting to READING)' should be opened. This will show the file SU7373 being transformed from OSGB to the READING grid system. When complete the following line should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\09_su7373_osgb.dgn |
READING |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
8.3. Check the READING map tile (active file only)
The shape element showing the extents of map tile SU7373 should be moved to the READING grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area SU7373 will be displayed.
- Check the extents of the map tile area SU7373
- Expected Result
- The shape element showing the extents of map tile SU7373 should be moved to the following position:
- # Bottom left: 473000.5361, 172999.6570
- # Top left: 473000.5356, 173999.9723
- # Top right: 474000.7816, 173999.9797
- # Bottom right: 474000.7781, 172999.6736
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
8.4. Check for Grid System (active file only)
To test that a Grid System exists in the active design file:
- The '!SnakeGrid Transformer' dialog should be open
- The 'Convert to:' option button should be set to: READING
- In the 'Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\09_su7373_osgb.dgn |
READING |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\09_su7373_osgb.dgn |
READING |
Already in transformation format |
The message informs the user that the current Grid System is set to 'READING' for the active file.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
9. READING to OSGB (ACTIVE FILE ONLY)
9.1. Translate from READING to OSGB grid system (active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the file SU7373 being transformed from READING to the OSGB grid system. When complete the following line should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\09_su7373_osgb.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
9.2. Check the OSGB map tile (active file only)
The shape element showing the extents of map tile SU7373 should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile area SU7373 will be displayed.
- Check the extents of the map tile area SU7373
- Expected Result
- The shape element showing the extents of map tile SU7373 should be moved to the following position:
- Bottom left: 473000.00, 173000.00
- Top left: 473000.00, 174000.00
- Top right: 474000.00, 174000.00
- Bottom right: 474000.00, 173000.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
9.3. Check for Grid System (active file only)
To test that a Grid System exists in the active design file:
- The '!SnakeGrid Transformer' dialog should be open
- The 'Convert to:' option button should be set to: OSGB
- In the 'Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\09_su7373_osgb.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\09_su7373_osgb.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active file.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
10. OSGB to SNAKE (ACTIVE FILE AND REFERENCE FILES)
10.1. Set OSGB grid system (for active and all reference files)
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\02_tqlinear_osgb.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Attach the following reference files if they are not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\02_tq2779_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\02_tq2879_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\02_tq2979_osgb.dgn
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set.
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
10.2. Check the current OSGB map tile (for active and all reference files)
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 will be displayed:
- Check the extents of the map tile areas TQ2779:
- # TQ2779 Bottom left: 527000.00, 179000.00
- # TQ2779 Top left: 527000.00, 180000.00
- # TQ2779 Top right: 528000.00, 180000.00
- # TQ2779 Bottom right: 528000.00, 179000.00
- Check the extents of the map tile areas TQ2879:
- # TQ2879 Bottom left: 528000.00, 179000.00
- # TQ2879 Top left: 528000.00, 180000.00
- # TQ2879 Top right: 529000.00, 180000.00
- # TQ2879 Bottom right: 529000.00, 179000.00
- Check the extents of the map tile areas TQ2979:
- # TQ2979 Bottom left: 529000.00, 179000.00
- # TQ2979 Top left: 529000.00, 180000.00
- # TQ2979 Top right: 530000.00, 180000.00
- # TQ2979 Bottom right: 530000.00, 179000.00
NOTE: The above is not a check of the SnakeGrid Transformer application - it is to make sure that the correct map tile/extents exist before performing a transformation
10.3. Translate from OSGB to SNAKE grid system (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Select the file: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the files being transformed from OSGB to the SNAKE grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
SNAKE |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
SNAKE |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
SNAKE |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
SNAKE |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
10.4. Check the SNAKE map tile (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the SNAKE grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 will be displayed.
- Check the elements that cover the extents of the map tile areas TQ2779, TQ2879, TQ2979
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the following position:
- Check the extents of the map tile areas TQ2779: * TQ2779 Bottom left: 89262.6993, 84534.1029 * TQ2779 Top left: 89290.0326, 85533.9340 * TQ2779 Top right: 90289.8563, 85506.6148 * TQ2779 Bottom right: 90262.5232, 84506.7870
- Check the extents of the map tile areas TQ2879: * TQ2879 Bottom left: 90262.5232, 84506.7870 * TQ2879 Top left: 90289.8563, 85506.6148 * TQ2879 Top right: 91289.6768, 85479.2947 * TQ2879 Bottom right: 91262.3430, 84479.4702
- Check the extents of the map tile areas TQ2979: * TQ2979 Bottom left: 91262.3430, 84479.4702 * TQ2979 Top left: 91289.6768, 85479.2947 * TQ2979 Top right: 92289.4940, 85451.9756 * TQ2979 Bottom right: 92262.1602, 84452.1544
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
10.5. Check for Grid System (for active and all reference files)
To test that a Grid System exists in the active and all reference design files:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: SNAKE
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
SNAKE |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
SNAKE |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
SNAKE |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
SNAKE |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
SNAKE |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
SNAKE |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
SNAKE |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
SNAKE |
Already in transformation format |
The message informs the user that the current Grid System is set to 'SNAKE' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
11. SNAKE to OSGB (ACTIVE FILE AND REFERENCE FILES)
11.1. Translate from SNAKE to OSGB grid system (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the files being transformed from SNAKE to the OSGB grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
11.2. Check the OSGB map tile (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 will be displayed.
- Check the extents of the map tile areas TQ2779, TQ2879, TQ2979
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the following positions:
- Check the extents of the map tile areas TQ2779: * TQ2779 Bottom left: 527000.00, 179000.00 * TQ2779 Top left: 527000.00, 180000.00 * TQ2779 Top right: 528000.00, 180000.00 * TQ2779 Bottom right: 528000.00, 179000.00
- Check the extents of the map tile areas TQ2879: * TQ2879 Bottom left: 528000.00, 179000.00 * TQ2879 Top left: 528000.00, 180000.00 * TQ2879 Top right: 529000.00, 180000.00 * TQ2879 Bottom right: 529000.00, 179000.00
- Check the extents of the map tile areas TQ2979: * TQ2979 Bottom left: 529000.00, 179000.00 * TQ2979 Top left: 529000.00, 180000.00 * TQ2979 Top right: 530000.00, 180000.00 * TQ2979 Bottom right: 530000.00, 179000.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
11.3. Check for Grid System (for active and all reference files)
To test that a Grid System exists in the active and all reference design file:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: OSGB
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
12. OSGB to LSG (ACTIVE FILE AND REFERENCE FILES)
12.1. Translate from OSGB to LSG grid system (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: LSG
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to LSG)' should be opened. This will show the file TQ2878 being transformed from OSGB to the LSG grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
LSG |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
LSG |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
LSG |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
LSG |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
12.2. Check the LSG map tile (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the LSG grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- A shape element showing the extents of the map tile areas TQ2779, TQ2879, TQ2979 will be displayed
- Check the elements that cover the extents of the map tile areas TQ2779, TQ2879, TQ2979
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the following positions:
- Check the extents of the map tile areas TQ2779: * TQ2779 Bottom left: 77283.9446, 33836.6922 * TQ2779 Top left: 77309.1148, 34836.5805 * TQ2779 Top right: 78308.9957, 34811.4241 * TQ2779 Bottom right: 78283.8258, 33811.5390
- Check the extents of the map tile areas TQ2879: * TQ2879 Bottom left: 78283.8258, 33811.5390 * TQ2879 Top left: 78308.9957, 34811.4241 * TQ2879 Top right: 79308.8737, 34786.2669 * TQ2879 Bottom right: 79283.7029, 33786.3849
- Check the extents of the map tile areas TQ2979: * TQ2979 Bottom left: 79283.7029, 33786.3849 * TQ2979 Top left: 79308.8737, 34786.2669 * TQ2979 Top right: 80308.7485, 34761.1105 * TQ2979 Bottom right: 80283.5777, 33761.2317
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
12.3. Check for Grid System (for active and all reference files)
To test that a Grid System exists in the active and all reference design files:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: LSG
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
LSG |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
LSG |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
LSG |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
LSG |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
LSG |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
LSG |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
LSG |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
LSG |
Already in transformation format |
The message informs the user that the current Grid System is set to 'LSG' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
13. LSG to OSGB (ACTIVE FILE AND REFERENCE FILES)
13.1. Translate from LSG to OSGB grid system (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the files being transformed from LSG to the OSGB grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
13.2. Check the OSGB map tile (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 will be displayed
- Check the elements that cover the extents of the map tile area TQ2779, TQ2879, TQ2979
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles TQ2779, TQ2879, TQ2979 should be moved to the following positions:
- Check the extents of the map tile areas TQ2779: * TQ2779 Bottom left: 527000.00, 179000.00 * TQ2779 Top left: 527000.00, 180000.00 * TQ2779 Top right: 528000.00, 180000.00 * TQ2779 Bottom right: 528000.00, 179000.00
- Check the extents of the map tile areas TQ2879: * TQ2879 Bottom left: 528000.00, 179000.00 * TQ2879 Top left: 528000.00, 180000.00 * TQ2879 Top right: 529000.00, 180000.00 * TQ2879 Bottom right: 529000.00, 179000.00
- Check the extents of the map tile areas TQ2979: * TQ2979 Bottom left: 529000.00, 179000.00 * TQ2979 Top left: 529000.00, 180000.00 * TQ2979 Top right: 530000.00, 180000.00 * TQ2979 Bottom right: 530000.00, 179000.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
13.3. Check for Grid System (for active and all reference files)
To test that a Grid System exists in the active and all reference design file:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: OSGB
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2779_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2879_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tq2979_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\02_tqlinear_osgb.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
14. OSGB to READING (ACTIVE FILE AND REFERENCE FILES)
14.1. Set OSGB grid system (for active and all reference files)
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\10_suarea_osgb.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Attach the following reference files if they are not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\10_su7274_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\10_su7374_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\10_su7474_osgb.dgn
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set.
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
14.2. Check the current OSGB map tile (for active and all reference files)
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles SU7373, SU7374, SU7474 will be displayed:
- Check the extents of the map tile areas SU7274:
- # SU7274 Bottom left: 472000.00, 174000.00
- # SU7274 Top left: 472000.00, 175000.00
- # SU7274 Top right: 473000.00, 175000.00
- # SU7274 Bottom right: 473000.00, 174000.00
- Check the extents of the map tile areas SU7374:
- # SU7374 Bottom left: 473000.00, 174000.00
- # SU7374 Top left: 473000.00, 175000.00
- # SU7374 Top right: 474000.00, 175000.00
- # SU7374 Bottom right: 474000.00, 174000.00
- Check the extents of the map tile areas SU7474:
- # SU7474 Bottom left: 474000.00, 174000.00
- # SU7474 Top left: 474000.00, 175000.00
- # SU7474 Top right: 475000.00, 175000.00
- # SU7474 Bottom right: 475000.00, 174000.00
NOTE: The above is not a check of the SnakeGrid Transformer application - it is to make sure that the correct map tile/extents exist before performing a transformation
14.3. Translate from OSGB to READING grid system (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: READING
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to READING)' should be opened. This will show the files being transformed from OSGB to the READING grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7274_osgb.dgn |
READING |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7374_osgb.dgn |
READING |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7474_osgb.dgn |
READING |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_suarea_osgb.dgn |
READING |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
14.4. Check the READING map tile (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of map tiles SU7274, SU7374, SU7474 should be moved to the READING grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles SU7274, SU7374, SU7474 will be displayed.
- Check the elements that cover the extents of the map tile areas SU7274, SU7374, SU7474
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles SU7274, SU7374, SU7474 should be moved to the following position:
- # SU7274 Bottom left: 472000.2662, 173999.9895
- # SU7274 Top left: 472000.2475, 175000.3332
- # SU7274 Top right: 473000.5218, 175000.3100
- # SU7274 Bottom right: 473000.5356, 173999.9723
- Check the extents of the map tile areas SU7374:
- # SU7374 Bottom left: 473000.5356, 173999.9723 * SU7374 Top left: 473000.5218, 175000.3100 * SU7374 Top right: 474000.7922, 175000.3032 ** SU7374 Bottom right: 474000.7816, 173999.9797
- Check the extents of the map tile areas SU7474: * SU7474 Bottom left: 474000.7816, 173999.9797 * SU7474 Top left: 474000.7922, 175000.3032 * SU7474 Top right: 475001.0753, 175000.3008 * SU7474 Bottom right: 475001.0617, 173999.9889
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
14.5. Check for Grid System (for active and all reference files)
To test that a Grid System exists in the active and all reference design files:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: READING
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7274_osgb.dgn |
READING |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7374_osgb.dgn |
READING |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7474_osgb.dgn |
READING |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_suarea_osgb.dgn |
READING |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7274_osgb.dgn |
READING |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7374_osgb.dgn |
READING |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7474_osgb.dgn |
READING |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_suarea_osgb.dgn |
READING |
Already in transformation format |
The message informs the user that the current Grid System is set to 'READING' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
15. READING to OSGB (ACTIVE FILE AND REFERENCE FILES)
15.1. Translate from READING to OSGB grid system (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the files being transformed from READING to the OSGB grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7274_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7374_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7474_osgb.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_suarea_osgb.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
15.2. Check the OSGB map tile (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of map tiles SU7274, SU7374, SU7474 should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles SU7274, SU7374, SU7474 will be displayed.
- Check the extents of the map tile areas SU7274, SU7374, SU7474
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of map tiles SU7274, SU7374, SU7474 should be moved to the following positions:
- Check the extents of the map tile areas SU7274:
- # SU7274 Bottom left: 472000.00, 174000.00
- # SU7274 Top left: 472000.00, 175000.00
- # SU7274 Top right: 473000.00, 175000.00
- # SU7274 Bottom right: 473000.00, 174000.00
- Check the extents of the map tile areas SU7374:
- # SU7374 Bottom left: 473000.00, 174000.00
- # SU7374 Top left: 473000.00, 175000.00
- # SU7374 Top right: 474000.00, 175000.00
- # SU7374 Bottom right: 474000.00, 174000.00
- Check the extents of the map tile areas SU7474:
- # SU7474 Bottom left: 474000.00, 174000.00
- # SU7474 Top left: 474000.00, 175000.00
- # SU7474 Top right: 475000.00, 175000.00
- # SU7474 Bottom right: 475000.00, 174000.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
15.3. Check for Grid System (for active and all reference files)
To test that a Grid System exists in the active and all reference design file:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: OSGB
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7274_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7374_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7474_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_suarea_osgb.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7274_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7374_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_su7474_osgb.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\10_suarea_osgb.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
16. Invalid Grid System (ACTIVE FILE ONLY)
16.1. Set LSG Grid System (active file only)
To test that all elements to be transformed exists within the current Grid System - open an OSGB file, but set the Grid System to LSG (which is incorrect for this file):
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\03_tq2877_osgb.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Set the 'Set to' option button to: LSG
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set.
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
16.2. Translate from LSG to SNAKE grid system (active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Select the file: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat
- Press the [Process] push button
- Expected Result
- An Information dialog opens displaying the message 'There was at least one error found while checking. Transformation was stopped.'
- Press the [OK] push button to close the dialog
A dialog called 'File Transformation Queue (Converting to SNAKE)' will open showing the file TQ2877 being transformed from LSG to the SNAKE grid system. When complete the following line should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\03_tq2877_osgb.dgn |
LSG |
Error: Position out of bounds:(52.595862,6.483042) (SNK0 -2, 523) |
This warns the user that elements exist outside of the LSG grid System (which was previously set).
The transformation ends with no transformation having taken place.
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
16.3. Delete an incorrect Grid System (active file only)
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- An Alert dialog appears displaying the message 'You are about to remove the watermark from the active file, aswell as matching watermarks in any attached reference files. Do you wish to continue?
- Press the [OK] push button
- Expected Result
- An Information dialog opens displaying the message:
Watermark has been deleted.
The message informs the user that the previously set 'LSG' Grid System watermark has been removed.
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
16.4. Check for Grid System (active file only)
To test that no Grid System exists in the active design file:
- Open the SnakeGrid Transformer (SGRD) application. In the 'Key-in' window enter 'snakegrid dialog' and Return
- An Information dialog opens displaying the following message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'. This message shows that no Grid System watermark has been found in the active design file.
- Press the [OK] push button to open the 'Set current grid system' dialog
- In the Key-in' window enter 'conversion gridcheck' and Return
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\03_tq2877_osgb.dgn |
Not Set |
Not Checked |
The message informs the user that the previously set 'LSG' Grid System watermark has been removed from the active file and all reference files with a matching Grid System (i.e. LSG) to the active file.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
17. Invalid Grid System (ACTIVE FILE AND REFERENCE FILES)
17.1. Set LSG Grid System (for active and all reference files)
To test that all elements to be transformed exists within the current Grid System - open an OSGB file, but set the Grid System to LSG (which is incorrect for this file):
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\04_tqactive_osgb.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Attach the following reference files if they are not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\04_tq2776_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\04_tq2876_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\04_tq2976_osgb.dgn
- Set the 'Set to' option button to: LSG
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set.
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
17.2. Translate from LSG to SNAKE grid system (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Select the file: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat
- Press the [Process] push button
- Expected Result
- An Information dialog opens displaying the message 'There was at least one error found while checking. Transformation was stopped.'
- Press the [OK] push button to close the dialog
A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the files being transformed from LSG to the SNAKE grid system. Eventually the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tq2776_osgb.dgn |
LSG |
Error: Position out of bounds:(52.587761,6.467031) (SNK0 -2, 523) |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tq2876_osgb.dgn |
LSG |
Error: Position out of bounds:(52.586936,6.481687) (SNK0 -2, 523) |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tq2976_osgb.dgn |
LSG |
Error: Position out of bounds:(52.586110,6.496342) (SNK0 -2, 523) |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tqactive_osgb.dgn |
LSG |
Error: Position out of bounds:(52.587761,6.467031) (SNK0 -2, 523) |
This warns the user that elements exist outside of the LSG grid System (which was previously set).
The transformation ends and no transformation will take place.
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
17.3. Delete an incorrect Grid System (for active and all reference files)
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- An Alert dialog appears displaying the message 'You are about to remove the watermark from the active file, aswell as matching watermarks in any attached reference files. Do you wish to continue?
- Press the [OK] push button
- Expected Result
- An Information dialog opens displaying the message:
Watermark has been deleted.
The message informs the user that the previously set 'LSG' Grid System watermark has been removed from the active file and all reference files (with a matching Grid System to the active file).
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
17.4. Check for Grid System (for active and all reference files)
To test that no Grid System exists in the active design file:
- Open the SnakeGrid Transformer (SGRD) application. In the 'Key-in' window enter 'snakegrid dialog' and Return
- An Information dialog opens displaying the following message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'. This message shows that no Grid System watermark has been found in the active design file. Press the [OK] push button to open the 'Set current grid system' dialog
- In the Key-in' window enter 'conversion gridcheck' and Return
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tq2776_osgb.dgn |
Not Set |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tq2876_osgb.dgn |
Not Set |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tq2976_osgb.dgn |
Not Set |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\04_tqactive_osgb.dgn |
Not Set |
Not Checked |
The message informs the user that the previously set 'LSG' Grid System watermark has been removed from the active file and all reference files with a matching Grid System (i.e. LSG) to the active file.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
18. No Elements To Translate
18.1. Set OSGB Grid System (active file only)
To test that a Grid System cannot be set if no elements exist in the active file:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\05_tqempty_osgb.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been set because there are no elements in the file.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
18.2. Set OSGB Grid System (for active and all reference files)
To test that a Grid System cannot be set if one of the reference files attached to the active files contains no elements:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\06_tqshape_osgb.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Attach the following reference files if they are not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\06_tq2775_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\06_tq2875_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\06_tq2975_osgb.dgn
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set in the active file but could not be set in 1 reference file(s).
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
18.3. Empty file with OSGB Grid System set (active file only)
To test that an error is raised if a Grid System has been set but no elements exist in the active file:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\07_gridset_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- In the 'DAT file:' text field enter: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat (or navigate to this file using the [...] browse button/dialog)
- Press the [Process] push button
- Expected Result
- An Information dialog opens displaying the message 'There was at least one error found while checking. Transformation was stopped.'
- Press the [OK] push button to close the dialog
The dialog called 'File Transformation Queue - Completed' will be open displaying the following information in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\07_gridset_osgb.dgn |
OSGB |
File Failed - No elements found |
The above error message shows that the file being processed was invalid - a Grid system had been previously set, but no elements were found in the file.
NOTE: This may have occurred by the user deleting all elements within a file that had previously had a grid System set.
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
18.4. Empty reference file with OSGB Grid System set (for active and reference files)
To test that an error is raised if a Grid System has been set for all files, but no elements exist in one of the attached reference files:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\08_tqarea_osgb.dgn
- Attach the following reference files if they are not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\08_tq2774_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\08_tq2874_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\08_tq2974_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- In the 'DAT file:' text field enter: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat (or navigate to this file using the [...] browse button/dialog)
- Press the [Process] push button
- Expected Result
- An Information dialog opens displaying the message:
There was at least one error found while checking. Transformation was stopped.
- Press the [OK] push button to close the dialog
The dialog called 'File Transformation Queue - Completed' will be open displaying the following information in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\08_tq2774_osgb.dgn |
OSGB |
File OK |
| c:\Program Files\dhp11\SnakeGrid Transformer\08_tq2874_osgb.dgn |
OSGB |
File Failed - No elements found |
| c:\Program Files\dhp11\SnakeGrid Transformer\08_tq2974_osgb.dgn |
OSGB |
File OK |
| c:\Program Files\dhp11\SnakeGrid Transformer\08_tqarea_osgb.dgn |
OSGB |
File OK |
The above error message shows that one of the reference files being processed was invalid - a Grid system had been previously set, but no elements were found in one of the attached reference files.
NOTE: This may have occurred by the user deleting all elements within a file that had previously had a Grid System set.
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
18.5. Empty reference file with no Grid System set (for active and reference files)
To check that if one of the attached reference files is empty, and no Grid System has been set for that file, then the file will not be checked:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\13_tqregion_osgb.dgn
- Attach the following reference files if they are not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\13_tq2774_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\13_tq2874_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\13_tq2974_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- In the 'DAT file:' text field enter: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat (or navigate to this file using the [...] browse button/dialog)
- In the Key-in' window enter 'conversion gridcheck' and Return
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2774_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2874_osgb.dgn |
Not Set |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2974_osgb.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tqregion_osgb.dgn |
OSGB |
Not Checked |
The message informs the user that the 'OSGB' Grid System watermark has been set for the active file and two (2) reference files, but no Grid System has been set for the reference file '13_tq2874_osgb.dgn'.
- Press the [Check] pushbutton
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2774_osgb.dgn |
OSGB |
File OK |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2874_osgb.dgn |
Not Set |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2974_osgb.dgn |
OSGB |
File OK |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tqregion_osgb.dgn |
OSGB |
File OK |
The message informs the user that the active file and two (2) reference files are valid, but no check has been carried out on reference file '13_tq2874_osgb.dgn' because no Grid System has been set.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
18.6. Empty reference file with no Grid System set (for active and reference files)
To test that no error is raised if one of the attached reference files has no Grid System set (i.e. the file with no Grid System set is ignored and the other files are processed):
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\13_tqregion_osgb.dgn
- Attach the following reference files if they are not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\13_tq2774_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\13_tq2874_osgb.dgn
- # c:\Program Files\dhp11\!SnakeGrid Transformer\13_tq2974_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- In the 'DAT file:' text field enter: c:\Program Files\dhp11\!SnakeGrid Transformer\snakeparams_xrail09.dat (or navigate to this file using the [...] browse button/dialog)
- Press the [Process] push button
- Expected Result
- The dialog called 'File Transformation Queue - Completed' will be open displaying the following information in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2774_osgb.dgn |
SNAKE |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2874_osgb.dgn |
Not Set |
Not Checked (No watermark) |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tq2974_osgb.dgn |
SNAKE |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\13_tqregion_osgb.dgn |
SNAKE |
Success |
The message informs the user that three of the reference files that have a Grid System set have been correctly transformed, but the reference file '13_tq2874_osgb.dgn', which does not have a Grid System, has not been checked or processed.
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
19. LSG to OSGB with non default Global Origin (ACTIVE FILE) Global Origin
19.1. Translate from LSG to OSGB grid system with non default Global Origin (for active file only)
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\11_goarea_lsg.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the files being transformed from LSG to the OSGB grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\11_goarea_lsg.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
19.2. Check the OSGB map tile with non default Global Origin (for active file only)
The element contained in active file should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The shape contained in the active file will be displayed
- Check the extents of the element for TEST AREA
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of the area TEST AREA should be moved to the following positions:
- Check the extents of the area TEST AREA: * TEST AREA Bottom left: 460825.6899, 170599.1749 * TEST AREA Top left: 460274.8990, 192483.3736 * TEST AREA Top right: 570315.2437, 195256.9555 * TEST AREA Bottom right: 570866.2818, 173365.2802
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
19.3. Check for Grid System with non default Global Origin (for active file only)
To test that a Grid System exists in the active design file:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: OSGB
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\11_goarea_lsg.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\11_goarea_lsg.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active file.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
19.4. Translate from OSGB to LSG grid system with non default Global Origin (for active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: LSG
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to LSG)' should be opened. This will show the files being transformed from OSGB to the LSG grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\11_goarea_lsg.dgn |
LSG |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
19.5. Check the OSGB map tile with non default Global Origin (for active file only)
The element contained in active file should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The shape contained in the active file will be displayed
- Check the extents of the element for TEST AREA
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of the area TEST AREA should be moved to the following positions:
- Check the extents of the area TEST AREA: * TEST AREA Bottom left: 10900.00, 27100.00 * TEST AREA Top left: 10900.00, 49000.00 * TEST AREA Top right: 121000.00, 49000.00 * TEST AREA Bottom right: 121000.00, 27100.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
20. LSG to OSGB with non default Global Origin (ACTIVE FILE AND REFERENCE FILES)
20.1. Translate from LSG to OSGB grid system with non default Global Origin (for active and all reference files)
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\12_goshape_lsg.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to OSGB)' should be opened. This will show the files being transformed from LSG to the OSGB grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape_lsg.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape01_lsg.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape02_lsg.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape03_lsg.dgn |
OSGB |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape04_lsg.dgn |
OSGB |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
20.2. Check the OSGB map tile with non default Global Origin (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of areas SHAPE01, SHAPE02, SHAPE03, SHAPE04 should be moved to the OSGB grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the areas SHAPE01, SHAPE02, SHAPE03, SHAPE04 will be displayed
- Check the elements that cover the extents of the map tile area SHAPE01, SHAPE02, SHAPE03, SHAPE04
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of the areas SHAPE01, SHAPE02, SHAPE03, SHAPE04 should be moved to the following positions:
- Check the extents of the area SHAPE01: * SHAPE01 Bottom left: 460825.6899, 170599.1749 * SHAPE01 Top left: 460274.8990, 192483.3736 * SHAPE01 Top right: 487781.5897, 193176.6169 * SHAPE01 Bottom right: 488332.6241, 171290.5535
- Check the extents of the area SHAPE02: * SHAPE02 Bottom left: 488332.6241, 171290.5535 * SHAPE02 Top left: 487781.5897, 193176.6169 * SHAPE02 Top right: 515290.3369, 193869.9151 * SHAPE02 Bottom right: 515841.4256, 171982.0749
- Check the extents of the area SHAPE03: * SHAPE03 Bottom left: 515841.4256, 171982.0749 * SHAPE03 Top left: 515290.3369, 193869.9151 * SHAPE03 Top right: 542801.5463, 194563.5637 * SHAPE03 Bottom right: 543352.5883, 172673.5860
- Check the extents of the area SHAPE04: * SHAPE04 Bottom left: 543352.5883, 172673.5860 * SHAPE04 Top left: 542801.5463, 194563.5637 * SHAPE04 Top right: 570315.2437, 195256.9555 * SHAPE04 Bottom right: 570866.2818, 173365.2802
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
20.3. Check for Grid System with non default Global Origin (for active and all reference files)
To test that a Grid System exists in the active and all reference design file:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: OSGB
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape_lsg.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape01_lsg.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape02_lsg.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape03_lsg.dgn |
OSGB |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape04_lsg.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape_lsg.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape01_lsg.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape02_lsg.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape03_lsg.dgn |
OSGB |
Already in transformation format |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape04_lsg.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
20.4. Translate from OSGB to LSG grid system with non default Global Origin (for active and all reference files)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: LSG
- The text field 'DAT file:' will be disabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to LSG)' should be opened. This will show the files being transformed from OSGB to the LSG grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape_lsg.dgn |
LSG |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape01_lsg.dgn |
LSG |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape02_lsg.dgn |
LSG |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape03_lsg.dgn |
LSG |
Success |
| c:\Program Files\dhp11\SnakeGrid Transformer\12_goshape04_lsg.dgn |
LSG |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
20.5. Check the LSG map tile with non default Global Origin (for active and all reference files)
The elements contained in both the active file and attached reference files, which cover the extents of areas SHAPE01, SHAPE02, SHAPE03, SHAPE04 should be moved to the LSG grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The elements contained in both the active file and attached reference files, which cover the areas SHAPE01, SHAPE02, SHAPE03, SHAPE04 will be displayed
- Check the elements that cover the extents of the map tile area SHAPE01, SHAPE02, SHAPE03, SHAPE04
- Expected Result
- The elements contained in both the active file and attached reference files, which cover the extents of the areas SHAPE01, SHAPE02, SHAPE03, SHAPE04 should be moved to the following positions:
- Check the extents of the area SHAPE01: * SHAPE01 Bottom left: 10900.00, 27100.00 * SHAPE01 Top left: 10900.00, 49000.00 * SHAPE01 Top right: 38425.00, 49000.00 * SHAPE01 Bottom right: 38425.00, 27100.00
- Check the extents of the area SHAPE02: * SHAPE02 Bottom left: 38425.00, 27100.00 * SHAPE02 Top left: 38425.00, 49000.00 * SHAPE02 Top right: 65950.00, 49000.00 * SHAPE02 Bottom right: 65950.00, 27100.00
- Check the extents of the area SHAPE03: * SHAPE03 Bottom left: 65950.00, 27100.00 * SHAPE03 Top left: 65950.00, 49000.00 * SHAPE03 Top right: 93475.00, 49000.00 * SHAPE03 Bottom right: 93475.00, 27100.00
- Check the extents of the area SHAPE04: * SHAPE04 Bottom left: 93475.00, 27100.00 * SHAPE04 Top left: 93475.00, 49000.00 * SHAPE04 Top right: 121000.00, 49000.00 * SHAPE04 Bottom right: 121000.00, 27100.00
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
21. LSG to SNAKE attached raster (ACTIVE FILE ONLY)
21.1. Set LSG grid system (active file only)
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\14_sv5834_lsg.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Attach the following raster file Using Raster Manager if the image file is not already attached:
- # c:\Program Files\dhp11\!SnakeGrid Transformer\14_grid1024x1024.png
- Set the 'Set to' option button to: LSG
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set.
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
21.2. Check the current LSG map tile (for active file only)
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The boundary element and image file attached to the active file will be displayed:
- Check the extents of the map tile area:
- # Bottom left: 58000.0000, 34000.0000
- # Top left: 58000.0000, 35000.0000
- # Top right: 59000.0000, 35000.0000
- # Bottom right: 59000.0000, 34000.0000
NOTE: The above is not a check of the SnakeGrid Transformer application - it is to make sure that the correct map tile/extents exist before performing a transformation
21.3. Translate from LSG to SNAKE grid system (active file only)
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the files being transformed from LSG to the SNAKE grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\14_sv5834_lsg.dgn |
SNAKE |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
21.4. Check the SNAKE map tile (active file only)
The shape element contained in the active file and the attached image file, which cover the extents of map tile sv5834 should be moved to the SNAKE grid system. To check this:
- In the 'Key-in' window, enter 'fit' and Return
- # Enter a datapoint (left mouse click) in the active view
- The shape element contained in the active file and the attached image file, which cover the extents of map tile SV5834 will be displayed.
- Check the elements that cover the extents of the map tile area sv5834.
- Expected Result
- The boundary box and the attached image file, should be moved to the following position:
- # Bottom left: 69979.1718, 84739.1340
- # Top left: 69981.3358, 85739.1282
- # Top right: 70981.3302, 85736.9644
- # Bottom right: 70979.1662, 84736.9698
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
21.5. Check for Grid System (active file only)
To test that a Grid System exists in the active file:
- The '!SnakeGrid Transformer' dialog should be open
- Check the 'Convert to:' option button is set to: SNAKE
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\14_sv5834_lsg.dgn |
SNAKE |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\14_sv5834_lsg.dgn |
SNAKE |
Already in transformation format |
The message informs the user that the current Grid System is set to 'SNAKE' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
22. Processing MicroStation V8 design files with missing raster/reference file attachments (ACTIVE FILE ONLY)
22.1. Delete a Grid System (active file only)
To test that a Grid System can be deleted from a file with missing raster/reference file attachments:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\19_tqrefs01_osgb.dgn
- In the 'Key-in' window, enter 'dialog raster' to open Raster Manager dialog
- # The Raster Manager dialog should display the following files in red: testgrid01.png, testgrid02.png, testgrid03.png (this shows that these files are now missing/no longer attached)
- # Close the Raster Manager dialog
- In the 'Key-in' window, enter 'dialog reference' to open References dialog
- # The References dialog should display the following files in red: ref01.dgn, ref02.dgn, ref03.dgn (this shows that these files are now missing/no longer attached)
- # Close the References dialog
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- An Alert dialog appears displaying the message 'You are about to remove the watermark from the active file, aswell as matching watermarks in any attached reference files. Do you wish to continue?
- Press the [OK] push button
- Expected Result
- An Information dialog opens displaying the message:
Watermark has been deleted.
The message informs the user that the previously set 'OSGB' Grid System watermark has been removed.
NOTE: All files shown in red in both the Raster Manager and References dialog will have been removed. To check open the Raster Manager and References dialogs.
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
22.2. Set grid system for file with missing raster/reference file attachments (active file only)
To test that a Grid System can be set for a file with missing raster/reference file attachments:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\19_tqrefs02_osgb.dgn
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to open the 'Set current grid system' dialog
- Set the 'Set to' option button to: OSGB
- In the 'Key-in' window, enter 'dialog raster' to open Raster Manager dialog
- # The Raster Manager dialog should display the following files in red: testgrid01.png, testgrid02.png, testgrid03.png (this shows that these files are now missing/no longer attached)
- # Close the Raster Manager dialog
- In the 'Key-in' window, enter 'dialog reference' to open References dialog
- # The References dialog should display the following files in red: ref01.dgn, ref02.dgn, ref03.dgn (this shows that these files are now missing/no longer attached)
- # Close the References dialog
- Press the [Set Grid] push button on the 'Set current grid system' dialog
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set.
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
NOTE: All files shown in red in both the Raster Manager and References dialog will have been removed. To check open the Raster Manager and References dialogs.
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
22.3. Check a file with missing raster/reference file attachments (active file only)
To test that a check can be performed on a file with missing raster/reference file attachments:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\19_tqrefs03_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- In the 'Key-in' window, enter 'dialog raster' to open Raster Manager dialog
- # The Raster Manager dialog should display the following files in red: testgrid01.png, testgrid02.png, testgrid03.png (this shows that these files are now missing/no longer attached)
- # Close the Raster Manager dialog
- In the 'Key-in' window, enter 'dialog reference' to open References dialog
- # The References dialog should display the following files in red: ref01.dgn, ref02.dgn, ref03.dgn (this shows that these files are now missing/no longer attached)
- # Close the References dialog
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\19_tqrefs03_osgb.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\19_tqrefs03_osgb.dgn |
OSGB |
Already in transformation format |
The message informs the user that the current Grid System is set to 'OSGB' for the active and all attached reference files.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
NOTE: All files shown in red in both the Raster Manager and References dialog will have been removed. To check open the Raster Manager and References dialogs.
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
22.4. Transform a file with missing raster/reference file attachments (active file only)
To test that a file with missing raster/reference file attachments is transformed correctly:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\19_tqrefs04_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- In the 'Key-in' window, enter 'dialog raster' to open Raster Manager dialog
- # The Raster Manager dialog should display the following files in red: testgrid01.png, testgrid02.png, testgrid03.png (this shows that these files are now missing/no longer attached)
- # Close the Raster Manager dialog
- In the 'Key-in' window, enter 'dialog reference' to open References dialog
- # The References dialog should display the following files in red: ref01.dgn, ref02.dgn, ref03.dgn (this shows that these files are now missing/no longer attached)
- # Close the References dialog
- Press the [Process] push button on the '!SnakeGrid Transformer' dialog (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the files being transformed from OSGB to the SNAKE grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\19_tqrefs04_osgb.dgn |
SNAKE |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
NOTE: All files shown in red in both the Raster Manager and References dialog will have been removed. To check open the Raster Manager and References dialogs.
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23. Processing non MicroStation V8 design files (ACTIVE AND REFERENCE FILES)
23.1. Open a DWG file (active file only)
To test that a grid system cannot be set for a DWG file:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\15_tq2878_osgb.dwg
- A DWG/DXF Units dialog will be displayed - press the [OK] push button to close the dialog
- An Information dialog opens displaying the following message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to close the Information dialog
- The 'Set current grid system' dialog will open
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been set because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23.2. Check a DWG file (active file only)
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\15_tq2878_osgb.dwg
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- In the Key-in' window enter 'conversion gridcheck' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been checked because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
23.3. Delete a Grid System from a DWG file (active file only)
To test that a Grid System cannot be deleted from a DWG file:
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\15_tq2878_osgb.dwg
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been deleted because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23.4. Open a DWG file with missing raster/reference file attachments (active file only)
To test that a grid system cannot be set for a DWG file with missing raster/reference file attachments:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\16_tq2878refs_osgb.dwg
- A DWG/DXF Units dialog will be displayed - press the [OK] push button to close the dialog
- An Information dialog opens displaying the following message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to close the Information dialog
- The 'Set current grid system' dialog will open
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been set because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23.5. Check a DWG file with missing raster/reference file attachments (active file only)
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\16_tq2878refs_osgb.dwg
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- In the Key-in' window enter 'conversion gridcheck' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been checked because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
23.6. Delete a Grid System from a DWG file with missing raster/reference file attachments (active file only)
To test that a Grid System cannot be deleted from a DWG file with missing raster/reference file attachments:
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\16_tq2878refs_osgb.dwg
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been deleted because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23.8. Open a DXF file (active file only)
To test that a grid system cannot be set for a DXF file:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\17_tq2878_osgb.dxf
- A DWG/DXF Units dialog will be displayed - press the [OK] push button to close the dialog
- An Information dialog opens displaying the following message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to close the Information dialog
- The 'Set current grid system' dialog will open
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been set because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23.9. Check a DXF file (active file only)
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\17_tq2878_osgb.dxf
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- In the Key-in' window enter 'conversion gridcheck' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been checked because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
23.10. Delete a Grid System from a DXF file (active file only)
To test that a Grid System cannot be deleted from a DXF file:
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\17_tq2878_osgb.dxf
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been deleted because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23.11. Open a DXF file with missing raster/reference file attachments (active file only)
To test that a grid system cannot be set for a DXF file with missing raster/reference file attachments:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\18_tq2878refs_osgb.dxf
- A DWG/DXF Units dialog will be displayed - press the [OK] push button to close the dialog
- An Information dialog opens displaying the following message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Press the [OK] push button to close the Information dialog
- The 'Set current grid system' dialog will open
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been set because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
23.12. Check a DXF file with missing raster/reference file attachments (active file only)
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\18_tq2878refs_osgb.dxf
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- In the Key-in' window enter 'conversion gridcheck' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been checked because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
23.13. Delete a Grid System from a DXF file with missing raster/reference file attachments (active file only)
To test that a Grid System cannot be deleted from a DXF file with missing raster/reference file attachments:
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\18_tq2878refs_osgb.dxf
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- Expected Result
- An Information dialog opens displaying the following message:
- WARNING
- Grid system has NOT been deleted because the active file is NOT a MicroStation V8 DGN.
- Press the [OK] push button to close the dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
24. Processing a MicroStation V8 design file with attached DWG/DXF reference files (ACTIVE AND REFERENCE FILES)
24.1. Delete a Grid System (active file only)
To test that a Grid System can be deleted from a file with attached DWG/DXF reference files:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\20_tqrefs_osgb.dgn
- In the 'Key-in' window, enter 'snakegrid deletewatermark' and Return
- An Alert dialog appears displaying the message 'You are about to remove the watermark from the active file, aswell as matching watermarks in any attached reference files. Do you wish to continue?
- Press the [OK] push button
- Expected Result
- An Information dialog opens displaying the message:
Watermark has been deleted.
The message informs the user that the previously set 'OSGB' Grid System watermark has been removed.
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
24.2. Set grid system for file with attached DWG/DXF reference files (active file only)
To test that a Grid System can be set for a file with attached DWG/DXF reference files:
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\20_tqrefs_osgb.dgn
- Open the SnakeGrid Transformer (SGRD) application. In the 'Key-in' window enter 'snakegrid dialog' and Return
- An Information dialog opens displaying the message 'This DGN has no watermark specifying the current grid system. You can set a grid system in the next dialog.'
- Set the 'Set to' option button to: OSGB
- Press the [Set Grid] push button on the 'Set current grid system' dialog
- Expected Result
- An Information dialog opens displaying the following message:
Grid system has been set in the active file but could not be set in 2 reference file(s).
After pressing the [OK] push button, the '!SnakeGrid Transformer' dialog will open
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
24.3. Check a MicroStation V8 design file with DWG and DXF reference file attachments (active and all reference files)
To test that a MicroStation V8 design file with DWG and DXF reference file attachments is correctly checked:
- The following file should be open: c:\Program Files\dhp11\!SnakeGrid Transformer\20_tqrefs_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: OSGB
- The text field 'DAT file:' will be disabled
- In the Key-in' window enter 'conversion gridcheck' and Return
- The dialog 'File Transformation Queue - Grid Systems' will open showing the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tq2878_osgb.dwg |
Not Set |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tq2878_osgb.dxf |
Not Set |
Not Checked |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tqrefs_osgb.dgn |
OSGB |
Not Checked |
5. Press the [Check] push button
- Expected Result
- The dialog 'File Transformation Queue - Grid Systems' will show the following message:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tq2878_osgb.dwg |
Not Set |
File Failed - File format is not V8 |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tq2878_osgb.dxf |
Not Set |
File Failed - File format is not V8 |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tqrefs_osgb.dgn |
OSGB |
Already in transformation format |
The message informs the user that two (2) attached reference files are non MicroStation V8 design files which have no Grid System set.
- Press the [Close] push button to close the 'File Transformation Queue - Grid Systems' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
24.4. Transform a MicroStation V8 design file with DWG and DXF reference file attachments (active and all reference files)
To test that a MicroStation V8 design file with DWG and DXF reference file attachments can be transformed:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\20_tqrefs_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the files being transformed from OSGB to the SNAKE grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tq2878_osgb.dwg |
Not Set |
File Failed - File format is not V8 |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tq2878_osgb.dxf |
Not Set |
File Failed - File format is not V8 |
| c:\Program Files\dhp11\SnakeGrid Transformer\20_tqrefs_osgb.dgn |
SNAKE |
Success |
The message informs the user that the active design file has been transformed, but that two (2) of the attached reference files have not been transformed because they are non MicroStation V8 design files which have no Grid System set.
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
25. Processing a MicroStation V8 design file containing all elements (ACTIVE FILE ONLY)
25.1. Transform a MicroStation V8 2d design file containig all elements (active and all reference files)
To test that a MicroStation V8 design file containing all elements can be transformed:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\21_tq2878_2d_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Delete all 'B-Spline' elements from the file
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the files being transformed from OSGB to the SNAKE grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\21_tq2878_2d_osgb.dgn |
SNAKE |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
25.2. Transform a MicroStation V8 3d design file contai9nign all elements (active and all reference files)
To test that a MicroStation V8 design file containing all elements can be transformed:
- Open the file: c:\Program Files\dhp11\!SnakeGrid Transformer\21_tq2878_3d_osgb.dgn
- The '!SnakeGrid Transformer' dialog should be open
- Set the 'Convert to:' option button to: SNAKE
- The text field 'DAT file:' will be enabled
- Delete all 'B-Spline', 'Solid' and 'Surfaces' elements from the file
- Press the [Process] push button (to translate the elements)
- Expected Result
- A dialog called 'File Transformation Queue (Converting to SNAKE)' should be opened. This will show the files being transformed from OSGB to the SNAKE grid system. When complete the following lines should be displayed in the dialog list:
| File |
Grid |
Status |
| c:\Program Files\dhp11\SnakeGrid Transformer\21_tq2878_3d_osgb.dgn |
SNAKE |
Success |
- Press the [Close] push button to close the 'File Transformation Queue - Completed' dialog
- Test History - Previous Result/Comments
- SGRD (Version
$ Actual Result/Comments :
26. Close (Unload) the SnakeGrid Transformer application
- Unload the SnakeGrid Transformer (SGRD) application. Enter 'mdl unload sgrd' and Return
- Expected Result
- In the Microstation status window the following message will be displayed:
sgrd unloaded.
- Test History - Previous Result/Comments
- SGRD (Version
- Actual Result/Comments
-
See Also
- SnakeGrid Transformer Test Script
- SnakeGrid Transformer Test Script Version 01.000?
- SnakeGrid Transformer Test Script Version 01.001?
- SnakeGrid Transformer Test Script Version 01.002?
- SnakeGrid Transformer Test Script Version 01.003?
- SnakeGrid Transformer Test Script Version 01.004?