Results 1 to 20 of 20

Thread: Format for writting test cases

  1. #1
    Expert Member
    Join Date
    Oct 2006
    Answers
    209

    Format for writting test cases

    In many examples we see text cases are written simply line-wise on a page, while in some examples it is written in tabular form. can anybody tell me what is actual format for writting test cases. (Give proper details for test cases for simle login form, having fields ([1- user id.], [2. passward ], [3. ok button], [4. cancel button]) you can send the exact details used.

    NOTE : [This question was asked by sanjayamb]


  2. #2
    Junior Member
    Join Date
    Dec 2006
    Answers
    10

    Re: Format for writting test cases

    hello sanjay..

    The templates differ company to company and mostly considered the build also... whether it is medium or large size....Mostly so many companies prepare with Excel sheets . The companies who have the license use Test Director and etc., ..... there also we can manupulate the fields according our build needs ...

    prasad.gandra


  3. #3
    Junior Member
    Join Date
    Dec 2006
    Answers
    4

    Re: Format for writting test cases

    Test Cases can be generalised with the following fields wihich are mandatory:

    Test Case Title (Refers to the Functionality of the product being tested)
    Test Case version( Required when multiple changes takes place in the product and the Test Case as well)

    The above fields are single value field provided one time at the heading of the Test Case.

    Fields which can be used in a tabular form for the Test Case are:
    1) Step No (Sequence used for no of test steps in the Test Case)
    2) Test Step (Actual step to be followed or executed)
    3) Expected Result ( Result which is expected as a normal behaviour)
    4) Actual Result ( Result which we actually get after we execute the test step)
    5) Defect id ( If the Expected and Actual result do not match then we need to log a defect either in a Defect logging tool or by maintaining an Excel sheet of defect incurred. The corresponding id generated for the defect logged should be mentioned in this column so that we can get the exact track of which defect is looged against the said Test Case.)
    6) Test Step result ( Whether the step is Passed or Failed is to be mentioned here)

    all the fields mentioned are generalised fields. Test Cases can be written either in Excel sheet or in Word ... But they should be written in a Tabular format. It helps out in a better understanding of the Test case.


  4. #4
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: Format for writting test cases

    General method for test case format is tabular method, why , because generally every company use excel sheet for writing test cases.Testcases fields have already been posted by others.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  5. #5
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Format for writting test cases

    We have the following details in Test Case document:

    Test Case ID, Title, Feature to be tested, Test suit ID, Priority, Test environment (h/w and s/w), Test duration (date and time), Test setup (preconditions for testing), Test Procedure/script, step no*, action*, Input required*, expected*, actual+, result+, defect id+ if any, status

    * - before receiving build.
    + - after receiving build and applying test.

    For each of the input objects:
    Object name, ECP valid and invalid, BVA min and max

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  6. #6
    Junior Member
    Join Date
    Nov 2006
    Answers
    6

    Re: Format for writting test cases

    It's in tabular form.Stick to that style


  7. #7
    Junior Member
    Join Date
    Nov 2006
    Answers
    5

    Re: Format for writting test cases

    hello all!
    can u tell me how do we writetestcases for perfomance,load,And stress?
    thanx
    nancy


  8. #8
    Junior Member
    Join Date
    Dec 2006
    Answers
    10

    Re: Format for writting test cases

    Hello Nancy,

    the test case template doesnt have much difference between them, but the mode of input values changes.

    Under the Performence , 4 concepts should be covered mainly :

    1) scalability Testing : To check whether your application allows customer expected load ( no. of users ) or not ?
    2) Load Testing : Execute our application under pre-determined level of Resources and Continuous load is called Load testing.
    3)Stress testing: -> Execution of our application under predetermined level of Resources and maximum Load is called stress testing.
    During this test, testing team estimates Peak load of our application or product.
    4)Volume testing : Execution of our application under huge amounts of resources to findout positive movements in performance is called Volume testing.

    JUst check it out, how the inputs need to go for all these tests.


  9. #9
    Junior Member
    Join Date
    Sep 2006
    Answers
    1
    Hai,
    There is no different format for writing Test cases different type of testing. Only Objective of Testing will be different accordingly the Test Description, input values and Expected results will be changed.

    Hai,

    Every Test case format will have common fields i.e Testcase Id, Test case name(title),Testtype(Positive/negative), Priority, Module, Functionality, Precondition, Testcase description, Expected result, Actual Result, Remarks, Author, Assigned to etc. Only Objective of testing will be different. That's all

    Last edited by jainbrijesh; 05-23-2007 at 03:01 AM.

  10. #10
    Expert Member
    Join Date
    Jan 2007
    Answers
    141

    Re: Format for writting test cases

    Hi sitnarcha,

    Am new member to this forum,i went through your discussions on Test cases and I appreciate your interesting discussions.when i read about on test case document format you mentioned Input Object name as

    ECP valid and invalid, BVA min and max

    What does this stands for ? Can u explain this?

    Thanks and Regards,
    Sridevi


  11. #11
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Format for writting test cases

    ECP - Equivalence Class Partitioning
    BVA - Boundary Value Analysis

    Last edited by sutnarcha; 01-17-2007 at 01:39 AM.
    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  12. #12
    Junior Member
    Join Date
    Sep 2006
    Answers
    6

    Re: Format for writting test cases

    hi

    Test case templates,It may differ company to company.
    mostly are using tabular form,it conatins test case id,tiltle,description,excepted result,actual result status(pass/fail)and comments.
    In test case format some more fileds are there but many companies are useing only these fileds.

    Kishore...

    Last edited by kishorech; 01-17-2007 at 05:16 AM.

  13. #13
    Junior Member
    Join Date
    Jan 2007
    Answers
    2

    Re: Format for writting test cases

    Hi
    Do u want test case template or you want test cases for log in details.If you really looking for test case template....
    It consists of
    Test case id
    Test case tiltle,or URL or path for each test case.(In our company we are using this)
    Test case desciption,
    Preconditon
    excepted result
    Actual result
    status(pass/fail)
    and comments.


    regrds
    Asha

    Last edited by ashacta; 01-19-2007 at 03:19 AM.

  14. #14
    Junior Member
    Join Date
    Jun 2008
    Answers
    1

    Re: Format for writting test cases

    The four basic elements for building a test case are:
    1) Input
    2) Test Condition
    3) System Behaviour
    4) Expected Results

    You may want to reference the requirement if you are not using a traceability matrix.


  15. #15
    Contributing Member
    Join Date
    Nov 2006
    Answers
    76

    Re: Format for writting test cases

    The templete differs from company to company. The formate which we use in our company is

    Test case id
    Test case name
    Features to be tested
    Test Suite id
    Priority
    Step no
    Description
    Expected Result
    Actual Result
    Result(pass/fail)
    defect id
    coments


  16. #16
    Junior Member
    Join Date
    Jun 2008
    Answers
    8

    Re: Format for writting test cases

    Hi, pfa format for writting test cases. Yes it is very true that it changes company to company but more or less fields do not change. Project name: application prepared by: doc. Version no.: type of testing: functional creation dates: reviewed by: submitted to: sr. No. Test case id test case description expected result actual result test cycle execution date build version result type: +ve, -ve. Defect id use case id if you have still any probem please let me know. Regards, ajay shembekar. Secoe regards, ajay shembekar.


  17. #17
    Junior Member
    Join Date
    Jul 2008
    Answers
    1

    Re: Format for writting test cases

    hi!here is my first test case for login screen,i have tried for both positive and negative test cases.All the best!

    Attached Files Attached Files
    Last edited by AnithaBabu1; 07-24-2008 at 04:49 AM.

  18. #18
    Junior Member
    Join Date
    Jul 2008
    Answers
    1

    Smile Re: Format for writting test cases

    Hey...
    can u please let me know how to post the quirres in this site.
    as i am very much new to this site i was not able to find the way to post the querry...

    Thanks.


  19. #19
    Junior Member
    Join Date
    Oct 2007
    Answers
    2

    Re: Format for writting test cases

    -------------------------------------------------------------------------------

    Last edited by aniruddhan83; 07-25-2008 at 07:22 AM.

  20. #20
    Junior Member
    Join Date
    Oct 2007
    Answers
    2

    Format for writting test cases

    Sr no

    test case id

    test scenario id (1 scenario can have many test cases)

    build or version number

    test case description

    test data for test case

    priority

    severity

    steps

    expected result

    actual result

    status

    remark


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact