Example #1
0
        public void Test_StudentFormEntryScorelIsEdit()
        {
            studentForm.EntryScoreField.Clear();
            studentForm.setEntryScore("130")
            .SubmitButton.Click();
            expectedResult = studentForm.RememberStudent();
            List <string> actualResult = table.getRowWithColumns(table.GetRowNumberByValueInCell(index, 2));

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

            actualResult.RemoveAt(8);
            CollectionAssert.AreEqual(expectedResult, actualResult);
        }
Example #3
0
 public void Test_EntryScoreFieldDisplayedText()
 {
     studentForm.setEntryScore("someText");
     Assert.AreEqual("someText", studentForm.EntryScoreField.GetAttribute("value"));
 }