Esempio n. 1
0
        public void Test_GroupFormBudgetOwnerCheck(string groupName, int location, bool budgetOwner, int direction, string startDate, string finishDate, string teacher, string experts)
        {
            groupsForm.setBudgetOwner(budgetOwner);
            bool expectedResult = groupsForm.BudgetOwnerCheckbox.Selected;

            groupsForm.SubmitButton.Click();
            bool actualResult = (table.GetRowsWithColumns()[table.GetRowNumberByValueInCell(index, 0) - 1][2].GetAttribute("checked")) != null;

            Assert.AreEqual(expectedResult, actualResult);
        }
Esempio n. 2
0
 public void Test_BudgetOwnerCheckBox()
 {
     groupForm.setBudgetOwner(true);
     Assert.IsTrue(groupForm.BudgetOwnerCheckbox.Selected);
 }