Pages

Showing posts with label test case. Show all posts
Showing posts with label test case. Show all posts

Wednesday, 7 November 2012

Test Cases For Date field

Test Cases For Date Field:

They may be many cases if the text box is editable or not purpose of the date field used etc .

Test Cases if the Date field is not text box:


  1. Ensure that calendar window is displayed and active when the calendar is invoked by pressing the calendar icon. (Once we faced an issue the calendar window is in minimized state when we invoked the calendar.) 
  2. Ensure that calendar date is defaulted to system date 
  3. Ensure that when a date is selected in the calendar (double click or some other method) the selected date is displayed in the text box and calender should be disappered from there. 
  4. Check for the format as per requirement i.e.mm-dd-yy 
  5. Check for the list of years by click on down arrow displayed years of selected year before and after 10 years 
  6. Check for the list of 12 months by click on month down arrow 
  7. Check for the clear of date by click on clear text link in the calender what before selected 
  8. Check for the month changed to previous month by click on Prev text link 
  9. check for the month changed to after months by click on next text link 
  10. check for the today date highlighted or not by click on today text link 

Test Cases if the Date field is editable text box:



  • enter the valid date ,month, year 
  • enter the invalid blank space and valid month invalid blanck space 
  • enter the invalid blank space and invalid blank space and invalid blank space 
  • enter the zeros in date and invalid blank space and zeros in year. 
  • enter alphabetic,alphanumeric data in the field. 
  • enter special characters. 
  • enter decimal point. 
  • Enter valid date,invalid blank space in month,invalid blank space in year 
  • Enter invalid date,valid month and invalid blank space in year. 
  • Enter invalid date,invalid blank space in month and valid year. 
  • enter the invalid date and valid month and valid year 
  • enter the valid date and valid month and invalid year 
  • enter the valid date and invalid month and valid year 
  • enter the valid date and invalid month and invalid year 
  • enter the invalid date and invalid month and invalid year 
  • enter the invalid date and valid month and invalid year 
  • Leave blank spaces for all the fields. 
  • Check whether the year entered is leap or ordinary year. 
  • For ordinary year the max limit of number in day field in the month Feb should be 31. 
  • For leap year the max limit of number in day field in the month Feb should be 29. 
  • With respect to the corresponding alternate months corresponding numbers in day field i.e 30/31 should be accepted. 
  • Enter the date below/beyond the range, i.e 32 or 0 etc. 
  • Enter the month below/beyond the range,i.e 13 or 0... 
  • Enter zero before the single digit number in date/month. 
  • Check without entering zero before the single digit. 
  • Enter valid date,valid month and only last two digits of year. 
  • Enter any alphabets in these fields. 
  • Enter special characters and check. 
  • Enter zeroes in all the fields. 
  • Check whether the control passes on to the month field after entering date. 
  • Also check whether the control passes to year field after entering date and month. 
  • Check the format of date,month and year. 
  • Check whether it is accepting date in date field,month in month field and year in corresponding field. 
  • should not accept 000000 as a date. 










Wednesday, 24 October 2012

Test Cases for Lift

Test cases for Lift:

  • Check when you press from the outside of the lift it should be opened when it is in ground floor 
  • Verify it should give a beep when it reaches opens you 
  • Check it should display in the outer box that from which floor it comes to reach us 
  • Check when you step in to the lift after 10 seconds when it knows nothing in the door it to be closed automatically 
  • Check when you give or press the number to which upto the floor it be activated 
  • Check when you press different no`s it should be highlighted 
  • Check upto the capacity of the lift only the load is given 
  • Verify when you are going upwards on the first floor if any one pressed the lift it should stop there 
  • Verify on reaching the correct floor it should be automatically stopped and open 
  • Verify when the lift is empty when any one touches it should reach very fastly. 
  • Verify whether the appropriate buttons are available or not 
  • Check when click on open button twice it should open or not 
  • Check whether lift door open or not by click on open button while lift moving between two floors 
  • Check whether lift door open or not by press and hold on open button some time 
  • Check for the direction by pressing up and down button. 
  • Enter in the lift specify the floor say 4 and check for the corresponding floor? 
  • Lift is moving and the power break off. Does the alarm blow in the control room that there is power break off? 
  • Also check for the case how the inside person inform the lift man that he got stuck in the lift (if there is phone button does it works)? 
  • Also check for the response time to start lift again? 
  • When a person is in the lift any light is there or not? 
  • How many persons at a time will carry the lift in the since in moving time. 
  • With out load if we press the up button is it moving or not. 
  • What happen with out specifying the floor number if we press the up or down? 
  • What happen if the lift is in over load mode (over load sound will come before moving or it moves). 
  • With out load if we press the up button and specify the floor number what is happening? 
  • Is the door get closed itself or have to close manually. 
  • If the door closed automatically check for the closing time? 
  • If the door closed automatically also check for the sensor? Suppose the closing time is 2 min and it passed and people are still getting in. What happen does the door get closed or wait for the people to get in? 
  • What happen when you press the same floor number on which lift is already there? 
  • After getting into the lift one person is there he wants to go up but we want to go down already he specified the floor number before we enter in to the lift. After that we specified our floor number then what will be the priority of the lift? 
  • Lift is empty and is moving downwards I entered and want to go up. Is there the button to change the direction of lift and the button working? 
  • Is the floor number displayed up in side the lift correct? 
  • When happen when the out side person want to open the door but Inside person wants to close the door at the same time.