public void TearDownTest() { Log4Caesar.Log(); //Save changes mainPageInstance.ModalWindow.EditStudentWindow.SaveButton.Click(); wait.Until((d) => EditStudentListWindow.IsOpened(d)); }
public void TearDown() { //Log out from app wait.Until((d) => MainPageInstance.MoveToTopMenu().IsOpened()); MainPageInstance.TopMenu.LogoutButton.Click(); Log4Caesar.Log(); }
public void CleanUp() { Log4Caesar.Log(); mainPageInstance1.CenterContainer.GroupsContent.InfoTab.Click(); mainPageInstance1.CenterContainer.GroupsContent.CogWheel.Click(); mainPageInstance1.ModalWindow.GroupCreateWindow.GroupNameField.Clear(); mainPageInstance1.ModalWindow.GroupCreateWindow.GroupNameField.SendKeys("DP-027-JS"); mainPageInstance1.ModalWindow.GroupCreateWindow.SaveGroupButton.Click(); driver.Quit(); }
public void TearDownTest() { Log4Caesar.Log(); //Delete files try { mainPageInstance.ModalWindow.EditStudentWindow.RemoveCVButton.Click(); } catch { } try { mainPageInstance.ModalWindow.EditStudentWindow.RemovePhotoButton.Click(); } catch { } mainPageInstance.ModalWindow.EditStudentWindow.SaveButton.Click(); }
public void CleanUp() { Log4Caesar.Log(); mainPageInstance1.LeftContainer.GroupsInLocation.GetGroupByName("DP-001-Test").Click(); mainPageInstance1.CenterContainer.GroupsContent.CogWheel.Click(); mainPageInstance1.ModalWindow.GroupCreateWindow.GroupNameField.Clear(); mainPageInstance1.ModalWindow.GroupCreateWindow.GroupNameField.SendKeys("DP-065-AQC"); mainPageInstance1.ModalWindow.GroupCreateWindow.SetDirection("ATQC"); mainPageInstance1.ModalWindow.GroupCreateWindow.EditTeacher("D. Petin"); mainPageInstance1.ModalWindow.GroupCreateWindow.EditExpert("Testman"); mainPageInstance1.ModalWindow.GroupCreateWindow.SaveGroupButton.Click(); driver.Quit(); }
public void CleanUp() { Log4Caesar.Log(); }
public void CleanUp() { Log4Caesar.Log(); driver.Quit(); }