This Test Plan was created and maintained on Google Docs. We put it here to complete the documentation of this project.

Test Steps

  1. Go To: http://web.mit.edu/sapweb/SF2/employees_home.shtml
  2. Click on link: Hires
  3. Assert you are page with the <title>insideMIT:Hires:Search for a Person
  4. Click into Effective Date input screen (end user click)
  5. Assert that Calendar Widget appears
  6. Select September 1, 2011 in the Calendar Widget
  7. Assert that the Effective Date now contains the value that you selected
  8. Check the No known MIT ID checkbox
  9. Assert that the SSN inputs appear
  10. Input into the first SSN field "123" preferably as keypress events
  11. Assert that after the "3" is typed, focus is put on the second field.
  12. Enter "44".
  13. Assert that you are in the last SSN field.
  14. Enter "5566"
  15. Click on the "Continue" button
  16. Assert that you are taken to a page with the title "insideMIT:Hires:Demographic details"
  17. Type as a series of keypresses "Misses" in the legal name first name field
  18. Type "Tab"
  19. Type "Tab"
  20. Assert that focus is on the last name field
  21. Insert the word "Tester" into the last name field
  22. Choose the "female" checkbox
  23. Click into the Date of Birth field
  24. Assert the Calendar widget appears
  25. Type in "06/01/1984" in the DOB field
  26. Type in 12 Cherry Lane in Address LIne 1
  27. Type in Boston in the City field
  28. Select "Massachusetts" in the state field
  29. Type in "02130" in the ZIP/Postal Code field
  30. Type in "W9" in the Building name field
  31. Assert that the Autocomplete drop down appears
  32. Click on W92 from the autocomplete list
  33. Assert that the Building field fills with the text "W92 - Information Services & Technology(ISDA  OIS  & SAIS)"
  34. Click on the Continue Button
  35. Assert that the error "This field is required" appears in the Name Prefix field
  36. Choose "Dr." for the Name Prefix field
  37. Click Continue again
  38. Assert that you are taken to the page titled "insideMIT:Hires:Job details"
  39. Assert that the "Enter position number" checkbox is checked
  40. Click on the "Search for job title" checkbox
  41. Assert that the Search for Job Title input appears
  42. Type in "professor"
  43. Click on the Search button
  44. Assert that you are taken to the page titled "insideMIT:Search for a Job Title"
  45. Click on the link  "Associate Professor" in the search results
  46. Assert that you are taken back to the page titled "insideMIT:Hires:Job details"
  47. Select Chemistry in the Department Number/Name field
  48. Click on the "Continue" button
  49. Assert that you are taken to page titled "insideMIT:Hires: Action details”
  50. Check the No end date Checkbox
  51. Assert that the End Work Date field contains 12/31/9999
  52. Assert that End Work Date is disabled
  53. Uncheck No end date Checkbox
  54. Type (keypress events)  "100" in the Percent Effort field
  55. Type 85000  in the Annual Salary field
  56. Assert that the Pay Basis text reads "9 month modified annual plan"
  57. Type 1777905 in the Cost Object field.
  58. Change End Work Date to 9/01/2012
  59. Click tab
  60. Assert that an ajax call is made to https://insidemit-apps-dev.mit.edu/apps/apr-hires/GetCostObjectNameJSON.action?id=1777905
  61. Type 100 in the Cost Object Percent field
  62. Assert that the Cost Object Title field reads "TECHNICAL SERVICES"
  63. Click yes on  Charge to Off-campus radio button
  64. Type "testing apr-hires application" in the comments field
  65. Click on the Continue Button
  66. Assert that you are taken to the page titled "insideMIT:Hires:Submit"
  67. Click "no" on the Is the employee a U.S. Citizen radio buttons
  68. Assert that the Nationality and Residence Status sections appear
  69. Select Afghan for Nationality
  70. Select Non-resident (Choose Visa) for Residence Status
  71. Assert that the Visa fields appear
  72. Select an O-1 for Visa Type (Extraordinary worker in a special field)
  73. Select August 25, 2011 for Visa Status Start Date
  74. Select August 26, 2012 for Visa Status End Date
  75. Check all approvers in the Send Hire notifications section
  76. Click the Submit button
  77. Assert that you are taken to a page with the title "insideMIT:Hires:Summary"
  78. Capture the Success message
  79. Click the Home Button
  80. Assert that you are now at  http://web.mit.edu/sapweb/SF2/employees_home.shtml
  • No labels