public void PriceListTypeDeleteApplication() { PriceListTypeDelete.ClickOn(); DeleteApprove.ClickOn(); Thread.Sleep(500); Assert.AreEqual(utilityFunction.TableCount(priceListTable), Constant.tmpTableCount); }
public void PriceListTaxDeleteApplication() { int countBefore = utility.TableCount("//*[@id='PriceListTaxationGrid']/div[2]/table/tbody"); PriceListTaxDelete.ClickOn(); DeleteApprove.ClickOn(); softAssert.VerifyElementIsPresent(Pages.Home_Page.SuccessPopup); int countAfter = utility.TableCount("//*[@id='PriceListTaxationGrid']/div[2]/table/tbody"); }