コード例 #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);
        }
コード例 #2
0
ファイル: TC_4_03_03_00cs.cs プロジェクト: nioktn/Caesar_ITA
        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);
        }
コード例 #3
0
ファイル: TC_4_03_01.cs プロジェクト: nioktn/Caesar_ITA
 public void Test_EntryScoreFieldDisplayedText()
 {
     studentForm.setEntryScore("someText");
     Assert.AreEqual("someText", studentForm.EntryScoreField.GetAttribute("value"));
 }