public void CreateFormsCategoryApplication() { CreateNewCategory.ClickOn(); //CreateNewCategory.ClickOn(); CategoryName.SendKeys(Constant.CategoryName); SaveCategory.ClickOn(); softAssert.VerifyElementHasEqual(utility.TableCount(formsCategoryTableCount), Constant.tmpTableCount + 1); }
public void EditFormsCategoryApplication() { EditCategory.ClickOn(); CategoryName.Clear(); SaveCategory.ClickOn(); softAssert.VerifyElementPresentInsideWindow(NameValidation, Pages.Home_Page.PopupCloseClass); CategoryName.SendKeys(Constant.Edit + RandomNumber.smallNumber()); SaveCategory.ClickOn(); softAssert.VerifySuccessMsg(); }