Beispiel #1
0
 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();
 }
 public void EditCategoryApplication()
 {
     CategoryEdit.ClickOn();
     CategoryName.Clear();
     CategoryApprove.ClickOn();
     softAssert.VerifyElementIsPresent(CategoryNameValidation);
     CategoryName.EnterClearText(Constant.CategoryName + RandomNumber.smallNumber());
     CategoryApprove.ClickOn();
     softAssert.VerifySuccessMsg();
 }