public void OpenStudentForm() { studentForm = new CreateEditStudentsForm(driver); table = new Table(studentForm.GetTable); studentForm.EditStudent(table.GetRowNumberByValueInCell(index, 2)); studentForm.IsOpened(wait); }
public void OpenStudentForm() { studentForm = new CreateEditStudentsForm(driver); studentForm.GoToStudents.Click(); studentForm.addStudents(); studentForm.IsOpened(wait); }
public void Initialize() { wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10)); driver.Manage().Window.Maximize(); driver.Url = @"http://*****:*****@"http://localhost:3000/admin"; wait.Until((d) => CreateEditStudentsForm.IsAdminPageOpened(d)); studentForm = new CreateEditStudentsForm(driver); studentForm.GoToStudents.Click(); studentForm.addStudents(); studentForm.IsOpened(wait); }
public void Initialize() { wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10)); driver.Manage().Window.Maximize(); driver.Url = @"http://*****:*****@"http://localhost:3000/admin"; wait.Until((d) => CreateEditStudentsForm.IsAdminPageOpened(d)); studentForm = new CreateEditStudentsForm(driver); studentForm.GoToStudents.Click(); studentForm.addStudents(); studentForm.IsOpened(wait); studentForm.setGroupId("DP-093-JS") .setName("Olga") .setLastName("Ivanova") .setEnglishLevelDDL(0) .setEntryScore("25") .setApprovedBy("N. Varenko") .SubmitButton.Click(); index = studentForm.LastNameField.GetAttribute("value"); }