Exemple #1
0
        public void ClearWishList()
        {
            TopBar       navBar   = new TopBar();
            WishListPage wishList = navBar.WishListButtonClick();

            while (!wishList.IsEmpty())
            {
                wishList.GetProduct().ClickRemoveFromWishListButton();
            }
        }
Exemple #2
0
        public string GetCurrencyFromWishList(WishListPage wishListPage)
        {
            WishListTableItem product           = wishListPage.GetProduct();
            string            productPrice      = product.GetProductPrice();
            string            cleanProductPrice = productPrice.Trim();

            if (CurrentCurrencyFromMain == "€")
            {
                return(cleanProductPrice[cleanProductPrice.Length - 1].ToString());
            }
            else
            {
                return(cleanProductPrice[0].ToString());
            }
        }