Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write the test cases for date month and year field by using
testing techniques

Answers were Sorted based on User's Feedback



write the test cases for date month and year field by using testing techniques..

Answer / rituparna

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 ?    161 Yes 15 No

write the test cases for date month and year field by using testing techniques..

Answer / sri hariprasad.d

test cases for the date month and year?
1)check whether the date frmat is in dd-mm-yy (or)yy-mm-dd
2)check the date&month length should not exceed 2 digits.
3)check the year field lenth will not exceed 4 digit.
4)check the three field(dd,mm,yy) are seperated with
separters or not.
5)check the date field shuld be below in 31st only.
6)check the month field should below equal to 12 only.
7)if leap year it should accept feb 29 for last day

Is This Answer Correct ?    19 Yes 3 No

write the test cases for date month and year field by using testing techniques..

Answer / ajay

1. Use date picker to avoid more validations
2. Put text box of picker as read-only so we can avoid test
cases like "Date fields should not accept any
alphabets,special characters,space,decimals or their
combination."

Is This Answer Correct ?    16 Yes 9 No

write the test cases for date month and year field by using testing techniques..

Answer / rashmi garg

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 ?    15 Yes 10 No

write the test cases for date month and year field by using testing techniques..

Answer / sudeepthz

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 ?    10 Yes 5 No

write the test cases for date month and year field by using testing techniques..

Answer / venkat

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 ?    9 Yes 5 No

write the test cases for date month and year field by using testing techniques..

Answer / pran

yeah what they mentioned above is correct and another one is
it shouldn't accept the future date.

Is This Answer Correct ?    18 Yes 16 No

write the test cases for date month and year field by using testing techniques..

Answer / priyanka agrawal

First,We have to define the date format i.e. dd/mm/yyyy or
mm/dd/yyyy
Then accordingly we will verify.
mm field should not accept value greater than 12.
dd field should not accept value greater than 30/31 or
28/29(feb).
Year field should not accept value more/less than 4 digits.

Is This Answer Correct ?    2 Yes 1 No

write the test cases for date month and year field by using testing techniques..

Answer / mahesh

negative cases are missing
some times we enter dob manually also
1123/21/22
yyyy/mm/dd

Is This Answer Correct ?    3 Yes 2 No

write the test cases for date month and year field by using testing techniques..

Answer / anand

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 ?    9 Yes 9 No

Post New Answer

More Test Cases Interview Questions

I need GUI test case for home page?

0 Answers   Wipro,


Give me 10 test cases on library management system

8 Answers  


is test case required to be baselined?

0 Answers  


1 Tarot 1.1 Purpose - Tarot tool will duplicate the tarot-reading process for the user online. - Tarot is a craft that uses a deck of 78 cards to predict a user’s past, present and future. - The cards are picked by the user and arranged in a specific spread, which represents points in his past, present, and future; based on the meanings of the cards selected, interpretations are given. 1.2 Scope Only for registered user. 1.3 User Interface User Interface: 1. Question – This is only for user experience, and has no bearing on the formulae / process. Simple long text box. 2. Selection of field – radio button selection of 1 of 3 choices(Love, Career, Personal), which affects 1 of 3 card- meaning databases to be used. After selection, the unselected databases do not affect or interact with the system. 3. Spread Selection – radio button selection of 1 of 3 choices(Celtic Cross, Horse Shoe, Simple 3 Card). This determines the number of cards being picked and the specific spread database to be used. This also affects the specific report format being used, as well as the card- selection GUI. 4. Card Selection – based on the input 3, a specific layout is shown where the user needs to identify X number of cards (X also determined by input 3) which are then shown in the spread. Every card selection identifies the spread position constants (A, B, C, etc) with specific variable values (Card numbers) creating an array. Report format will display on a separate new page, in the following sequence – - Statement of question asked - Selection of field - Selection of spread - Detailed description of position data, positions identified as per spread selection - Card meaning as picked in field selection 1.4.5 Interfacing/Sourcing Details 1.4.5 Rules and Conditions - Data needs to be calculated for all fields, but only a maximum of 3 cards data should be shown in the free report. For the rest, a payment would be required. - Payment reports not in phase 1 - The report needs to be emailable (so functionality to convert to text file / html document should exist, which will then be emailed to the user’s email address).

0 Answers  


hai im finished software testing course im technicaly strong but yet now no opportunities come to me.if any opportunities please send to my mail id my mail di is sumathi11685@gmail.com

0 Answers  


How to write load test case for pen?

3 Answers  


Tell me number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print “Large” ENDIF If P > 50 THEN Print “P Large” ENDIF

2 Answers   Siemens,


what test case is written specifically for web applications?

10 Answers   Aricent, Mind Tree,


How many test cases you will execute per day?

2 Answers  


For the following piece of code, how many test cases are needed to get 100% statement coverage? Procedure X Read (Color) // Input color from user IF (Color == “Red”) THEN Call Roses(Color) ELSEIF (Color == “Blue”) THEN Call Violets(Color) ELSE PRINT “User is no Shakespeare” SaveToDatabase(Color) End Procedure X A. 5 B. 3 C. 1 D. 2

1 Answers   ISTQB,


There is a web portal that has been tested and working properly. Now a new module called as the "online shopping module" had been added. Ther are two search pages , a normal search and an advanced search page. You are responsible for only these two modules for testing Questions 1) Write the scope for testing 2)High level test scenarios 3)Test case for one high level test scenario 4) Assumptions while writing the test case 5) Questions that u might need to ask as a QA to test the application NOTE- the requiremnts wont be given. One has to assume the requirements Please tell me how to test a search page and also please help me answer the above questions

2 Answers   Infosys, Zycus Infotech,


how to write the test case for time and date like TIME : 09:34:32AM DATE : 12 MAY 1987

8 Answers   AmSol,


Categories