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