usecase: Add connection

public usecase: Add connection
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 9.12.2005 4:37:08; Modified: 9.12.2005 12:17:47;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {D4B1B4BD-9DE1-48c3-A157-ED387E37C241}

Goto: Scenarios

See also: User, NewDBConnectionForm

Appears in: UC Database connections

Add connection Scenarios
Scenario Type Detail
Show dialog Add connections Basic Path User click on "Add ..." button on Manage connections dialog.
Program open dialog NewDBConnectionForm.
Fill Parameters - description, short description Basic Path User insert Description and short description. Short description should be less characters (4 or 5), but it is not neccessary.
Description and short description must not be empty. If at least one of these parameters is empty program show information about it and set focus to incorrectly fill item.
Fill Parameters - Connection Basic Path User choose one from "using connection name" and "using connection string" and fill relevant Text box with value of connection name (possibly connection string).
If user want to have this connection as work, then check work connection.
Test connection Basic Path User click on Test connection button.
Program create new DatabaseInfo object.
Using his property check if connection is Valid, Broken or SQL Error and show correspond message to user.
Confirm dialog Basic Path User Add connection using "Add" button.
Program checks if all values are filled and create new DatabaseInfo object. This object is added to List view in Manage connections dialog.
Not fill/incorrect parameters Alternate If any mandatory parameter is not fill then program after click on "Add" button show information message and set focus on mandatory or incorrect defined value. User can change value and confirm it again.