Ejemplo n.º 1
0
 public void EditDepartmentApplicaiton()
 {
     DepartmentEdit.ClickOn();
     DepartmentName.Clear();
     DepartmentConfirm.ClickOn();
     softAssert.VerifyElementIsPresent(DepNameValidationPopup);
     DepartmentName.EnterClearText(Constant.departmentName + RandomNumber.smallNumber());
     DepartmentConfirm.ClickOn();
 }
Ejemplo n.º 2
0
 public void CreateDepartmentApplication()
 {
     Pages.Business_Page.CheckDepartmentIsNull();
     Pages.Business_Page.EnterDepaertmentWindow();
     DepartmentCreate.ClickOn();
     DepartmentConfirm.ClickOn();
     softAssert.VerifyElementPresentInsideWindow(DepNameValidationPopup, DepartmentCloseButton);
     DepartmentName.EnterClearText(Constant.departmentName + RandomNumber.smallNumber());
     DepartmentConfirm.ClickOn();
     softAssert.VerifyElementPresentInsideWindow(DepartmentDelete, DepartmentCloseButton);
     softAssert.VerifyElementHasEqual(utility.TableCount(departmentTableCount), Constant.tmpTableCount + 1);
 }