예제 #1
0
        public void UpdateBasePriceListApplication()
        {
            Pages.Home_Page.EntePriceListTab();

            string PriceToUpdate      = utility.ElementText("//*[@id='gridPriceListPrices']/div[2]/div[1]/table/tbody/tr/td[5]");
            string percentageToUpdate = "25";

            PriceListUpdateScreen.ClickWait();
            BasicPricelistCheck.ClickOn();
            PercentageBox.SendKeys(percentageToUpdate);
            UpdateByBasicPriceType.ClickOn();

            var endResult = utility.PricelistTaxCal(decimal.Parse(PriceToUpdate), decimal.Parse(percentageToUpdate));

            Pages.PriceList_Page.PriceListWindow.ClickOn();
            Assert.AreNotEqual(PriceToUpdate, endResult);
        }
예제 #2
0
 public void EnterPriceLisUpdateScreen()
 {
     Pages.Home_Page.EntePriceListTab();
     PriceListUpdateScreen.ClickWait();
     softAssert.VerifyElementIsPresent(ChangePriceByTax);
 }