Esempio n. 1
0
        public void TC69224()
        {
            Action.Enter_Text(control.txtSkuUpcModel, Data.get("69224QRCODE"));
            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("69224PIMG"), control.Images);
            Action.verify_Text(control.productDetailsPage, Data.get("69224DESC"));
            Action.verify_Text(control.productDetailsPage, Data.get("69224MODEL"));
            Action.verify_Text(control.productDetailsPage, Data.get("69224SKU"));
            Action.verify_Text(control.productDetailsPage, Data.get("69224AVLAO"));
            Action.verify_Text(control.productDetailsPage, Data.get("69224PRC"));
            Action.click_Element(control.txtActivationProducts);
            Action.read_Text(control.titleActProducts, Data.get("titleActProducts"));
            Thread.Sleep(2000);
            Action.verify_Text(control.headerActProducts, Data.get("HDRACTPRDS"));
            Action.verify_Text(control.ActProdDetails, Data.get("69224DESC"));
            Action.verify_Text(control.ActProdDetails, Data.get("69224MODEL"));
            Action.verify_Text(control.ActProdDetails, Data.get("69224SKU"));
            Action.click_Element(control.CarrierVER);
            //IBN-24
            Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan1, Data.get("69221NV24MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69221NV24TERM"));
            Action.verify_Text(control.ActPlan1, Data.get("69221NV24WAS"));
            //IBU-24
            Action.verify_Text(control.ActPlan2, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan2, Data.get("69224UV24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69224UV24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69224UV24SAVE"));
            Action.verify_Text(control.ActPlan2, Data.get("69224UV24WAS"));
            //OMT1
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69224VOMT1"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69224VOMT1SAVE"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69224VOMT1WAS"));
            Reusable.scroll(driver);
            //OMT3
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69224VOMT3"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69224VOMT3SAVE"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69224VOMT3WAS"));
            //Unactivated
            Action.verify_Text(control.ActPlan5, Data.get("69224VUACT"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69224VSAVE"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69224VWAS"));
            Action.click_Element(control.CarrierATT);
            //IBN-20
            Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan1, Data.get("69224N20MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69224N20TERM"));
            Action.verify_Text(control.ActPlan1, Data.get("69224N20GC"));
            Action.verify_Text(control.ActPlan1, Data.get("69224N20TOTAL"));
            //IBN-24
            Action.verify_Text(control.ActPlan2, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan2, Data.get("69224N24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69224N24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69224N24GC"));
            Action.verify_Text(control.ActPlan2, Data.get("69224N24TOTAL"));
            //IBN-30
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69224N30MTHPYMT"));
            Action.verify_Text(control.ActPlan3, Data.get("69224N30TERM"));
            Action.verify_Text(control.ActPlan3, Data.get("69224N30GC"));
            Action.verify_Text(control.ActPlan3, Data.get("69224N30WAS"));
            Action.verify_Text(control.ActPlan3, Data.get("69224N30SAVE"));

            //IBU-30
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69224U30MTHPYMT"));
            Action.verify_Text(control.ActPlan4, Data.get("69224U30TERM"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69224U30GC"));
            Action.verify_Text(control.ActPlan4, Data.get("69224U30TOTAL"));
            //IBU-20
            Action.verify_Text(control.ActPlan5, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan5, Data.get("69224U20MTHPYMT"));
            Action.verify_Text(control.ActPlan5, Data.get("69224U20TERM"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69224U20GC"));
            Action.verify_Text(control.ActPlan5, Data.get("69224U20WAS"));
            Action.verify_Text(control.ActPlan5, Data.get("69224U20SAVE"));

            //IBU-24
            Action.verify_Text(control.ActPlan6, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan6, Data.get("69224U24MTHPYMT"));
            Action.verify_Text(control.ActPlan6, Data.get("69224U24TERM"));
            Action.verifyTextNotExist(control.ActPlan6, Data.get("69224U24GC"));
            Action.verify_Text(control.ActPlan6, Data.get("69224U24WAS"));
            Action.verify_Text(control.ActPlan6, Data.get("69224U24SAVE"));
            Reusable.scroll(driver);

            //OMT1
            Action.verify_Text(control.ActPlan7, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan7, Data.get("69224OMT1"));
            Action.verifyTextNotExist(control.ActPlan7, Data.get("69224OMT1GC"));
            Action.verify_Text(control.ActPlan7, Data.get("69224OMT1SAVE"));
            Action.verify_Text(control.ActPlan7, Data.get("69224OMT1WAS"));

            //OMT3
            Action.verify_Text(control.ActPlan8, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan8, Data.get("69224OMT3"));
            Action.verifyTextNotExist(control.ActPlan8, Data.get("69224OMT3GC"));
            Action.verifyTextNotExist(control.ActPlan8, Data.get("69224OMT3SAVE"));
            Action.verifyTextNotExist(control.ActPlan8, Data.get("69224OMT3WAS"));
            //Unactivated
            Action.verify_Text(control.ActPlan9, Data.get("69224UACT"));
            Action.verifyTextNotExist(control.ActPlan9, Data.get("69224UACTGC"));
            Action.verify_Text(control.ActPlan9, Data.get("69224UACTSAVE"));
            Action.verify_Text(control.ActPlan9, Data.get("69224UACTWAS"));
            Reusable.scrollUp(driver);
            Action.click_Element(control.CarrierSPRT);
            //IBN - 24
            Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan1, Data.get("69224NS24MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69224NS24TERM"));
            Action.verifyTextNotExist(control.ActPlan1, Data.get("69224NS24GC"));
            Action.verify_Text(control.ActPlan1, Data.get("69224NS24TOTAL"));
            // IBU - 24
            Action.verify_Text(control.ActPlan2, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan2, Data.get("69224US24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69224US24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69224US24SAVE"));
            Action.verify_Text(control.ActPlan2, Data.get("69224US24WAS"));
            //  LSN - 18
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69224NS18MTHPYMT"));
            Action.verify_Text(control.ActPlan3, Data.get("69224NS18TERM"));
            Action.verify_Text(control.ActPlan3, Data.get("69224NS18GC"));
            Action.verify_Text(control.ActPlan3, Data.get("69224NS18SAVE"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69224NS18WAS"));
            Reusable.scroll(driver);
            // LSU - 18
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69224US18MTHPYMT"));
            Action.verify_Text(control.ActPlan4, Data.get("69224US18TERM"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69224US18GC"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69224US18TOTAL"));
            //Unactivated
            Action.verify_Text(control.ActPlan5, Data.get("69224SUACT"));
            Action.verify_Text(control.ActPlan5, Data.get("69224SUACTGC"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69224SUACTSAVE"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69224UACTWAS"));
        }