Test Case of MIS

download Test Case of MIS

of 12

Transcript of Test Case of MIS

  • 8/12/2019 Test Case of MIS

    1/12

    Test case No: 1 Module Name:Account Master

    S.No Test case Name Inpu t Expected

    Output

    Actual Output Valid/I nval

    id

    1 Displaying account

    details

    (Program:

    account_view.jsp)

    Account code:

    ac101(or)

    Account name:

    hostel

    Getting

    account details

    in

    corresponding

    fields

    Valid account

    details

    Valid

    2 Displaying account

    details

    (Program:

    account_view.jsp)

    Account code:

    Santhosh

    Getting

    account detailsin

    corresponding

    fields

    Invalid account

    details

    Invalid

    3 Enter the account

    details

    (Program:

    account_newmodify.jsp)

    Account code:

    khjgda9874

    Stores account

    details in the

    database

    Invalid string Invalid

    4 Modifying details

    (Program:

    account_newmodify.jsp)

    Account code:

    ac101

    Get account

    details in

    corresponding

    fields & then

    modifications

    are done

    Acc details are

    modified.

    valid

    5 Modifying details

    (Program:

    account_newmodify.jsp)

    Account code:

    jgad7146

    Get account

    details in

    corresponding

    fields & then

    modifications

    are done

    Modifications are

    not performed &

    undefined is

    displayed

    Invalid

  • 8/12/2019 Test Case of MIS

    2/12

    Test case No: 2 Module Name:Hostel Master

    S.No Test case Name Inpu t Expected

    Output

    Actual

    Output

    Valid/Invalid

    1 Displaying the Hostel

    details

    (Program:

    hostel_view.jsp)

    Hostel code:

    ho101

    Getting the

    hostel details

    for the

    corresponding

    code

    Valid hostel

    details

    Valid

    2 Displaying the Hostel

    details

    (Program:hostel_view.jsp)

    Hostel code:

    lkf8274

    Getting the

    hostel details

    for the

    corresponding

    code

    Invalid hostel

    details with

    undefined

    names

    Invalid

    3 Modifying the Hostel

    details

    (Program:

    hostel_modify.jsp)

    Hostel code:

    ho101

    Modifies the

    hostel details

    for the

    corresponding

    code

    Valid hostel

    details been

    modified &

    updated in

    the database

    Valid

    4 Modifying the Hostel

    details

    (Program:

    hostel_newmodify.jsp)

    Hostel code:

    kjad7864

    Modifies the

    hostel detailsfor the

    corresponding

    code

    Invalid hostel

    details withundefined

    names & are

    not modified

    in the

    database

    Invalid

    5 Entering the Hostel

    details

    (Program:

    hostel_newmodify.jsp)

    Hostel code:

    ho101

    Hostel fee:

    4321.50

    Enters the

    hostel details

    for the

    corresponding

    code

    Stores all

    these hostel

    details in

    hostel_tab

    database

    Valid

    6 Enter room for a

    particular Hostel

    (Program:

    hostel_room.jsp)

    Hostel code:

    ho101

    Room no: 2

    Enter room

    details for the

    hostel

    Stores all

    these hostel

    details in

    hostel_room

    Valid

  • 8/12/2019 Test Case of MIS

    3/12

    database

    Test case No: 3 Module Name:Fee Master

    S.No Test case Name I nput Expected

    Output

    Actual Output Valid/Invali d

    1 Displaying the Fee

    details

    (Program:

    feemaster_view.jsp)

    Fee code:

    fe101

    Getting the fee

    details for the

    corresponding

    code

    Valid fee

    details

    Valid

    2 Displaying the Fee

    details

    (Program:

    feemaster_view.jsp)

    Fee code:

    lk83276f8

    Getting the fee

    details for the

    corresponding

    code

    Invalid fee

    details with

    undefined

    names

    Invalid

    3 Modifying the Fee

    details

    (Program:

    hostel_modify.jsp)

    Fee code:

    fe101

    Modifies the

    fee details for

    the

    corresponding

    code

    Valid fee

    details been

    modified &

    updated in the

    database

    Valid

    4 Modifying the Fee

    details

    (Program:

    feemaster_newmodify.jsp)

    Fee code:

    kjad7864

    Modifies the

    fee details for

    the

    corresponding

    code

    Invalid fee

    details with

    undefined

    names & are

    not modified

    in the

    database

    Invalid

    5 Entering the fee

    details

    (Program:

    feemaster_newmodify.jsp)

    Fee code:

    fee101

    Enters the fee

    details for the

    corresponding

    code

    Stores all

    these hostel

    details in

    feemaster_tab

    database

    Valid

  • 8/12/2019 Test Case of MIS

    4/12

    6 Deleting fee details

    (Program:

    feemaster_delete.jsp)

    Fee code:

    Fe101

    Deletes the fee

    details for the

    corresponding

    code

    Deletes all

    these fee

    details in

    feemaster_tab

    database

    Valid

    Test case No: 3 Module Name:Course Master

    S.No Test case Name Input Expected Output Actual Output Vali d/I nvalid

    1 Displaying the Course

    details & itcorresponding branch,

    sem, seat, fee details

    (Program:

    coursemaster_view.jsp)

    Course

    name:BTech

    Getting the

    course details forthe

    corresponding

    name along with

    its corresponding

    branch, sem,

    seat, fee details

    Valid Course

    details

    Valid

    2 Displaying the Course

    details

    (Program:

    coursemaster_view.jsp)

    Course

    name:

    BTechjask

    Getting the fee

    details for the

    corresponding

    code from the

    coursemaster_tab

    Invalid course

    details with

    undefined

    names

    Invalid

    3 Modifying the Course

    details

    (Program:

    coursemaster_modify.jsp)

    Course

    name:

    BTech

    Modifies the

    course details for

    the

    corresponding

    code along with

    branch, sem, seat

    & fee

    Valid course

    details been

    modified &

    updated in the

    database

    Valid

    4 Entering the course

    details

    (Program:

    coursemaster_newmodify.jsp)

    Course

    name:

    BTech

    Duration:2

    Enters the course

    details for the

    corresponding

    code

    Stores all these

    course details in

    coursemaster_tab

    database

    Valid

  • 8/12/2019 Test Case of MIS

    5/12

    5 Deleting Course details

    (Program:

    coursemaster_delete.jsp)

    Course

    name:

    BTech

    Deletes the

    course details for

    the

    corresponding

    name along with

    all branch, sem,

    seat & fee details

    Deletes all these

    coursse details in

    coursemaster_tab

    database

    Valid

    Test case No: 1 Module Name:Permissions Program:givepermissions.jsp

    S.no Test case Name Inpu t Expected

    Output

    Actual Output Valid/I nval

    id

    1 Displaying student

    details

    Naveen Getting

    student details

    in

    corresponding

    fields

    Invalid String Invalid

    2 Enter the

    permissions details

    Amount:twenty

    Permissions

    Given By:

    principal

    No. of

    Installments: five

    The

    permissions

    should be given

    to the studentand the details

    of permissions

    are stored in

    database

    Number Format

    Exception

    Invalid

    3 Displaying student

    details

    06A81A05B3 Getting

    student details

    in

    corresponding

    fields

    Student details

    are displayed.

    valid

    4 Enter the

    permissions details

    Amount:27000

    Permissions

    Given By:

    principal

    The

    permissions

    should be given

    to the student

    and the details

    of permissions

    Details are stored

    in database and

    permissions are

    given to students

    Valid

  • 8/12/2019 Test Case of MIS

    6/12

    No. of

    Installments:5

    are stored in

    database

    Test case No: 2 Module Name:Permissions Program:viewpermissions.jsp

    S.no Test case Name Inpu t Expected

    Output

    Actual

    Output

    Valid/Invalid

    1 Displaying the

    permission details

    Naveen Getting the

    permission

    details for thecorresponding

    student

    Getting the

    string

    UNDEFINED

    in the fields.

    Invalid

    2 Displaying the

    permission details

    06A81A05B3 Getting the

    permission

    details for the

    corresponding

    student

    Student

    details are

    displayed.

    valid

    Test case No: 3 Module Name:Building Master Program:BuildingNewMod.jsp

    S.no

    Test case Name I nput Expected Output Actual Output Vali d/I nvalid

    1 Store the new

    building details

    Block No: B

    Room No:B302

    Allotted: Checked

    Sem:2

    Branch: CSE

    Values are

    inserted into data

    base successfully

    Number Format

    Exception

    Invalid

  • 8/12/2019 Test Case of MIS

    7/12

    2 Store the new

    building details

    Block No: B

    Room No: 302

    Allotted: Checked

    Sem:2

    Branch: CSE

    Values are

    inserted into data

    base successfully

    Values are

    inserted

    successfully in

    database

    valid

    Test case No: 4 Module Name:Building Master Program:BuildingDelete.jsp

    S.no

    Test case Name I nput Expected Output Actual Output Vali d/I nvalid

    1 Delete the existingbuilding details

    Block No: B

    Room No:307(room

    doesnt exist)

    Values aredeleted from

    data base

    successfully

    ExhaustedResult Set

    Invalid

    2 Store the new

    building details

    Block No: B

    Room No: 302

    Values are

    deleted from

    data base

    successfully

    Values are

    deleted from

    data base

    successfully

    valid

    Test case No: 5 Module Name:Hostel Allotment Program:hostelallotmentnew.jsp

    S.no

    Test case Name I nput Expected Output Actual Output Vali d/I nvalid

    1 Hostel room

    allotment for

    student

    Hostelcode:H0101

    RoomNo:203

    RollNo:06A81A05B

    The hostel room

    should be

    allocated to the

    student

    Roll Number

    doesnt exist

    Invalid

  • 8/12/2019 Test Case of MIS

    8/12

    2 Store the new

    building details

    Hostelcode:H0101

    RoomNo:203

    RollNo:06A81A05B3

    The hostel room

    should be

    allocated to the

    student

    The hostel

    room is

    allocated to the

    student

    valid

    Test case No: 6 Module Name:Hostel AllotmentProgram: hostelallotmentmod.jsp

    S.no Test case Name I nput Expected Output Actual Output Val id/I nvalid

    1 Hostel room

    modification for

    student

    Hostelcode:H0101

    RoomNo:203

    RollNo:06A81A05B

    The hostel room

    should be

    modified to the

    student

    Roll Number

    doesnt exist

    Invalid

    2 Store the new

    building details

    Hostelcode:H0101

    RoomNo:203

    RollNo:06A81A05B3

    The hostel room

    should be

    modified to the

    student

    The hostel

    room should be

    modified to the

    student

    valid

    Test case No: 1 Module Name:Transport Master Program:AreaMaster .jsp

    S.no Test case Name Inpu t Expected

    Output

    Actual Output Valid/I nval

    id

    1 Enter area details. Area name :819.

    Area fee:5200

    All details

    about the area

    are to be

    inserted into

    Invalid String Invalid

  • 8/12/2019 Test Case of MIS

    9/12

    database.

    2 Displaying area

    details

    Area name:

    Tanuku

    Getting area

    details in

    corresponding

    fields

    Area details are

    displayed.

    Valid

    3 Deleting area details Area name:

    Alampuram

    Values are to

    be deleted

    from the

    database

    successfully.

    Area details are

    deleted.

    valid

    4 Enter bus details Bus no: ap1789

    Seats: fifty

    Incharge name:

    Aazam

    Incharge

    mob:963852741

    The details of

    the bus are tobe stored in

    database

    Number format

    exception

    Invalid

    5 Enter Stage name

    Enter layout name

    Stage name: new

    bajaar

    Layout name:

    Venkateswara

    road.

    The details of

    the stage

    ,layout are to

    be stored in

    database

    The details of the

    stage,layout are

    stored in database

    Valid

    Test case No: 2 Module Name:IndividualfeeTable Program:IfeeDetails.jsp

    S.no Test case Name Inpu t Expected

    Output

    Actual

    Output

    Valid/Invalid

    1 Displaying the

    student details

    Naveen Getting student

    details for the

    corresponding

    Getting the

    string

    UNDEFINED

    Invalid

  • 8/12/2019 Test Case of MIS

    10/12

    student in the fields.

    2 Enter the fee details Fee name:

    admission_fee

    Discount type:Others

    The details of

    the student are

    to be inserted

    into the

    database

    Database

    table does

    not updated

    Invalid

    Test case No: 3 Module Name:Nominal Role Program:nominalroll.jsp

    S.no

    Test case Name I nput Expected Output Actual Output Vali d/I nvalid

    1 Display the no of

    boys and girls in a

    branch

    Branch: CSE

    Semester: 5

    Values of

    corresponding

    branch and

    semester are to

    be displayed in

    the

    corresponding

    fields

    Values are

    displayed in the

    corresponding

    fields are 0,0

    Invalid

    2 Display the details

    of the students in

    a branch

    Branch: CSE

    Semester: 1

    Values are to be

    displayed in the

    corresponding

    fields

    Values are

    displayed in the

    corresponding

    fields

    Valid

    Test case No: 4 Module Name:Fee card Program:FeeCard.jsp

    S.no

    Test case Name I nput Expected Output Actual Output Vali d/I nvalid

  • 8/12/2019 Test Case of MIS

    11/12

    1 Displaying details

    of fee for a

    student

    Roll no: 06A81A0510 Getting fee

    details of the

    student

    Exhausted

    Result Set

    Invalid

    2 Displaying detail

    corresponding to

    the academic year

    Academic year: 2009 Getting fee

    details of the

    student according

    to the academic

    year

    Cannot access

    the result after

    connection has

    been closed.

    Invalid

    Test case No: 5 Module Name:Fee DiscountList Program:discountList.jsp

    S.no

    Test case Name I nput Expected Output Actual Output Vali d/I nvalid

    1 Displaying the

    total fee details in

    every branch

    Fee name:

    admission_fee

    The details of the

    fee are to be

    retrieved from

    the database and

    displayed

    The details are

    displayed

    according to the

    fee name

    Valid

    2 Displaying the

    total fee details in

    every branch

    along with

    discount type

    Fee name:

    admission_fee

    Discount type: Merit

    The details of the

    fee are to be

    displayed from

    the database

    The details are

    displayed

    according to the

    fee and

    discouont type

    Valid

    Test case No: 6 Module Name: Reset password Program: changePassword.jsp

  • 8/12/2019 Test Case of MIS

    12/12

    S.no Test case Name I nput Expected Output Actual Output Val id/I nvalid

    1 Password

    changing for a

    user in a counter

    Old password:

    New password:

    Retype password:

    The password of

    the user is to be

    updated in the

    database

    Exhausted

    resultset

    Invalid

    2 Password

    changing for a

    user in a counter

    Old password:*****

    New password:****

    Retype password:****

    The password of

    the user is to be

    updated in the

    database

    The detail is

    placed in the

    database

    Valid