Beispiel #1
0
 public void TearDownTest()
 {
     Log4Caesar.Log();
     //Save changes
     mainPageInstance.ModalWindow.EditStudentWindow.SaveButton.Click();
     wait.Until((d) => EditStudentListWindow.IsOpened(d));
 }
Beispiel #2
0
 public void TearDown()
 {
     //Log out from app
     wait.Until((d) => MainPageInstance.MoveToTopMenu().IsOpened());
     MainPageInstance.TopMenu.LogoutButton.Click();
     Log4Caesar.Log();
 }
Beispiel #3
0
 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();
 }
Beispiel #4
0
        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();
        }
Beispiel #5
0
        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();
        }
Beispiel #6
0
 public void CleanUp()
 {
     Log4Caesar.Log();
 }
Beispiel #7
0
 public void CleanUp()
 {
     Log4Caesar.Log();
     driver.Quit();
 }