What are the diff ways to check a date field in a website?

Answers were Sorted based on User's Feedback



What are the diff ways to check a date field in a website?..

Answer / mr. gandhi

a) Leap Year
b) Non Leap Year
c) Editable Date: Day part should not be greater than 31
days & month not greater than 12
d) Date Foramt
e) Previous & Future dates
f) System date & Blank date

Is This Answer Correct ?    6 Yes 1 No

What are the diff ways to check a date field in a website?..

Answer / sm

When we are identifying the date field in a website we need
to concentrate on the positive and negative test cases

Validation on Year,Month,Date
Validations on date range
Validations on format of the date system accepting
Validations On Min and Max date range

Is This Answer Correct ?    6 Yes 1 No

What are the diff ways to check a date field in a website?..

Answer / naresh

Here are some
1) 00/00/0000 ---> invalid
2) 11/11/2006 ---> valid
3) 32/12/2003 ---> invalid
4) 12/13/2006 ---> invalid

Is This Answer Correct ?    2 Yes 1 No

What are the diff ways to check a date field in a website?..

Answer / archana

Also check for the leap year

check for the valid and invalid number of days in each
month if there is no date picker or calender provided.

For eg: enter 30/02/2007

Is This Answer Correct ?    2 Yes 1 No

What are the diff ways to check a date field in a website?..

Answer / babitha

addition to try to enter 29 for feb month if the year is
not a leap year...i.e dd/m/year as 29/02/2007.this time we
would get error message.

display of date should based on the selection format.

Is This Answer Correct ?    2 Yes 2 No

What are the diff ways to check a date field in a website?..

Answer / sss

for date filed we need to write test cases for following
conditions

*Date should be default sys date if required.

*it should accept mm/dd/yyyy format

*mm should ragne from 1-12 value less than 1 and >= 13 are
invalid

*dd should range from 1-31 value less than 1 and >=32
invalid

*simillarly year should be calculated correctly

*leap year validation should work correctly

Is This Answer Correct ?    0 Yes 1 No

What are the diff ways to check a date field in a website?..

Answer / balaram

The date field we can check in different ways

Possitive testing:
first we enter the date in given format

Negative Testing:
We enter the date in invalid format
LIKE:
suppose if we enter date like 30/02/2006 dd-mm-yy it should
"Display some error message"

If we enter date LIKE mm-dd-yy, ( -dd-yy), (mm- -yy), (mm-
dd- ), if mandatory of the field ( - - ). format
and also we use to check with text data

"It should display warning mesg"

Is This Answer Correct ?    0 Yes 2 No

What are the diff ways to check a date field in a website?..

Answer / shivanibehere

There are different ways like :--
1) you can check the field width for minimum and maximum.
2) If that field only take the Numeric Value then check
it'll only take Numeric no other type.
3) If it takes the date or time then check for other.
4) Same way like Numeric you can check it for the
Character,Alpha Numeric aand all.
5) And the most Important if you click and hit the enter
key then some time pag e may give the error of javascript,
that is the big fault on the page .
6) Check the field for the Null value ..
ETC.....................

Is This Answer Correct ?    0 Yes 4 No

What are the diff ways to check a date field in a website?..

Answer / suneel reddy

The date field we can check in different ways
Possitive testing: first we enter the date in given format

Negative Testing: We enter the date in invalid format
suppose if we enter date like 30/02/2006 it should
display some error message
and also we use to check the numeric or text

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Manual Testing Interview Questions

What do you mean by peer rieviews

6 Answers   Aspire,


Assume a login page, and you have written 10 cases(say for example). How will you justify that these 10 testcase suffient for the login and how do you say this is 100% satisfies the need.

0 Answers   Satyam,


If developers team doesn't agree with the bug raised by you, what is the next step would you take

8 Answers   IBM, TCS,


what is test log? what fields does it contain, At which stage do we use this in real time?

2 Answers  


What are the standard you follow in your company to prepare test plan document? Content is same in every standard or not. Also is there any document to read about the testing standards? Thanks in advance for giving me the answer.

0 Answers  






One very small question, If application/ website performing all the function perfectly like submission, deletion, editing etc, why do we require Data base testing saparately. Please understand before reply thanks !!

3 Answers   Adobe,


why use caffine for HPLC calibration ?

0 Answers  


After fix the bug if requirement change the tester what will do?

1 Answers  


How do you measure a quality of the product ?

1 Answers  


This is Raji.I am having 2 plus years of experience in Manual testing. I want to do a certificate course in Manual testing. Which certificate course would be better to do?.

4 Answers  


Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.

0 Answers  


what type of problems faced with u'r team mates in u'r comapany?

1 Answers   Accenture,


Categories