Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
3.3 KiB

  1. MANUAL CHANGE PASSWORD UNIT TESTS
  2. JonN 3/27/91
  3. The following is a list of tests to try to break the Change Password and
  4. Password Expiry dialogs. When GUILTT is ready, these tests can be done
  5. automatically; until then, we'll have to grunge them out.
  6. WIN30 / WIN31 Protect Mode
  7. // Setup
  8. Obtain a user account where the password is N days old, N>2.
  9. (Change the system clock if necessary)
  10. Set PDC to
  11. minimum password length 6
  12. password uniqueness 2
  13. minimum password age N+1
  14. maximum password age N+2
  15. // Change Password tests
  16. Start Windows
  17. Enter Control Panel -> Networks -> Change Password
  18. Select a user whose password has expired
  19. Use the wrong old password
  20. Dismiss "Invalid Password" dialog
  21. Use the correct old password, no new passwords
  22. Dismiss "Must wait N+2 days" prompt
  23. Set PDC to
  24. minimum password age 0
  25. Enter Change Password
  26. Select a user whose password has expired
  27. Use the correct old password, no new passwords
  28. Dismiss "too short" popup
  29. Type different passwords in New and Confirm fields
  30. Attempt to change -- dismiss "must be same" popup
  31. Type same too-short password into New and Confirm
  32. Attempt to change -- dismiss "too short" popup
  33. Type same good password into New and Confirm
  34. Dialog exits
  35. Return to Change Password dialog, enter same user name
  36. Try to switch back to last user name
  37. Dismiss "new password used recently" dialog
  38. Set PDC to
  39. password uniqueness 0
  40. Try to switch back to last user name
  41. Dialog exits
  42. // Setup
  43. Obtain a user account where the password is N days old, N>2.
  44. (Change the system clock if necessary)
  45. Set PDC to
  46. minimum password length 6
  47. password uniqueness 2
  48. minimum password age N-2
  49. maximum password age N-1
  50. // Check Expiry tests -- already expired
  51. Stop Windows
  52. Log off
  53. Start Windows
  54. Try to log on as a user whose password has expired
  55. Use the wrong password
  56. Dismiss "Invalid Password" dialog
  57. Use the correct password
  58. Password Expiry dialog appears, with "has expired" text
  59. Attempt to change without entering passwords
  60. Dismiss "Invalid Password" dialog
  61. Type current password in Old Password field
  62. Type different passwords in New and Confirm fields
  63. Attempt to change -- dismiss "must be same" popup
  64. Type same too-short password into New and Confirm
  65. Attempt to change -- dismiss "too short" popup
  66. Type same good password into New and Confirm
  67. Attempt to change -- should succeed
  68. Complete logon process
  69. // Setup
  70. Obtain a user account where the password is N days old, N>2.
  71. (Change the system clock if necessary)
  72. Set PDC to
  73. minimum password length 6
  74. password uniqueness 2
  75. minimum password age N-2
  76. maximum password age N+1
  77. // Check Expiry tests -- about to expire
  78. // NOTE: The "will expire" dialog will not appear unless you are using
  79. // the new LM21 with repaired NetWkstaSetUID2 return codes
  80. Stop Windows
  81. Log off
  82. Start Windows
  83. Try to log on as a user whose password has expired
  84. Use the wrong password
  85. Dismiss "Invalid Password" dialog
  86. Use the correct password
  87. Password Expiry dialog appears, with "will expire" text
  88. Attempt to change without entering passwords
  89. Dismiss "Invalid Password" dialog
  90. Type current password in Old Password field
  91. Type different passwords in New and Confirm fields
  92. Attempt to change -- dismiss "must be same" popup
  93. Type same too-short password into New and Confirm
  94. Attempt to change -- dismiss "too short" popup
  95. Type same good password into New and Confirm
  96. Attempt to change -- should succeed
  97. Complete logon process