Geeks Talk

Prepare for your Next Interview




A Sample Test case

This is a discussion on A Sample Test case within the Test Cases forums, part of the Software Testing category; 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...


Go Back   Geeks Talk > Software Testing > Test Cases

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-08-2008
Junior Member
 
Join Date: Apr 2008
Location: India
Posts: 3
Thanks: 1
Thanked 2 Times in 1 Post
Rejani is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-12-2008
Moderator
 
Join Date: Oct 2007
Location: Frankfort, KY
Posts: 283
Thanks: 3
Thanked 49 Times in 36 Posts
Anshoo_Arora is on a distinguished road
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:

www.kaner.com/pdfs/GoodTest.pdf

Why do we write Test Cases? | testingReflections.com
Reply With Quote
The Following User Says Thank You to Anshoo_Arora For This Useful Post:
  #3 (permalink)  
Old 06-25-2008
Junior Member
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
kutam is on a distinguished road
Re: A Sample Test case

You should understand the requirements first to write the test case.
There is no specific language to write a test case. But it should be like a logic.
For a sample test case visit my homepage.

Software Testing Forum • Portal

-Kutam
Reply With Quote
  #4 (permalink)  
Old 06-25-2008
Junior Member
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
kutam is on a distinguished road
Talking Re: A Sample Test case

You should understand the requirements first to write the test case.
There is no specific language to write a test case. But it should be like a logic.
For a sample test case visit my homepage.
Reply With Quote
  #5 (permalink)  
Old 06-25-2008
Junior Member
 
Join Date: Jun 2008
Location: Chennai
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
estherpriya is on a distinguished road
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.
Reply With Quote
  #6 (permalink)  
Old 06-26-2008
Junior Member
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
raghavendra1234 is on a distinguished road
Re: A Sample Test case

start writing for simple things
Reply With Quote
  #7 (permalink)  
Old 06-30-2008
Junior Member
 
Join Date: Jun 2008
Location: California
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
varsha_arekar is on a distinguished road
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.
Reply With Quote
  #8 (permalink)  
Old 06-30-2008
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
nallamothuss is on a distinguished road
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
Reply With Quote
  #9 (permalink)  
Old 07-01-2008
Junior Member
 
Join Date: May 2008
Location: chennai
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
abusaud is on a distinguished road
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
Reply With Quote
Reply

  Geeks Talk > Software Testing > Test Cases


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
What is exact difference between use case ,test scenario and test case? srinu.tenali Testing Templates 12 2 Weeks Ago 06:31 AM
If test case required for testing always post test scenario. jainbrijesh Test Cases 12 4 Weeks Ago 10:36 PM
Is Test Case & Test Script same OR different Geek_Guest Test Cases 8 06-10-2008 11:51 PM
Diff bet Test Strategy, test plans and test case vikas_goel28 Testing Issues 4 03-02-2008 10:56 AM
Use case statement and Test Case JobHelper Testing Issues 3 06-16-2007 05:28 AM


All times are GMT -4. The time now is 05:19 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved