public void ProgDeanCanAddSupportingDocuments() { /// 1. Login as a program dean, choose a learner in the learners table, click the Actions menu item, then the Add Supporting Documentation /// button, fill in the form and click Submit LoginPage LP = Navigation.GoToLoginPage(browser); CBDProgDeanPage PA = LP.LoginAsExistingUser(UserUtils.UserRole.PGD, UserUtils.ProgDean1Login, ConfigurationManager.AppSettings["LoginPassword"]); PA.AddSupportDocumentation("Anesthesiology", UserUtils.Learner1FullName, "C:\\Myfolder"); }
public void ProgDeanCanAddNotes() { /// 1. Login as a program dean LoginPage LP = Navigation.GoToLoginPage(browser); CBDProgDeanPage PA = LP.LoginAsExistingUser(UserUtils.UserRole.PGD, UserUtils.ProgDean1Login, ConfigurationManager.AppSettings["LoginPassword"]); /// 2. Choose a learner in the learners table, click on the Actions button, click on Add Notes, add some notes /// and click Submit PA.AddNotes("Anesthesiology", UserUtils.Learner1FullName); }
public void ProgDeanCanAddAndRemoveFlag() { /// 1. Login as a program dean LoginPage LP = Navigation.GoToLoginPage(browser); CBDProgDeanPage PA = LP.LoginAsExistingUser(UserUtils.UserRole.PGD, UserUtils.ProgDean1Login, ConfigurationManager.AppSettings["LoginPassword"]); /// 2. Choose a learner in the learners table, click on the Actions button, click on Add/Remove Flag, /// fill in all of the fields and click Save Flag PA.AddFlag("Anesthesiology", UserUtils.Learner1FullName); /// 3. Choose a learner in the learners table, click on the Actions button, click on Add/Remove Flag, /// fill in all of the fields and click Remove Flag PA.RemoveFlag("Anesthesiology", UserUtils.Learner1FullName); }