write the test cases for date month and year field by using
testing techniques
Answers were Sorted based on User's Feedback
Answer / aditya
For leap year after after 1999 i.e from 2000 .... the year should be divisible by 4 or 400 for leap year ......
And before 2000 i.e 1999 .. For leap year it shpuld be divisible by 4 or 100
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sunny
it doesn't accept Negative(-1) value also.
and when we test for DOB then how we decide that this year
is leap year or not.
or
what are the test cases for leap year.
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / sathish kumar
check whether numeric value only accepted in date field.not
accepted any other character in that field.
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / dhanasekaran k
1.It should be in the dd/mm/yyyy format or mm/dd/yyyy
format.
2.It should not accept any special characters other than -
& /.
3.In case of Leap year February should show 29 days.
4.Date & month should accept only two characters.
5.Year should accept only four characters.
6.Date fields should not accept any alphabets,special
characters,space,decimals or their combination.
7.Same applied for month field and year field.
8."32" should not be accepted in Date field.
9."13" should not be accepted in Month field.
10."january ,jan and 01"should be accepted in month filed.
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / nilesh
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 ? | 7 Yes | 10 No |
Answer / sharmila
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 ? | 3 Yes | 6 No |
Answer / sunny
A year is a leap year if:
- it is divisible by 4, AND
- it is not divisible by 100, unless it is divisible by 400
So:
2004, 2008 are leap years (divisible by 4 but not by 100)
1900, 3000 are not leap years (divisible by 100 but not by 400)
2400, 3200 are leap years (divisble by 400)
An equivalent way to say it is that:
- If it is divisible by 400, it is a leap year.
- If it is divisible by 100 but not by 400, it is NOT a leap
year.
- If it is divisible by 4 but not by 100, it is a leap year.
- If it is not divisible by 4 it is not a leap year.
| Is This Answer Correct ? | 2 Yes | 5 No |
Answer / bimal
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 ? | 11 Yes | 22 No |
Answer / mounica
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 ? | 7 Yes | 22 No |
Analyze the following highly simplified procedure: Ask: "What type of ticket do you require, single or return?" IF the customer wants ‘return’ Ask: "What rate, Standard or Cheap-day?" IF the customer replies ‘Cheap-day’ Say: "That will be £11:20" ELSE Say: "That will be £19:50" ENDIF ELSE Say: "That will be £9:75" ENDIF Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given. A. 3 B. 4 C. 5 D. 6
How to write test case for this scenario. The system shall compare the requested name with the Service Member Name field in the database
2.6.3 User Interface Different Polls could be present at different channels, pages within channels, and at home page. User interface for Poll will be as described below: - Beneath poll current result(running status) to be shown in graphical form(say progressing bar chart) all the time, in same window as poll. - Link ""All Polls >>"" to take user to Polls home page which will have all the active polls with results underneath. - All the polls not older than one month will come under Active polls category. - User can take Active open polls, but cannot react to Active closed polls. Can only view results of active closed polls. - No Interactives available for polls - "Add a comment", "Rate" - Registered User can take a poll only once, after that only result is shown to user. To unregistered user it will be open. 2.6.4 Interfacing/Sourcing Details - Polls is going to be a separate module, an internal application, which editor/admin can publish. - Admin/Editor should be able to publish polls on separate channels, pages. Assign closure dates. - Admin/Editor can upload images, change look n feel, add a brand, link/url to it. - System to capture user details(screen name/name, id, email id), do loyalilty points calculation and add to user loyality points. 2.6.5 Rules and Conditions Unless assigned a closure date, by default all Polls will be open for 30 days. this is the SRS how to write the test cases for the above functionalities help me
Write a test case on online shopping website? (please tell me the format how to write in MS excel,if u have any sample than attach it.)
Writing Test cases based on the understanding of the UX document
Tell me how to write a test case to test a search (general search engine ) function that is present on almost all sites.
What is business validation test case?
How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Create (Local Only),
Write negative test case for logout????? Answer soon friends
How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update
How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen
hi there... can any1 tel me hw to prepare a traceability matrix by taking a practical scenario..i know the theory part bt dont kno how to implent dat..