/// <summary> /// Logs in as an assessor, clicks the Review button for a user-specified Trainee, clicks on the milestone links in the Milestone table, /// marks the milestone as Achieved, then logs out /// </summary> /// <param name="browser">The driver instance</param> /// <param name="assessorLogin">The assessor's login</param> /// <param name="traineeFullName">The trainee's first and last name</param> public static void AsAssessor_ApproveTrainee(IWebDriver browser, string assessorLogin, string traineeFullName) { LoginPage LP = Navigation.GoToLoginPage(browser); PERAssessorPage AP = LP.LoginAsExistingUser(UserUtils.UserRole.ASRPER, assessorLogin, "test"); AP.MarkAllMilestones(traineeFullName, true); AP.Logout(); }