9.usecase diagram

Upload: shanysunny

Post on 14-Apr-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 9.UseCase Diagram

    1/15

    Vishwakarma Institute of Technology, Pune-37.

    Cloud IDEUse Case Template

    10/05/2012

    Version 1.0

    Approvals Signature Block

    Project Responsibility Signature Date

    Prof. S.N.Shelke(Internal)10/05/2012

    Mr. Rajendra Khanchane(External)10/05/2012

    Department of Computer Engineering

  • 7/27/2019 9.UseCase Diagram

    2/15

    Use Case Template

    Table of Contents

    1. USE CASE TEMPLATE...........................................................................................................................3

    1. AUTHENTICATE:....................................................................................................................................4

    USE CASE 1...................................................................................................................................................4

    2. LOGIN.........................................................................................................................................................6

    USE CASE 2...................................................................................................................................................6

    3. CREATE PROJECT/FILE.......................................................................................................................7

    USE CASE 3 ..................................................................................................................................................8

    4. COMPILATION OF CODE.....................................................................................................................9

    USE CASE 4 ................................................................................................................................................10

    5. RUNNING CODE....................................................................................................................................11

    USE CASE 5.................................................................................................................................................12

    6. MAINTAIN...............................................................................................................................................13

    USE CASE 6 ................................................................................................................................................14

    2 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    3/15

    Use Case Template

    1. USE CASE TEMPLATE

    Complete Use Case Diagram Of System:

    Fig.Main System use case

    3 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    4/15

    Use Case Template

    1. AUTHENTICATE:

    USE CASE 1 Authentication

    Goal Allow access to authorize user.

    Purpose Create new user account and provide individual secure access toeach user.

    Preconditions User should have account or has to enter new details.

    Success Condition Account is created /Login successful.

    Failed Condition Login Failure

    Postconditions User can track his accounts. And can maintain his own code asprivate or public.

    Primary Actors User

    Secondary ActorsSoftware Database Controller.

    Trigger User

    4 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    5/15

    Use Case Template

    DESCRIPTION Step

    Basic Course of Action

    1 Select a new user

    2 Fill the form completely as per the predefined conditions

    3 Check the details entered i.e. validate.4 Login with user credentials.

    DESCRIPTION Step

    Alternate Course of Action

    1If the entered password and username are not satisfying therequired condition then ask to provide a new password andusername.

    2 If server problem exist try after sometime.

    3If the form is incomplete then prompt the user fill the requiredfields.

    5 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    6/15

    Use Case Template

    2. LOGIN

    USE CASE 2 Login

    Goal Authenticate the user.

    Purpose Provide access to valid user only.

    Preconditions Customer should have an account and valid username and passwordas well.

    Success Condition Login successful.

    Failed Condition Try till 3 attempt.

    Post conditions User will access their code.

    Primary Actors User, software developer.

    6 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    7/15

    Use Case Template

    Secondary ActorsSoftware Database Controller.

    Trigger User

    DESCRIPTION Step

    Basic Course of Action

    1 Enter username and password.

    2 Login to open the account

    3 Logout

    DESCRIPTION Step

    Alternate Course of Action

    1If the entered password or username is wrong the prompt theuser to re-enter the details

    2If the entered password or username is wrong then give forgotpassword option to user.

    3 If server problem exist try after sometime.

    3. CREATEPROJECT/FILE

    7 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    8/15

    Use Case Template

    USE CASE 3 Create project/file.

    Goal Create project directory or file on server.

    Purpose User can create project or file selecting language they desired todevelop code in.

    Preconditions Login should be done.

    Success Condition Project Directory should be created or file will be saved with.selected language extension.

    Failed Condition Server unable to respond

    Postconditions Project Directory will be created and code modules will be saved init.

    Primary Actors

    User, software developer ,programmer.

    Secondary ActorsServer

    Trigger User

    DESCRIPTION Step

    Basic Course of Action

    8 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    9/15

    Use Case Template

    1 Login to open the account

    2 Select already exist project or create new project./file.

    3 Enter the project/file name

    4 Select language for development.

    5 Click on create.DESCRIPTION Ste

    pAlternate Course of Action

    1If the entered password or username is wrong the prompt theuser to re-enter the details

    2 If server problem exist try after sometime.

    3 If the project name already exist try for another name.

    4. COMPILATIONOFCODE

    9 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    10/15

    Use Case Template

    USE CASE 4Complie

    Goal Allow the user to compile code.

    Purpose Provide way to user for compiling their code and handling error inefficient way.

    Preconditions User should entered code in rich text box.User should click on submit button.

    Success Condition Code will be compiled and error message will be shown.

    Failed Condition Server unable to responds.

    Post conditions User will be able to collect error message if any. Or compilesuccessful message.

    Primary Actors User , programmer.

    10 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    11/15

    Use Case Template

    Secondary Actors Server

    Trigger User

    DESCRIPTION Step

    Basic Course of Action

    1 Login to open the account

    2 Select projectType code in Rich Text Box.

    3 Click on Compile

    DESCRIPTION Step

    Alternate Course of Action

    1 If the entered credentials is wrong the prompt the user to re-enter the details

    2 If server problem exist try after sometime.

    5. RUNNINGCODE

    11 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    12/15

    Use Case Template

    USE CASE 5Run

    Goal Allow the user to run code.

    PurposeProvide way to user for runnig their code and handling error inefficient way.

    Preconditions User should entered code in rich text box.User should compile code.User should click on run button.

    Success Condition Code will be run and error message will be shown.

    Failed Condition Server unable to responds.Code contain run-time error.

    Post conditions User will be able to collect error message if any. Or will be shownoutput of their code.

    Primary Actors User , programmer.

    Secondary Actors Server

    Trigger User

    DESCRIPTION Step

    Basic Course of Action

    12 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    13/15

    Use Case Template

    1 Login to open the account

    2 Select projectType code in Rich Text Box.

    3 Click on Run.

    DESCRIPTION Step

    Alternate Course of Action

    1 If the entered credentials is wrong the prompt the user to re-enter the details

    2 If run-time error occur, check code.

    6. MAINTAIN

    13 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    14/15

    Use Case Template

    Fig. Maintain User code

    USE CASE 6 Maintain

    Goal Allow the user to save their code and review their already savedcode.

    Purpose Provide way to user for maintain their code and review alreadysaved code.

    Preconditions User should already login to system.

    Success Condition Code will be reloaded.Status of project will be shown.

    Failed Condition Server unable to responds.Post conditions User will be able to review their code and correct error message if

    any.

    Primary Actors User , programmer.

    Secondary Actors Server

    14 v. 1.0 2012

  • 7/27/2019 9.UseCase Diagram

    15/15

    Use Case Template

    Trigger User

    DESCRIPTION Step

    Basic Course of Action

    1 Login to open the account

    2 Select project name.Open project

    3 Click on review.

    DESCRIPTION Step

    Alternate Course of Action

    1 If the entered credentials is wrong the prompt the user to re-enter the details

    2 If server problem exist try after sometime.

    15 v. 1.0 2012