Example #1
0
 public void Test_GroupFormExpertsFieldIsEdit(string groupName, int location, bool budgetOwner, int direction, string startDate, string finishDate, string teacher, string experts)
 {
     groupsForm.ExpertsField.Clear();
     groupsForm.setExperts(experts)
     .SubmitButton.Click();
     expectedResult = groupsForm.RememberGroup();
     Assert.IsTrue(table.FindRowInTable(expectedResult));
 }
Example #2
0
        public void Test_GroupFormExpertsFieldIsNotEdit(string experts, string startDate, string finishDate, string teacher, string groupName)
        {
            groupsForm.ExpertsField.Clear();
            groupsForm.setExperts(experts)
            .SubmitButton.Click();
            List <string> expectedResult = groupsForm.RememberGroup();

            Assert.IsFalse(table.FindRowInTable(expectedResult));
        }
Example #3
0
 public void Test_ExpertsFieldDisplayedText()
 {
     groupForm.setExperts("someText");
     Assert.AreEqual("someText", groupForm.ExpertsField.GetAttribute("value"));
 }