コード例 #1
0
 public void CreateFormsCategoryApplication()
 {
     CreateNewCategory.ClickOn();
     //CreateNewCategory.ClickOn();
     CategoryName.SendKeys(Constant.CategoryName);
     SaveCategory.ClickOn();
     softAssert.VerifyElementHasEqual(utility.TableCount(formsCategoryTableCount), Constant.tmpTableCount + 1);
 }
コード例 #2
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();
 }