public bool WaitForCAddToCart()
 {
     return(FrameWork.WaitForElementPresent(AddedToCartCheck));
 }
        public bool CheckCartCount(int count)
        {
            By quantity = By.XPath("//span[@class='ajax_cart_quantity'][contains(text(), '" + count.ToString() + "')]");

            return(FrameWork.WaitForElementPresent(quantity));
        }
Example #3
0
 public bool WaitForAuthentication()
 {
     return(FrameWork.WaitForElementPresent(Authentication));
 }
 public bool WaitForDressesCat()
 {
     return(FrameWork.WaitForElementPresent(DressesCat));
 }
 public bool SelectSummerDressSku6()
 {
     driver.Navigate().GoToUrl(SummerDressSku6);
     FrameWork.Highlight(DressesSku6, 5);
     return(FrameWork.WaitForElementPresent(DressesSku6));
 }
 public bool WaitForHomeImg()
 {
     return(FrameWork.WaitForElementPresent(Img));
 }
 public bool WaitForHomePage()
 {
     return(FrameWork.WaitForElementPresent(MainPage));
 }