# Admin create a person and validate user login and credentials ## Description: Admin create a person and validate user login and credentials ## Step-by-step procedure: ### A) Admin add new Person 1. Launch the application. 2. Click **Get started** button on On-boarding screen. 3. On "Let's get started" screen, Tap on the **School name** field. 4. Enter the **School name**. 5. Select on School name that will appear below the School name field. 6. Verify the user is in **Login** screen. 7. Tap on the **Username** field and enter the admin username. 8. Tap on the **Password** field and enter the admin password. 9. Tap on the **Login** button. 10. Verify the user is in the **Apps** screen. 11. Click on the "People" tab. 12. Click on "+ Person" button. 13. On "Add person" screen, click on Save button. 14. Verify that user getting error saying First name, Last name and Gender fields are required fields. 15. Click on "First name" field and enter the user's First name. 16. Click on "Last name" field and enter the user's Last name. 17. Click on "Gender" and select user's gender. 18. Click on "Role" field and select "Parent" option. 19. Click on "Date of birth" field and enter a future date. 20. Click on the Save button. 21. Verify user is getting error saying- Date of birth can't be a future date. 22. Click on "Date of birth" field and enter user's date of birth. 23. Click on Phone number field and enter a single digit number. 24. Click on the Save button. 25. Verify user is getting error saying- Invalid phone number 26. Click on Phone number field and enter 11 digit number 27. Click on the Save button. 28. Verify user is getting error saying- Invalid phone number. 29. Click on Phone number field and enter 10 digit number. 30. Click on email field and enter invalid email id. 31. Click on the Save button. 32. Verify user is getting error saying- Invalid email id. 33. Click on email field and enter user's valid email id. 34. Click on the Save button 35. Verify user details are saved. 36. Click on the Save button 37. Verify person details are saved. 38. Click on "Edit" button. 39. Click on"+ Family member" button 40. Click on "Add person" button. 41. User enter First names, Last name, Gender. 42. Click on "Save" button. 43. Verify user is on Parent user's edit screen and child user's name is visible. 44. Click on "Save". 45. User is on Parent user's person detail screen. 46. Click on Child user's name. 47. Verify user's role is "Student". 48. Verify user able to see connected family member. 49. Click on "People" tab at bottom. 50. Click on "Add person". 51. Add ser first name, Last name and Gender. 52. Click on "Role" and select "Teacher". 53. Verify the "+ Family member" button is not visible. 54. Click on "Role" and change role to "Student". 55. Click on "Family member" and select Parent user from members list. 56. Click on "Save" button. 57. Click on Parent user's name. 58. Click on "Create account" button. 59. Click on "Save" button. 60. Verify user is getting error saying Username and Password are mandatory fields. 61. Click on Username and enter a name starting with a letter. 62. Verify user is getting error, saying Username cannot start with a number. 63. Click on Username and enter a name with 2 characters like - "AB". 64. Verify user is getting error saying "User name should be at least 3 characters" 65. Click on Username and enter a valid username. 66. Click on Password and enter a 2 digit password. 67. Verify user is getting error saying "User password should be at least 6 characters" 68. Click on Password and enter a 7 digit/letters password. 69. Click on "SAVE" button. 70. Verify the user able to see username in person detail screen. 71. Click on Child user's name. 72. Click on "Create account" button. 73. Click on Username and enter a valid username. 74. Click on Password and enter a valid password. 75. Click on "SAVE" button. 76. Verify the user able to see username in person detail screen. ### B) New person login to the app with credentials shared by admin 1. Launch the application. 2. Click **Get started** button on On-boarding screen. 3. On "Let's get started" screen, Tap on the **School name** field. 4. Enter the **School name**. 5. Select on School name that will appear below the School name field. 6. Verify the user is in **Login** screen. 7. Tap on the **Username** field and enter the invalid username. 8. Tap on the **Password** field and enter the valid password. 9. Tap on the **Login** button. 10. Verify the user is getting error saying - Invalid Username/Password, try again. 11. Tap on the **Username** field and enter the valid username. 12. Tap on the **Password** field and enter the invalid password. 13. Tap on the **Login** button. 14. Verify the user is getting error saying - Invalid Username/Password, try again. 15. Tap on the **Username** field and enter the valid username. 16. Tap on the **Password** field and enter the valid password. 17. Tap on the **Login** button. 18. Verify the user is in the **Apps** screen. 19. Click on the "People" tab. 20. Click on user's name 21. Verify user is on Person details screen. 22. Verify user able to see connected family members in person details screen. ### C) Verify simplified child mode 1. Launch the application. 2. Click **Get started** button on On-boarding screen. 3. On "Let's get started" screen, Tap on the **School name** field. 4. Enter the **School name**. 5. Select on School name that will appear below the School name field. 6. Verify the child user is in **Login** screen. 7. Tap on the **Username** field and enter the valid username. 8. Tap on the **Password** field and enter the updated new password. 9. Tap on the **Login** button. 10. Verify the user is in the **Assignments** screen. 11. Verify child user able to see Assignments and Apps screens. 12. Verify user not able to see Classes and People tabs.