This Test Plan was created and maintained on Google Docs. We put it here to complete the documentation of this project.
Test Steps
- Go To: http://web.mit.edu/sapweb/SF2/employees_home.shtml
- Click on link: Hires
- Assert you are page with the <title>insideMIT:Hires:Search for a Person
- Click into Effective Date input screen (end user click)
- Assert that Calendar Widget appears
- Select September 1, 2011 in the Calendar Widget
- Assert that the Effective Date now contains the value that you selected
- Check the No known MIT ID checkbox
- Assert that the SSN inputs appear
- Input into the first SSN field "123" preferably as keypress events
- Assert that after the "3" is typed, focus is put on the second field.
- Enter "44".
- Assert that you are in the last SSN field.
- Enter "5566"
- Click on the "Continue" button
- Assert that you are taken to a page with the title "insideMIT:Hires:Demographic details"
- Type as a series of keypresses "Misses" in the legal name first name field
- Type "Tab"
- Type "Tab"
- Assert that focus is on the last name field
- Insert the word "Tester" into the last name field
- Choose the "female" checkbox
- Click into the Date of Birth field
- Assert the Calendar widget appears
- Type in "06/01/1984" in the DOB field
- Type in 12 Cherry Lane in Address LIne 1
- Type in Boston in the City field
- Select "Massachusetts" in the state field
- Type in "02130" in the ZIP/Postal Code field
- Type in "W9" in the Building name field
- Assert that the Autocomplete drop down appears
- Click on W92 from the autocomplete list
- Assert that the Building field fills with the text "W92 - Information Services & Technology(ISDA OIS & SAIS)"
- Click on the Continue Button
- Assert that the error "This field is required" appears in the Name Prefix field
- Choose "Dr." for the Name Prefix field
- Click Continue again
- Assert that you are taken to the page titled "insideMIT:Hires:Job details"
- Assert that the "Enter position number" checkbox is checked
- Click on the "Search for job title" checkbox
- Assert that the Search for Job Title input appears
- Type in "professor"
- Click on the Search button
- Assert that you are taken to the page titled "insideMIT:Search for a Job Title"
- Click on the link "Associate Professor" in the search results
- Assert that you are taken back to the page titled "insideMIT:Hires:Job details"
- Select Chemistry in the Department Number/Name field
- Click on the "Continue" button
- Assert that you are taken to page titled "insideMIT:Hires: Action details”
- Check the No end date Checkbox
- Assert that the End Work Date field contains 12/31/9999
- Assert that End Work Date is disabled
- Uncheck No end date Checkbox
- Type (keypress events) "100" in the Percent Effort field
- Type 85000 in the Annual Salary field
- Assert that the Pay Basis text reads "9 month modified annual plan"
- Type 1777905 in the Cost Object field.
- Change End Work Date to 9/01/2012
- Click tab
- Assert that an ajax call is made to https://insidemit-apps-dev.mit.edu/apps/apr-hires/GetCostObjectNameJSON.action?id=1777905
- Type 100 in the Cost Object Percent field
- Assert that the Cost Object Title field reads "TECHNICAL SERVICES"
- Click yes on Charge to Off-campus radio button
- Type "testing apr-hires application" in the comments field
- Click on the Continue Button
- Assert that you are taken to the page titled "insideMIT:Hires:Submit"
- Click "no" on the Is the employee a U.S. Citizen radio buttons
- Assert that the Nationality and Residence Status sections appear
- Select Afghan for Nationality
- Select Non-resident (Choose Visa) for Residence Status
- Assert that the Visa fields appear
- Select an O-1 for Visa Type (Extraordinary worker in a special field)
- Select August 25, 2011 for Visa Status Start Date
- Select August 26, 2012 for Visa Status End Date
- Check all approvers in the Send Hire notifications section
- Click the Submit button
- Assert that you are taken to a page with the title "insideMIT:Hires:Summary"
- Capture the Success message
- Click the Home Button
- Assert that you are now at http://web.mit.edu/sapweb/SF2/employees_home.shtml