Exemple #1
0
        public void Test_StudentFormApprovedByIsEdit()
        {
            studentForm.ApprovedByField.Clear();
            studentForm.setApprovedBy("O. Reuta")
            .SubmitButton.Click();
            expectedResult = studentForm.RememberStudent();
            List <string> actualResult = table.getRowWithColumns(table.GetRowNumberByValueInCell(index, 2));

            actualResult.RemoveAt(8);
            CollectionAssert.AreEqual(expectedResult, actualResult);
        }
Exemple #2
0
        public void Test_StudentFormApprovedByIsNotEdit(string groupId, string name, string lastName, int englishLevel, string entryScore, string approved)
        {
            studentForm.ApprovedByField.Clear();
            studentForm.setApprovedBy(approved)
            .SubmitButton.Click();
            expectedResult = studentForm.RememberStudent();
            List <string> actualResult = table.getRowWithColumns(table.GetRowNumberByValueInCell(index, 2));

            actualResult.RemoveAt(8);
            CollectionAssert.AreEqual(expectedResult, actualResult);
        }
Exemple #3
0
 public void Test_ApprovedByFieldDisplayedText()
 {
     studentForm.setApprovedBy("someText");
     Assert.AreEqual("someText", studentForm.ApprovedByField.GetAttribute("value"));
 }