Test Cases For Date Picker and Date Range - From Date and To Date

Test Cases For Date Picker 
Here !!! Important Test cases for date picker given ..
  • Check that date picker get open when user click on date field.
  • Check that user able to select the date from the date picker.
  • Check that by default current date selected or not when date picker get open.
  • Check that current date highlight by default or not .
  • Check that date picker get closed or not when user select the date from the date picker .
  • Check that date picker get closed or not when user click outside of date field.
  • Check that user able to change the date or not once select from date picker.
  • Check that selected date showing in date field or not .
  • Check that date showing in valid format or not when user select the date from date picker.
  • Check that user able to swipe the previous month or year from arrow(forward and Backward) option in date picker (if allow).
  • Check that date showing disable or not (as per condition ,if ).
  • Check that when user try to select the which are not in boundary .
  • Verify that the user able to change the date or not when date masking applied on field .

Test Cases for Date Range - From Date and To Date 
  • Verify that when user enter same date in from date and to date .
  • Verify that when user enter to date greater than from date .
  • Verify that when user enter from date less than to date .
  • Verify that when user enter only from date .
  • Verify that when user enter only to date .
  • Check that when user clear both from date and to date .
  • Check the alert message when user enter to date greater than from date .
  • Check that alert message showing or not when user enter any date. which not as per requirement (future date , outside FY etc. it depends on requirement ).

Date format Types- 

  • MM/DD/YY  - Month-Day-Year with leading zeros (03/17/2008)
  • DD/MM/YY  - Day-Month-Year with leading zeros (13/02/2008)
  • YY/MM/DD -  Year-Month-Day with leading zeros (2003/02/27)
  • Month D, Yr - Month name-Day-Year with no leading zeros (February 27, 2002)
  • M/D/YY- Month-Day-Year with no leading zeros (3/13/2002)
  • D/M/YY- Day-Month-Year with no leading zeros (17/2/2003)
  • YY/M/D -Year-Month-Day with no leading zeros (2003/2/13)
  • bM/bD/YY -Month-Day-Year with spaces instead of leading zeros( 2/13/2003)
  • bD/bM/YY-Day-Month-Year with spaces instead of leading zeros (13/ 2/2003)
  • YY/bM/bD-Year-Month-Day with spaces instead of leading zeros (2003/ 2/13)
  • MMDDYY-Month-Day-Year with no separators (02132003)
  • DDMMYY-Day-Month-Year with no separators (13022003)
  • YYMMDD-Year-Month-Day with no separators (20030213)
  • MonDDYY-Month abbreviation-Day-Year with leading zeros (Feb132003)
  • DDMonYY-Day-Month abbreviation-Year with leading zeros (13Feb2003)
  • YYMonDD-Year-Month abbreviation-Day with leading zeros (2003Feb13)
  • day/YY-Day of year (counting consecutively from January 1)-Year (48/2003)
  •  YY/day-Year-Day of Year (counting consecutively from January 1—often called the Julian date format) (2009/48)
  •  D Month, Yr -Day-Month name-Year (13 February, 2003)
  •  Yr, Month D -Year-Month name-Day (2003, February 13)
  • Mon-DD-YYYY -Month abbreviation, Day with leading zeros, Year (Feb 13, 2003)
  • DD-Mon-YYYY -Day with leading zeros, Month abbreviation, Year 13 Feb, 2003. 
  • YYYYY-Mon-DD -Year, Month abbreviation, Day with leading zeros (2003, Feb 13)
  •  This format defaults to a two-digit year, but can be overridden to have four digits.
  • Mon DD, YYYY-Month abbreviation, Day with leading zeros, Year (Feb 13, 2013)
  • DD Mon, YYYY-Day with leading zeros, Month abbreviation, Year(13 Feb, 2013)
  • YYYY, Mon DD -Year, Month abbreviation, Day with leading zeros(2013, Feb 13)


Hope!!! Above Test cases for date picker helpful for you...
Team 
QA acharya

Share Your Knowledge With us -
Mail your content - qaacharya.in@gmail.com

Tags: Date picker test cases ,  test scenarios of date picker , test cases of date picker , test case on date picker , test case of datepicker ,  Date control test cases , Test cases for start date and end date , test cases for from date and to date 

Test cases for date picker


Admin-Mumbai office

3 Comments

Previous Post Next Post