public void EditCategoryApplication() { CategoryEdit.ClickOn(); CategoryName.Clear(); CategoryApprove.ClickOn(); softAssert.VerifyElementIsPresent(CategoryNameValidation); CategoryName.EnterClearText(Constant.CategoryName + RandomNumber.smallNumber()); CategoryApprove.ClickOn(); softAssert.VerifySuccessMsg(); }
public void CreateCategoryApplication() { EnterCategoryWindow(); CategoryCreateNew.ClickOn(); CategoryApprove.ClickOn(); softAssert.VerifyElementIsPresent(CategoryNameValidation); CategoryName.EnterClearText(Constant.CategoryName + RandomNumber.smallNumber()); CategoryApprove.ClickOn(); softAssert.VerifyElementHasEqual(utility.TableCount(categoryTableCount), Constant.tmpTableCount + 1); }