Beispiel #1
0
 public void OpenStudentForm()
 {
     studentForm = new CreateEditStudentsForm(driver);
     table       = new Table(studentForm.GetTable);
     studentForm.EditStudent(table.GetRowNumberByValueInCell(index, 2));
     studentForm.IsOpened(wait);
 }
Beispiel #2
0
 public void OpenStudentForm()
 {
     studentForm = new CreateEditStudentsForm(driver);
     studentForm.GoToStudents.Click();
     studentForm.addStudents();
     studentForm.IsOpened(wait);
 }
Beispiel #3
0
 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));
 }
Beispiel #4
0
 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");
 }