public void PriceListTaxEditApplication() { Pages.PriceListTax_Page.PriceListTaxCreateApplication(); PriceListTaxEdit.ClickWait(); PriceListTaxApprove.ClickOn(); softAssert.VerifySuccessMsg(); }
public void PriceListTaxCreateApplication() { Pages.PriceListTax_Page.EnterPriceListTaxScreen(); string useName = Constant.priceListTax; int countBefore = utility.TableCount("//*[@id='PriceListTaxationGrid']/div[2]/table/tbody"); PriceListTaxCreate.ClickOn(); PriceListTaxApprove.ClickOn(); softAssert.VerifyElementIsPresent(NameErrorMsg); PriceListTaxName.EnterText(RandomNumber.taxNumber()); PriceListTaxApprove.ClickOn(); int countAfter = utility.TableCount("//*[@id='PriceListTaxationGrid']/div[2]/table/tbody"); softAssert.VerifyElemenNotHaveEqual(countBefore, countAfter); }