ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Test Cases
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions
 Manual Testing interview questions  Manual Testing Interview Questions
 QA Concepts interview questions  QA Concepts Interview Questions
 Mobile Testing interview questions  Mobile Testing Interview Questions
 Test Cases interview questions  Test Cases Interview Questions
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions
 Testing AllOther interview questions  Testing AllOther Interview Questions
Question
write the test cases for date month and year field by using 
testing techniques
 Question Submitted By :: Brahma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 1
write the test cases for date month and year field by using 
testing techniques

we can write test case in a format like  dd/mm/year

ex-04/04/2006

or u can try in this manner

ex-april/fourth/2007

or

  04/04/06
 
Is This Answer Correct ?    0 Yes 0 No
Bimal
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 2
we can write test cases for date month and year as
1    date/month/year
2    date-month-year
examples :
      07/12/2007
      09-12-2006
      date should be 2 characters,year should be 2
characters ,and year should be 4 characters these r the
possible test conditions
 
Is This Answer Correct ?    0 Yes 0 No
Mounica
 
 
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 3
Requirement : Only numbers are accepted in this forma.

1.It should be in the dd/mm/yyyy format or mm/dd/yyyy 
format.
2.It shoudl not accept any special characters other than -
   & /.
3.Date fields should not accept any alphabets,special 
characters,space,decimals or their combination.
4.Same applied for month field and year field.
5."32" should not be accepted in Date field.
6."13" should not be accepted in Month field.
7.In case of Leap year February should show 29 days.
8.Date & month should accept only two characters.
9.Year should accept only four characters.
 
Is This Answer Correct ?    4 Yes 0 No
Rituparna
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 4
yeah what they mentioned above is correct and another one is
it shouldn't accept the future date.
 
Is This Answer Correct ?    0 Yes 0 No
Pran
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 5
good Rituparana, Yes have considered all the combinations 
for this example

I also aggreed with pran i.e. what if the date is 
23-06-9999 is it possible? in case if we use the format
as dd-mm-yyyy

thanks friends
 
Is This Answer Correct ?    0 Yes 0 No
Nilesh
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 6
few more test cases are also possible:
1. No field should be blank or zero value
2. Maximum value of date field can be 28 or 29 (for feb 
depending on leap year) and 30 or 31 (for all other months 
depending upon month number)
 
Is This Answer Correct ?    0 Yes 0 No
Rashmi Garg
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 7
I agree with Rituparna.
Along with that before checking the dates, first you have 
to check year. It should be 4 digits and it should not 
exceed 9999.
After that you should check the month which should accept 
Jan or 01 to Dec or 12. It should not accept 00 or 13.

Basing on the month the no.of days will vary. So check the 
month and accept the no.of days(i.e 30 or 31) in the days 
field. 
If it is Feb, then we have to concentrate first on year and 
then on no.of days.



Venkat.
 
Is This Answer Correct ?    0 Yes 0 No
Venkat
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 8
In addition to the above, if date of birth is considerd as 
date filed, then one should not be in a position to enter 
date less than 100 years as the life span of man does not 
cross 100 years in this generation.
 
Is This Answer Correct ?    0 Yes 0 No
Sharmila
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 9
I don't agree with Sharmila bcz what she mentioned is that
should not be in position to enter date (LESS) I think it
should be greater. Thought its wrong, for Ex the DOB field
for the Election ID card and there are so many people who
are above 100 years of age. We should be stick to the
Requirement document and the type of the application we are
testing.
 
Is This Answer Correct ?    0 Yes 0 No
Sudeepthz
 
  Re: write the test cases for date month and year field by using testing techniques
Answer
# 10
Hi Sharmila

what u said is the test case for how many years a human 
being can live?



if date of birth is considerd as 
date filed, then one should not be in a position to enter 
date less than 100 years as the life span of man does not 
cross 100 years in this generation.

But According to the above test case, it indicates Th e 
minimum age of human being is 100 years.
 
Is This Answer Correct ?    0 Yes 0 No
Anand
 

 
 
 
Other Test Cases Interview Questions
 
  Question Asked @ Answers
 
Write test cases to check the functionality of the shopping cart of an e-commerce website Optum2
hai........... please tell abt testcases.. how we can drived the testcases in project?  1
How to write load test case for pen?  1
hi iam working in HCL as a fresher n iam dg automation testing i am going to give client demo i did some 7 scripts i want to call all those in some new page in QTP I KNOW CALL THE EXISTING ACTION N COPY OF ACTION if we use any of these options while running it will show the whole script but is there any other method while running it should not show the whole script it will show only the calling lines plz give me detailed explanation to ds i need reply fast plzz HCL1
Describe to me the Software Development Life Cycle as you would define it.  6
i need sample case of Login window of USER NAM, PASSWORD It is very urgnt CSC9
Please give me some example of the test cases to test the Google map search CTS2
How do you review the test cases which are prepared by your team member. answer is: using traceability matrix, matching testcases with the requirements. He again asked - assume that all the test cases are matched with the requirements, then what do you do, how do you proceed in this case.. Mind-Tree2
write down test cases for "x>=1" Quexst3
give an example of how to write functional test case.in this test case can we write all +ve and -ve conditions?  5
wht are the possible test cases for save button in notepad? CTS2
What all comes under test case review? TCS3
Hi My name is Hari Priya i had completed by b-tech csit 2008 pass out i had joined in testing tools does freshers having good opportunities in testing field? what are the topics to be stressed in the subject to have the good knowledge If any one have good collecton of testing topics can mail me padmajapriyam@gmail.com thank you.  13
wirte the test cases for triangle by using testing techniques Blue-Star4
write a test cses for sending mails through microsoft- outlook xpress? HCL1
Writing Test Cases is Verification or Validation? Executing Test Cases is Verification or Validation?  3
what would be the negative test case for serach that break the search .  2
What is the basis on which you can check a text box in a web page or application? HCL1
Give me a sample test case for an online purchasing system?What testings u do for the same ?  2
please can anybody tell me, how to indentify the test cases which can be automated from a given set of test cases, say 20.  2
 
For more Test Cases Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com