Results 1 to 15 of 15

Thread: A Sample Test case

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Answers
    2

    A Sample Test case

    hi,
    please help me in writing test cases..

    i)How to write a Test case?
    ii)Language usage in test cases
    iii)How to prepare a good sample test case


  2. #2

    Re: A Sample Test case

    If you search Google, you will find tons of links you can refer to guide you through these 3 and many more questions that you might have later on. You can use these as a good starting point:

    Last edited by admin; 05-31-2013 at 07:10 AM.

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

    Re: A Sample Test case

    mostly you focus test cases on boundaries....ie., if we give values below or above the range, what will happen? u just check it out. in the same way..check for out of range.. and also check whether it accepts only specified data type... and so on.


  4. #4

    Re: A Sample Test case

    start writing for simple things


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

    Re: A Sample Test case

    Review the test case format, understand it and also understanding of SRS is very very essential. Once SRS is completely understood, write input possibilities for each and every field and remember testers job is to make the s/w fail n not to check the s/w is working good. So think in a way where s/w can go wrong.


  6. #6
    Junior Member
    Join Date
    Jun 2008
    Answers
    5

    Re: A Sample Test case

    Sample test case for yahoo login test case title : verify username field in the login process 1.open the web browser (any) 2.enter the url in the address bar and click on enter 3. Verify 'yahoo login' home page must be disply 4. Verify username and password fields and login button must be available 5.verifycursor must be display in 'username' text box field 6.enter any information in 'username' test box field 7.delete information in 'username' text box field 8.verify 'username' text box field must be empty 9.enter uername text box field with invalid data and password field with invald data , click on login button 10.verify corresponding error message must be display 11.enter username field with valid data and password field with valid data, click on login button 12.verify user must be login into his account 14.if all steps above pass , test case pass regards, gopi test coe mimos


  7. #7
    Contributing Member
    Join Date
    May 2008
    Answers
    30

    Re: A Sample Test case

    Hi rejani
    Test case should be written as per the user requirements and as paer the modules and applications........there is no language's to writt test case's...........but in automated tool we have some languages to generate some script language its upto the tool we used.....then for sample test case..........mail me ur sample templates then after i will tell u how to write the sample test case


  8. #8
    Junior Member
    Join Date
    Nov 2008
    Answers
    1

    Red face Re: A Sample Test case

    i need a sample test case for yahoo website.please help me.


  9. #9
    Expert Member
    Join Date
    Apr 2008
    Answers
    1,859

    Re: A Sample Test case

    hi pravein,

    I am really shocked no one can provide the test cases for yahoo site, because it takes lots of time. If you want to know how to frame testcases please go through the links
    which is already discussed in our site you will get an idea.

    one more thing if you have any query please start a new post..

    http://www.geekinterview.com/talk/11...est-cases.html
    http://www.geekinterview.com/talk/11793-test-cases.html
    http://www.geekinterview.com/talk/89...est-cases.html

    Thanks
    Deepasree


  10. #10
    Junior Member
    Join Date
    May 2010
    Answers
    1

    Pls HELP

    HI.......... I am a trainee and my project is testing a software.
    Please guide me regarding the same. I am a beginner in this field. Please help me out people.

    Thanks
    Ankit


  11. #11
    Expert Member
    Join Date
    Apr 2008
    Answers
    1,859

    Re: Pls HELP

    Quote Originally Posted by ankybikes View Post
    HI.......... I am a trainee and my project is testing a software.
    Please guide me regarding the same. I am a beginner in this field. Please help me out people.

    Thanks
    Ankit
    hi friend,

    What you are actually looking for.

    Thanks,
    Deepa

    Arise Awake And Stop Not Till The Goal Is Reached

  12. #12
    Junior Member
    Join Date
    Jun 2010
    Answers
    1

    Re: A Sample Test case

    hi friends,
    i need sample test cases for functional testing.

    thanks in advance


  13. #13
    Junior Member
    Join Date
    May 2010
    Answers
    8

    Re: A Sample Test case

    Hi Rejani,

    1....How to write test case
    ---------------------
    there are some fields to write test cases
    1. Test Objective
    2. Pre-conditions
    3. Test data
    4. Data base statemnts(SQL/Mysql/any)
    5. Test Steps
    6. Expected Result
    using these feilds u can write but main thing u should understand the Requirement i mean u should under stand the whole Application wat u r going to test then only u can come to know the how to write steps n all.


    2.....Language usage in test cases
    -----------------------------
    While creating test cases u should use simple n understanble language because wat u writren the test scripts it may be executed by others also so it should easy for executing person

    3).........How to prepare a good sample test case
    ---------------------------------------
    good test case means it should has follwoing
    ==================================
    1. it should meet requirement wat u r going test
    2. it should understanble to others
    3. its better if it contains test data also bec it will be heilpfull in executing time
    4. it should meet company standards


    Thanks,
    Mahantesh.G.Hadimani


  14. #14
    Junior Member
    Join Date
    May 2010
    Answers
    8

    Re: A Sample Test case

    Business Function:

    Test Objective:
    Test Pre-Conditions:

    SQL Statements:

    Test Data:

    Test steps :
    ----------

    Expected result:


    Mahantesh.G.Hadimani


  15. #15
    Junior Member
    Join Date
    May 2010
    Answers
    4

    Re: A Sample Test case

    Hi All,

    Before You go for writing test cases, understand the business scenarios(use cases) first going through functional requirements document and think of what kind of testing is required for the application for example functional/performance/security etc..if it is of functional then take one use case lets as employee login page, first you must know what are the different fields are avialble in the system and what are its properties.
    if there are 10 fields in the applications, then you need to think of equivalence partion to reduce the test cases to minimal instaed of writing N number of test cases for each fields. it is basically time consuming process. Prepare test data to validate the fields in the application and then try to execute by poviding test data mapping with the requirements.

    If it meets the customer expectations, then it is passed else failed.

    Example:Login page with User name and password

    Requirement: Username should be min of 10 character and it must consists of any one special character
    Password should be only 4 digits
    Precondition: You are already a member on this application

    if you write positive and negative test cases for each field, it will go around 30-40 test cases. instead i would prefer to go like this:

    1 .Verify the Username field :
    Test data:ABCD,FKSFJKFHSKH, NULL,ABCSGD@FGTJ,12343254234,123,!@#$@#$@#$
    Status: This will be passed only for the data ABCSGD@FGTJ as it satisfied the customer requirement.
    2. Verify Password field:
    Test data:12,1@,12345,5555,ASDAFDAS,ASCD
    Status:This will be passed only for the data 5555 as it satisfied the customer requirement.


    In the above scenario it is menitioned testing of only fields and primarily used BVA concept for testing the fields.


    Hope this gives a some idea for the beginners...about how to proceed writing and executing the test cases.

    Yours,
    Suresh M


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