Esempio n. 1
0
 public void OpenStudentForm()
 {
     studentForm = new CreateEditStudentsForm(driver);
     studentForm.GoToStudents.Click();
     studentForm.addStudents();
     studentForm.IsOpened(wait);
 }
Esempio n. 2
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);
 }
Esempio n. 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));
     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");
 }