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