Пример #1
0
        public void TC69222()
        {
            Action.Enter_Text(control.txtSkuUpcModel, Data.get("69222QRCODE"));
            Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
            Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
            Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
            Reusable.verifyImages(Data.get("69222PIMG"), control.Images);
            Action.verify_Text(control.productDetailsPage, Data.get("69222DESC"));
            Action.verify_Text(control.productDetailsPage, Data.get("69222MODEL"));
            Action.verify_Text(control.productDetailsPage, Data.get("69222SKU"));
            Action.verify_Text(control.productDetailsPage, Data.get("69222AVLAO"));
            Action.verify_Text(control.productDetailsPage, Data.get("69222PRC"));
            Action.click_Element(control.txtActivationProducts);
            Action.read_Text(control.titleActProducts, Data.get("titleActProducts"));
            Action.verify_Text(control.headerActProducts, Data.get("HDRACTPRDS"));
            Action.verify_Text(control.ActProdDetails, Data.get("69222DESC"));
            Action.verify_Text(control.ActProdDetails, Data.get("69222MODEL"));
            Action.verify_Text(control.ActProdDetails, Data.get("69222SKU"));
            Thread.Sleep(1000);
            Reusable.IsDisabled(control.CarrierATT, Data.get("69222ATT"));
            Action.click_Element(control.CarrierVER);
            //IBN-24
            Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan1, Data.get("69222NV24MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69222NV24TERM"));
            Action.verify_Text(control.ActPlan1, Data.get("69222NV24WAS"));
            //IBU-24
            Action.verify_Text(control.ActPlan2, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan2, Data.get("69222UV24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69222UV24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69222UV24SAVE"));
            Action.verify_Text(control.ActPlan2, Data.get("69222UV24WAS"));
            //Unactivated
            Action.verify_Text(control.ActPlan3, Data.get("69222VUACT"));
            Reusable.actvDisclmr(control.actvDisclmr, Data.get("69222VDISCLMR"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69222VSAVE"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69222VWAS"));
            Action.click_Element(control.CarrierSPRT);
            //IBN - 24
            Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan1, Data.get("69222NS24MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69222NS24TERM"));
            Action.verify_Text(control.ActPlan1, Data.get("69222NS24TOTAL"));
            // IBU - 24
            Action.verify_Text(control.ActPlan2, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan2, Data.get("69222US24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69222US24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69222US24TOTAL"));
            //  LSN - 18
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69222NS18MTHPYMT"));
            Action.verify_Text(control.ActPlan3, Data.get("69222NS18TERM"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69222NS18TOTAL"));

            Reusable.scroll(driver);
            // LSU - 18
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69222US18MTHPYMT"));
            Action.verify_Text(control.ActPlan4, Data.get("69222US18TERM"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69222US18TOTAL"));
            //OMT1
            Action.verify_Text(control.ActPlan5, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan5, Data.get("69222SOMT1"));
            Action.verify_Text(control.ActPlan5, Data.get("69222SOMT1SAVE"));
            Action.verify_Text(control.ActPlan5, Data.get("69222SOMT1WAS"));
            //OMT3
            Action.verify_Text(control.ActPlan6, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan6, Data.get("69222SOMT3"));
            Action.verify_Text(control.ActPlan6, Data.get("69222SOMT3SAVE"));
            Action.verify_Text(control.ActPlan6, Data.get("69222SOMT3WAS"));
            //Unactivated
            Action.verify_Text(control.ActPlan7, Data.get("69222SUACT"));
            Reusable.actvDisclmr(control.actvDisclmr, Data.get("69222SDISCLMR"));
            Action.verifyTextNotExist(control.ActPlan7, Data.get("69222SUACTSAVE"));
            Action.verifyTextNotExist(control.ActPlan7, Data.get("69222SUACTWAS"));
        }