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

From KalypsoDev
Jump to: navigation, search
(Welcome page and project management)
(Chart legend)
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
 
= KalypsoWSPM Regression Test =
 
= KalypsoWSPM Regression Test =
== Editing of profiles ==
+
= 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 ==
  
==== Toolbar actions ====
+
{| class="wikiTable" border="1"
* test mouse zoom / pan action
+
! Category !! Functionality !! Test !! Expected Result
* test pan action
+
|-
* zoom into chart and hit the maximize button
+
| General functionality || || ||
* 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?
+
| Add Layers || || ||
* select "Bearbeiten" tool
+
|-
** update profile point height
+
| || TODO: add all layer types ||  ||
*** height changed?
+
|-
*** active point changed (map, table and chart)?
+
|-
* select "Einen neuen Profilpunkt ins Profil einfügen" tool
+
| Remove layers|| || ||
** new point was insert?
+
|-
*** active point changed (map, table and chart)?
+
| || TOOO: different behaviour for different types of layers  ||  ||
* 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)?
+
* open legend dialog
+
* copy chart to clipboard tool
+
** screenshot of chart was made? paste clipboard content to a paint programm
+
* image export
+
 
+
  
 
==== Panels ====
 
==== Panels ====

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