Version 15 (modified by rostanin, 16 years ago) (diff) |
---|
Manual test scenarios for LeCoOntWeb
Scenario 1 (Create a new CM)
- User oleg.rostanin (demo111) logs in
- User clicks on the /File/New concept map and dialog appears
- If user clicks for the first time, default values for namespace, prefix and type are set
- Otherwise the values from the last time
- If user presses Create, a new CM is created
- Is open in the application
- Added to the list of open CMs
- A new locked model appears in the model on the server
- The CM is saved in the DB
- If one of the values in the form is not specified - the user is informed about this
- If user presses Cancel, the dialog disappears (default values are not changed)
Scenario 2 (Correct control availability)
- User oleg.rostanin (demo111) logs in / Closes the last concept map
- Edit CM Info is disabled
- Save CM is disabled
- Close CM is disabled
- New Concept is disabled
- View menu items are disabled
- Popups are disabled
- User opens a concept map
- CM is read/write
- Edit CM Info is enabled
- Save CM is enabled (if the CM is changed, otherwise disabled)
- Close CM is enabled
- New Concept is enabled
- View menu items are enabled
- Popups are enabled
- Dbl-click on the empty field opens a New concept dialog
- Right-click on concept opens read/write Concept Info dialog (if concept is not locked by other users, otherwise read-only)
- CM is read-only
- Edit CM Info turns to View CM info
- Save CM is disabled
- Close CM is disabled
- New Concept is disabled
- View menu items are disabled
- Popups are disabled (except the navigation)
- Dbl-click does not work
- Right-click on concept opens read-only Concept Info dialog
- CM is read/write
Scenario 3 (Create new concept in a CM)
- User dbl-clck on the free field of a read/write concept map (alternatively, menu File/New concept)
- New C. dialog appears
- User fills in data
- User clicks create
- Concept is created in the current CM
- Concept is created in the locked concept on the server
- The DB remains unchanged
- CM is changed
- New C. dialog appears
Scenario 4 (Edit a concept in a CM)
- User rght-clck on a concept
- Edit C. dialog appears
- Concept is locked
- User changes data (uri can not be changed)
- User clicks save
- Concept is changed in the current CM
- Concept is changed on the server (changes visible for the user only)
- The DB remains unchanged
- CM is changed
- Concept remains locked until thge CM is saved
- Edit C. dialog appears
Scenario 5 (Save a CM)
- User clicks save concept map
- Model on the server is saved to the DB
- Concept map is unchanged
- Concept map remains locked
Saving concepts
- Once a concept is saved withing a locked CM the changes are reflected in the server-side model but not saved permanently (db). Concept lock is kept untill the CM is saved/reverted
- Once a concept is saved from another editing point changes are saved in the model and in the db
- If a new concept is created within a locked CM it is added to the server-side model and individual search index but not saved persistantly
- If a new concept is created withing other editing points it is added to the server-side model, common search index and saved persistantly
- If a concept in a CM was changed by another source (e.g. in a infoItems cockpit or VV)
- User has to get a signs that concepts were changed
- e.g. some symbol displayed as a concept icon
- If user opens such a concept it has to be refreshed from the server
- Flex-application should send "refresh"-requests periodically to get informed about changed concepts
- User has to get a signs that concepts were changed
Saving CMs
- All read-only CMs should get a flag "dirty" if the editing user saved/closed it
- e.g. some symbol displayed
- User can refresh the CM contents from the server
- User can request a CM lock if the editing user closed the CM
- Flex-application should send "refresh"-requests periodically to get informed about changed CMs
- If the user closed a CM without saving, the server-side model has to be reverted