Difference between revisions of "Testing/KalypsoWSPM Regression Test/Editing of profiles"

From KalypsoDev
Jump to: navigation, search
(Chart View)
(Chart legend)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= KalypsoWSPM Regression Test =
 
= KalypsoWSPM Regression Test =
== Welcome page and project management ==
+
= Editing of profiles =
  
 
+
== Preconditions ==
=== Precondition ===
+
 
* demo project active
 
* demo project active
 
* KalypsoWSPM Profile Manager View
 
* KalypsoWSPM Profile Manager View
 
* WSPM.gmv is open
 
* WSPM.gmv is open
  
 +
== Profile Table ==
  
=== Table ===
+
{| class="wikiTable" border="1"
 +
! Category !! Functionality !! Test !! Expected Result
 +
|-
 +
| Direct table editing || || ||
 +
|-
 +
| || Change property value || Enter new value || Value changed, table and profile update
 +
|-
 +
| Context Menu || || ||
 +
|-
 +
| || Copy || Copy row and paste into text editor || Nice formatted text...
 +
|-
 +
| || Move Down || Select row and move down || Row moved, table and profile update, GML is dirty
 +
|-
 +
| || Move Up || Select row and move up || Row moved, table and profile update, GML is dirty
 +
|-
 +
| || Delete || Delete some selected points || Rows deleted, table and profile update, GML is dirty
 +
|-
 +
| || Add Row || Add rows at start, end and in the middle of the table || Rows added, GML is dirty
 +
|-
 +
| Toolbar || || ||
 +
|-
 +
| || Copy || Copy row and paste into text editor || Nice formatted text...
 +
|-
 +
| || Move Down || Select row and move down || Row moved, table and profile update, GML is dirty
 +
|-
 +
| || Move Up || Select row and move up || Row moved, table and profile update, GML is dirty
 +
|-
 +
| || Delete || Delete some selected points || Rows deleted, table and profile update, GML is dirty
 +
|-
 +
| || Add Row || Add rows at start, end and in the middle of the table || Rows added, table and profile update, GML is dirty
 +
|-
 +
| View Menu || || ||
 +
|-
 +
| || Interpolate missing coordinates || Delete some coordinates and fill the holes with tool  || Coordinates should appear
 +
|-
 +
| || Change Properties || Change some properties || Values changed, table and profile update, GML is dirty
 +
|-
 +
| || Simplify || do it || Values changed, table and profile update, GML is dirty
 +
|-
 +
| || Insert row || do it || Rows appear, table and profile update, GML is dirty
 +
|-
 +
|}
  
==== Direct table editing ====
+
== Chart View ==
* Select a profile point an set a new height
+
** Value changed?
+
** Chart displays change, too?
+
 
+
==== Right-Mouse Button Tools ====
+
* Select a value
+
** move row down
+
** move row up
+
** delete row
+
** insert a new row
+
 
+
 
+
==== View Bar Actions ====
+
* select a row and
+
** move row down
+
** move row up
+
** delete row
+
** insert a new row
+
 
+
* Fill missing geometries wizard
+
** remove some profile coordinates (hochwert/rechts) at the middle and end of profile
+
** start "Setze fehlende Profilkoordinaten" wizard
+
** choose "From all points of the profile"
+
** activate extrapolation
+
** hit the finish button
+
** check: profile has still missing coordinates?
+
 
+
* Editing of point properties wizard
+
** start "Eigenschaften ändern..." wizard
+
** choose property "Höhe"
+
** select all properties
+
** choose offset +1
+
** hit the finish button
+
** height of profile points changed?
+
 
+
* "Profil ausdünnen"
+
** start "Profil ausdünnen" Dialog
+
** cancel dialog
+
*** undo action successful?
+
 
+
** start "Profil ausdünnen" Dialog again
+
** play with dialog settings
+
*** any changes? table and chart will be updated?
+
** press OK
+
** profile changed?
+
 
+
* "Punkte einfügen"
+
** TODO example input file for "Punkte einfügen" Dialog / Test!!!
+
 
+
 
+
 
+
=== Chart View ===
+
  
 
* Generate a new Map (to control selection / tools update will be triggered between chart, table and map view)
 
* Generate a new Map (to control selection / tools update will be triggered between chart, table and map view)
Line 70: Line 59:
 
** choose "In neuer Karte einfügen"
 
** choose "In neuer Karte einfügen"
  
 +
{| class="wikiTable" border="1"
 +
! Category !! Functionality !! Test !! Expected Result
 +
|-
 +
| Direct table editing || || ||
 +
|-
 +
| || Change property value || Enter new value || Value changed, table and profile update
 +
|-
 +
| Toolbar || || ||
 +
|-
 +
| || Copy || Copy row and paste into text editor || Nice formatted text...
 +
|-
 +
| || Maximize/Zoom/Pan || Change extent ||
 +
|-
 +
| || Pan || Change extent ||
 +
|-
 +
| || Maximize || Do it ||
 +
|-
 +
| || Edit || Move points, also bridge and markers || Profile changed, Table shows changes, GML is dirty
 +
|-
 +
| || Insert point || Insert a new point || Profile changed, Table shows changes, GML is dirty
 +
|-
 +
| || Select range || Move cursor, select point, range || Table selection is updated, Map selection is updated
 +
|-
 +
| || Toggle show selection || Move cursor and change selection in map || Cursor and selection shown or hidden according to toggle
 +
|-
 +
| || Waterlevel legend || Toggle shown waterlevel || Waterlevel shown in profile
 +
|-
 +
| || Copy image || Paste image into word or similar || Nice image appears
 +
|-
 +
| || Export image || Save image to file || Image is correct and nice
 +
|-
 +
| View Menu || || ||
 +
|-
 +
| || Keep Roughness toggle || Move marker and observe how roughness changes || Roughness should be kept for channel or not
 +
|-
 +
| || Extend waterlevel toggle || Move devider and observe how waterlevel is painted || Waterlevel is painted outside of model boundary or not
 +
|-
 +
|}
  
 +
== Chart legend ==
  
 +
{| class="wikiTable" border="1"
 +
! Category !! Functionality !! Test !! Expected Result
 +
|-
 +
| General functionality || || ||
 +
|-
 +
| ||  ||  ||
 +
|-
 +
|-
 +
| Add Layers || || ||
 +
|-
 +
| || TODO: add all layer types ||  ||
 +
|-
 +
|-
 +
| Remove layers|| || ||
 +
|-
 +
| || TOOO: different behaviour for different types of layers  ||  ||
 +
|-
 +
|}
 +
 +
==== Panels ====
 +
 +
* Layer "Geokoordinaten"
 +
** nothing to check
 +
* Layer "Rauheiten"
 +
** add kst column
 +
** add roughness classes column
 +
** add roughness factor column
 +
* Layer "Bewuchsklassen"
 +
** add Bewuchsklassen column
 +
* Layer "Wasserspiegel"
 +
** enable some calculation results
 +
** Wasserspiegellagen are displayed in profile chart view?
 +
* Layer "Wasserspiegel Fixierung"
 +
** enable some water level fixations
 +
** fixations are displayed in profile chart view?
 +
* Layer "Gelände"
 +
** nothing to check
 +
* Layer "Fließzonen"
 +
** play with / change some settings
 +
 +
=== Map View ===
 
==== Toolbar actions ====
 
==== Toolbar actions ====
* test mouse zoom / pan action
 
* test pan action
 
* zoom into chart and hit the maximize button
 
 
* activate toogle tool "Profil Cursor anzeigen" in Chart and Map View
 
* activate toogle tool "Profil Cursor anzeigen" in Chart and Map View
 
** zoom into selected profile on map
 
** zoom into selected profile on map
Line 81: Line 147:
 
*** cursor was updated at map view?
 
*** cursor was updated at map view?
 
*** cursor was updated at chart view?
 
*** cursor was updated at chart view?
* select "Bearbeiten" tool
 
** update profile point height
 
*** height changed?
 
*** active point changed (map, table and chart)?
 
 
* select "Einen neuen Profilpunkt ins Profil einfügen" tool
 
* select "Einen neuen Profilpunkt ins Profil einfügen" tool
 
** new point was insert?
 
** new point was insert?
Line 93: Line 155:
 
** select a profile point range
 
** select a profile point range
 
*** selected point changed (map, table and chart)?
 
*** selected point changed (map, table and chart)?
* open legend dialog
 
* copy chart to clipboard tool
 
** screenshot of chart was made? paste clipboard content to a paint programm
 
* image export
 
  
  
  
  
=== Map View ===
+
=== GML Views ===
==== Toolbar actions ====
+
like GmlTreeView or MapView
* activate toogle tool "Profil Cursor anzeigen" in Chart and Map View
+
 
** zoom into selected profile on map
+
 
** move profile cursor on chart and map view
+
==== Right-Mouse Button Context Menu Tools ====
*** cursor was updated at map view?
+
 
*** cursor was updated at chart view?
+
===== Import Wizards =====
* select "Einen neuen Profilpunkt ins Profil einfügen" tool
+
* Sobek
** new point was insert?
+
 
*** active point changed (map, table and chart)?
+
* "Tripple Dateien"
* select "Selection tool"
+
 
** select a single point
+
* "WspWin Profildateien"
*** active point changed (map, table and chart)?
+
 
** select a profile point range
+
* Profildatenbank - Gewässer
*** selected point changed (map, table and chart)?
+
 
 +
* Profildatenbank
 +
 
 +
 
 +
===== Export Wizards =====
 +
* ESRI Shape - Profillinien (mit Ergebnissen)
 +
 
 +
* ESRI Shape - Standard
 +
 
 +
* Komma getrennte Werte
 +
 
 +
* SOBEK ASCII
 +
 
 +
* Tripple
 +
 
 +
* WspWin Plotter
 +
 
 +
* WspWin Plotter Längsschnitt
 +
 
 +
* WspWin Profile

Latest revision as of 18:07, 14 October 2012

Contents

[edit] KalypsoWSPM Regression Test

[edit] Editing of profiles

[edit] Preconditions

  • demo project active
  • KalypsoWSPM Profile Manager View
  • WSPM.gmv is open

[edit] Profile Table

Category Functionality Test Expected Result
Direct table editing
Change property value Enter new value Value changed, table and profile update
Context Menu
Copy Copy row and paste into text editor Nice formatted text...
Move Down Select row and move down Row moved, table and profile update, GML is dirty
Move Up Select row and move up Row moved, table and profile update, GML is dirty
Delete Delete some selected points Rows deleted, table and profile update, GML is dirty
Add Row Add rows at start, end and in the middle of the table Rows added, GML is dirty
Toolbar
Copy Copy row and paste into text editor Nice formatted text...
Move Down Select row and move down Row moved, table and profile update, GML is dirty
Move Up Select row and move up Row moved, table and profile update, GML is dirty
Delete Delete some selected points Rows deleted, table and profile update, GML is dirty
Add Row Add rows at start, end and in the middle of the table Rows added, table and profile update, GML is dirty
View Menu
Interpolate missing coordinates Delete some coordinates and fill the holes with tool Coordinates should appear
Change Properties Change some properties Values changed, table and profile update, GML is dirty
Simplify do it Values changed, table and profile update, GML is dirty
Insert row do it Rows appear, table and profile update, GML is dirty

[edit] Chart View

  • Generate a new Map (to control selection / tools update will be triggered between chart, table and map view)
    • first select profile reach in gml tree view
    • press right mouse button
    • choose "In neuer Karte einfügen"
Category Functionality Test Expected Result
Direct table editing
Change property value Enter new value Value changed, table and profile update
Toolbar
Copy Copy row and paste into text editor Nice formatted text...
Maximize/Zoom/Pan Change extent
Pan Change extent
Maximize Do it
Edit Move points, also bridge and markers Profile changed, Table shows changes, GML is dirty
Insert point Insert a new point Profile changed, Table shows changes, GML is dirty
Select range Move cursor, select point, range Table selection is updated, Map selection is updated
Toggle show selection Move cursor and change selection in map Cursor and selection shown or hidden according to toggle
Waterlevel legend Toggle shown waterlevel Waterlevel shown in profile
Copy image Paste image into word or similar Nice image appears
Export image Save image to file Image is correct and nice
View Menu
Keep Roughness toggle Move marker and observe how roughness changes Roughness should be kept for channel or not
Extend waterlevel toggle Move devider and observe how waterlevel is painted Waterlevel is painted outside of model boundary or not

[edit] Chart legend

Category Functionality Test Expected Result
General functionality
Add Layers
TODO: add all layer types
Remove layers
TOOO: different behaviour for different types of layers

[edit] Panels

  • Layer "Geokoordinaten"
    • nothing to check
  • Layer "Rauheiten"
    • add kst column
    • add roughness classes column
    • add roughness factor column
  • Layer "Bewuchsklassen"
    • add Bewuchsklassen column
  • Layer "Wasserspiegel"
    • enable some calculation results
    • Wasserspiegellagen are displayed in profile chart view?
  • Layer "Wasserspiegel Fixierung"
    • enable some water level fixations
    • fixations are displayed in profile chart view?
  • Layer "Gelände"
    • nothing to check
  • Layer "Fließzonen"
    • play with / change some settings

[edit] Map View

[edit] Toolbar actions

  • activate toogle tool "Profil Cursor anzeigen" in Chart and Map View
    • zoom into selected profile on map
    • move profile cursor on chart and map view
      • cursor was updated at map view?
      • cursor was updated at chart view?
  • select "Einen neuen Profilpunkt ins Profil einfügen" tool
    • new point was insert?
      • active point changed (map, table and chart)?
  • select "Selection tool"
    • select a single point
      • active point changed (map, table and chart)?
    • select a profile point range
      • selected point changed (map, table and chart)?



[edit] GML Views

like GmlTreeView or MapView


[edit] Right-Mouse Button Context Menu Tools

[edit] Import Wizards
  • Sobek
  • "Tripple Dateien"
  • "WspWin Profildateien"
  • Profildatenbank - Gewässer
  • Profildatenbank


[edit] Export Wizards
  • ESRI Shape - Profillinien (mit Ergebnissen)
  • ESRI Shape - Standard
  • Komma getrennte Werte
  • SOBEK ASCII
  • Tripple
  • WspWin Plotter
  • WspWin Plotter Längsschnitt
  • WspWin Profile
Personal tools
Namespaces

Variants
Actions
Navigation
Manuals
Toolbox