public void IAcceptedANewSalesQuote(Table salesTable)
        {
            SalesQuotePage salesQuotePage = new SalesQuotePage(driver);

            // sales quote details
            salesQuotePage.customerSearchBtn.Click();
            wait.Until(ExpectedConditions.ElementIsVisible(salesQuotePage.custLocalSearchControl));
            salesQuotePage.custSearchCdInput.SendKeys("GBRO" + Keys.Enter);
            wait.Until(ExpectedConditions.ElementIsVisible(salesQuotePage.custLocalSearcFirstResult)).Click();

            // product details
            salesQuotePage.productSearchButton.Click();
            wait.Until(ExpectedConditions.ElementIsVisible(salesQuotePage.prodLocalSearchControl));
            salesQuotePage.localProdSearchInput.SendKeys(salesTable.Rows[0][0] + Keys.Enter);
            wait.Until(ExpectedConditions.ElementIsVisible(salesQuotePage.prodLocalSearchFirstResult)).Click();
            salesQuotePage.prodQuantity.SendKeys(salesTable.Rows[0][1]);
            salesQuotePage.addProductBtn.Click();

            // verify product addition
            wait.Until(ExpectedConditions.VisibilityOfAllElementsLocatedBy(salesQuotePage.prodSalesQuoteTable));
            Assert.True(driver.FindElements(salesQuotePage.prodSalesQuoteTable).Count > 0,
                        "Sales Quote table should have more than zero records");

            // save quote
            salesQuotePage.saveSalesQuoteBtn.Click();

            // accept quote
            wait.Until(ExpectedConditions.ElementToBeClickable(salesQuotePage.acceptQuoteBtn)).Click();;
            wait.Until(ExpectedConditions.InvisibilityOfElementLocated(SalesQuotePage.acceptQuote));

            Assert.AreEqual(salesQuotePage.orderStatusDisplay.Text, "ACCEPTED", "Sales Quote status should be ACCEPTED");
            wait.Until(ExpectedConditions.InvisibilityOfElementLocated(SalesQuotePage.acceptQuote));
            salesNo = wait.Until(ExpectedConditions.ElementIsVisible(By.Id("OrderNumberDisplay"))).Text;
        }
        public void INavigateToTheAddSalesQuotePage()
        {
            LandingPage landingPage = new LandingPage(driver);

            wait.Until(ExpectedConditions.ElementIsVisible(landingPage.shortcutMenuIcon));
            landingPage.menuIcon.Click();
            wait.Until(ExpectedConditions.ElementIsVisible(LandingPage.addQuote));
            landingPage.addQuoteMenu.Click();

            SalesQuotePage salesQuotePage = new SalesQuotePage(driver);

            wait.Until(ExpectedConditions.ElementIsVisible(salesQuotePage.salesInvoiceTable));
        }