public void PriceListTypeEditApplication() { PriceListTypeEdit.ClickOn(); PriceListTypeName.EnterClearText("Edit" + RandomNumber.smallNumber()); PriceListTypeApprove.ClickOn(); softAssert.VerifyElementIsPresent(Pages.Home_Page.SuccessPopup); }
public void PriceListTypeCreateApplication() { Pages.PriceListType_Page.EnterPriceLisTypeScreen(); PriceListTypeCreate.ClickOn(); PriceListTypeApprove.ClickOn(); softAssert.VerifyElementIsPresent(NameErrorMsg); PriceListTypeName.EnterText(Constant.priceListName); PriceListTypeApprove.ClickOn(); Assert.AreEqual(utilityFunction.TableCount(priceListTable), Constant.tmpTableCount + 1); }