Пример #1
0
        public void Test_StudentFormLastNameIsEdit()
        {
            studentForm.LastNameField.Clear();
            studentForm.setLastName("Ivanov")
            .SubmitButton.Click();
            expectedResult = studentForm.RememberStudent();
            List <string> actualResult = table.getRowWithColumns(table.GetRowNumberByValueInCell(index, 2));

            actualResult.RemoveAt(8);
            CollectionAssert.AreEqual(expectedResult, actualResult);
        }
Пример #2
0
        public void Test_StudentFormLastNameIsNotEdit(string groupId, string name, string lastName, int englishLevel, string entryScore, string approved)
        {
            studentForm.LastNameField.Clear();
            studentForm.setLastName(lastName)
            .SubmitButton.Click();
            expectedResult = studentForm.RememberStudent();
            List <string> actualResult = table.getRowWithColumns(table.GetRowNumberByValueInCell(index, 2));

            actualResult.RemoveAt(8);
            CollectionAssert.AreEqual(expectedResult, actualResult);
        }
Пример #3
0
 public void Test_LastNameFieldDisplayedText()
 {
     studentForm.setLastName("someText");
     Assert.AreEqual("someText", studentForm.LastNameField.GetAttribute("value"));
 }