示例#1
0
        public void FirstCryAssignment2()
        {
            objFirstCryPage.CloseAdvPopUp();
            objFirstCryPage.ClickOnLogin();
            objFirstCryPage.SetUserName();
            objFirstCryPage.SetPassword();
            objFirstCryPage.UncheckRememberMeCheckBox();
            objFirstCryPage.ClickOnLoginButton();
            objFirstCryPage.NavigateToSiteMap();

            objFirstCryPage.WriteAllCategoryFile();
            objFirstCryPage.ClosePopUpWindow();
            objFirstCryPage.ClickOnViewMoreLink();
            objFirstCryPage.SwitchToNextWindow();
            objFirstCryPage.ClearCartEmpty();

            objFirstCryPage.ApplyFilter("", "");
            objFirstCryPage.ClosePopUpWindow();
            objFirstCryPage.SelectSpecificProduct();
            objFirstCryPage.SwitchToIframeQuickView();
            objFirstCryPage.ClickOnMoreProductDeatails();
            objFirstCryPage.SwitchToNextWindow();
            objFirstCryPage.AddQuantity();
            objFirstCryPage.ClickOnAddToCartButton();
            objFirstCryPage.ValidateTotal();///
            objFirstCryPage.ClickOnPlaceOrder();

            objFirstCryPage.SetYourEmailAddress();
            objFirstCryPage.ClickOnLoginContinueButton();
            objFirstCryPage.SetFirstName();
            objFirstCryPage.SetFlatOrBuildinnName();
            objFirstCryPage.SetAddresss();
            objFirstCryPage.SetShippingCityName();
            objFirstCryPage.SetPinCode();
            objFirstCryPage.SetShippingState();
            objFirstCryPage.SetMobileNumber();
            objFirstCryPage.ClickOnSubmitButton();
            objFirstCryPage.ValidateTotal();////

            objFirstCryPage.ClickOnFinalPaymentButton();
            objFirstCryPage.SelectPaypal();
            objFirstCryPage.SelectCurrency();
            objFirstCryPage.ClickOnPayNowButton();
            objFirstCryPage.verifyPaypalBankPage();
        }