Пример #1
0
        public void TC69219()
        {
            Action.Enter_Text(control.txtSkuUpcModel, Data.get("69219QRCODE"));
            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("69219PIMG"), control.Images);
            Action.verify_Text(control.productDetailsPage, Data.get("69219DESC"));
            Action.verify_Text(control.productDetailsPage, Data.get("69219MODEL"));
            Action.verify_Text(control.productDetailsPage, Data.get("69219SKU"));
            Action.verify_Text(control.productDetailsPage, Data.get("69219AVLAO"));
            Action.verify_Text(control.productDetailsPage, Data.get("69219PRC"));
            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("69219DESC"));
            Action.verify_Text(control.ActProdDetails, Data.get("69219MODEL"));
            Action.verify_Text(control.ActProdDetails, Data.get("69219SKU"));
            Action.verify_Text(control.ActProdCarrier, Data.get("69219CARRIER"));
            //IBN-24
            Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan1, Data.get("69219N24MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69219N24TERM"));
            Action.verify_Text(control.ActPlan1, Data.get("69219N24GC"));
            Action.verify_Text(control.ActPlan1, Data.get("69219N24TOTAL"));
            //IBU-24
            Action.verify_Text(control.ActPlan2, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan2, Data.get("69219U24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69219U24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69219U24SAVE"));
            Action.verify_Text(control.ActPlan2, Data.get("69219U24WAS"));
            Reusable.scroll(driver);
            //OMT1
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69219OMT1"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69219OMT1SAVE"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69219OMT1WAS"));
            Reusable.scroll(driver);
            //OMT3
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69219OMT3"));
            Action.verify_Text(control.ActPlan4, Data.get("69219OMT3SAVE"));
            Action.verify_Text(control.ActPlan4, Data.get("69219OMT3WAS"));

            //Unactivated
            Action.verify_Text(control.ActPlan5, Data.get("69219UACT"));
            Reusable.actvDisclmr(control.actvDisclmr, Data.get("69219DISCLMR"));
            Action.verify_Text(control.ActPlan5, Data.get("69219SAVE"));
            Action.verify_Text(control.ActPlan5, Data.get("69219WAS"));
        }
Пример #2
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"));
        }
Пример #3
0
        public void TC69221()
        {
            Action.Enter_Text(control.txtSkuUpcModel, Data.get("69221QRCODE"));
            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("69221PIMG"), control.Images);
            Action.verify_Text(control.productDetailsPage, Data.get("69221DESC"));
            Action.verify_Text(control.productDetailsPage, Data.get("69221MODEL"));
            Action.verify_Text(control.productDetailsPage, Data.get("69221SKU"));
            Action.verify_Text(control.productDetailsPage, Data.get("69221AVLAO"));
            Action.verify_Text(control.productDetailsPage, Data.get("69221PRC"));
            Action.click_Element(control.txtActivationProducts);
            Thread.Sleep(1000);
            Action.read_Text(control.titleActProducts, Data.get("titleActProducts"));
            Action.verify_Text(control.headerActProducts, Data.get("HDRACTPRDS"));
            Action.verify_Text(control.ActProdDetails, Data.get("69221DESC"));
            Action.verify_Text(control.ActProdDetails, Data.get("69221MODEL"));
            Action.verify_Text(control.ActProdDetails, Data.get("69221SKU"));
            Action.click_Element(control.CarrierATT);
            //IBN-20
            Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan1, Data.get("69221N20MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69221N20TERM"));
            Action.verify_Text(control.ActPlan1, Data.get("69221N20GC"));
            Action.verify_Text(control.ActPlan1, Data.get("69221N20TOTAL"));
            //IBN-24
            Action.verify_Text(control.ActPlan2, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan2, Data.get("69221N24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69221N24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69221N24GC"));
            Action.verify_Text(control.ActPlan2, Data.get("69221N24TOTAL"));

            //IBN-30
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69221N30MTHPYMT"));
            Action.verify_Text(control.ActPlan3, Data.get("69221N30TERM"));
            Action.verify_Text(control.ActPlan3, Data.get("69221N30GC"));
            Action.verify_Text(control.ActPlan3, Data.get("69221N30WAS"));
            Action.verify_Text(control.ActPlan3, Data.get("69221N30SAVE"));

            //IBU-30
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69221U30MTHPYMT"));
            Action.verify_Text(control.ActPlan4, Data.get("69221U30TERM"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69221U30GC"));
            Action.verify_Text(control.ActPlan4, Data.get("69221U30TOTAL"));
            //IBU-20
            Action.verify_Text(control.ActPlan5, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan5, Data.get("69221U20MTHPYMT"));
            Action.verify_Text(control.ActPlan5, Data.get("69221U20TERM"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69221U20GC"));
            Action.verify_Text(control.ActPlan5, Data.get("69221U20WAS"));
            Action.verify_Text(control.ActPlan5, Data.get("69221U20SAVE"));
            //IBU-24
            Action.verify_Text(control.ActPlan6, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan6, Data.get("69221U24MTHPYMT"));
            Action.verify_Text(control.ActPlan6, Data.get("69221U24TERM"));
            Action.verifyTextNotExist(control.ActPlan6, Data.get("69221U24GC"));
            Action.verify_Text(control.ActPlan6, Data.get("69221U24WAS"));
            Action.verify_Text(control.ActPlan6, Data.get("69221U24SAVE"));
            Reusable.scroll(driver);


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

            //OMT3
            Action.verify_Text(control.ActPlan8, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan8, Data.get("69221OMT3"));
            Action.verifyTextNotExist(control.ActPlan8, Data.get("69221OMT3GC"));
            Action.verifyTextNotExist(control.ActPlan8, Data.get("69221OMT3SAVE"));
            Action.verifyTextNotExist(control.ActPlan8, Data.get("69221OMT3WAS"));
            //Unactivated
            Action.verify_Text(control.ActPlan9, Data.get("69221UACT"));
            Reusable.actvDisclmr(control.actvDisclmr, Data.get("69221DISCLMR"));
            Action.verifyTextNotExist(control.ActPlan9, Data.get("69221UACTGC"));
            Action.verify_Text(control.ActPlan9, Data.get("69221UACTSAVE"));
            Action.verify_Text(control.ActPlan9, Data.get("69221UACTWAS"));
            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("69221NS24MTHPYMT"));
            Action.verify_Text(control.ActPlan1, Data.get("69221NS24TERM"));
            Action.verifyTextNotExist(control.ActPlan1, Data.get("69221NS24GC"));
            Action.verify_Text(control.ActPlan1, Data.get("69221NS24TOTAL"));
            // IBU - 24
            Action.verify_Text(control.ActPlan2, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan2, Data.get("69221US24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69221US24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69221US24SAVE"));
            Action.verify_Text(control.ActPlan2, Data.get("69221US24WAS"));
            //  LSN - 18
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69221NS18MTHPYMT"));
            Action.verify_Text(control.ActPlan3, Data.get("69221NS18TERM"));
            Action.verify_Text(control.ActPlan3, Data.get("69221NS18GC"));
            Action.verify_Text(control.ActPlan3, Data.get("69221NS18SAVE"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69221NS18WAS"));

            Reusable.scroll(driver);
            // LSU - 18
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69221US18MTHPYMT"));
            Action.verify_Text(control.ActPlan4, Data.get("69221US18TERM"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69221US18GC"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69221US18TOTAL"));
            //Unactivated
            Action.verify_Text(control.ActPlan5, Data.get("69221SUACT"));
            Reusable.actvDisclmr(control.actvDisclmr, Data.get("69221SDISCLMR"));
            Action.verify_Text(control.ActPlan5, Data.get("69221SUACTGC"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69221SUACTSAVE"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69221UACTWAS"));
            Reusable.scrollUp(driver);
            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("69221UV24MTHPYMT"));
            Action.verify_Text(control.ActPlan2, Data.get("69221UV24TERM"));
            Action.verify_Text(control.ActPlan2, Data.get("69221UV24SAVE"));
            Action.verify_Text(control.ActPlan2, Data.get("69221UV24WAS"));
            //OMT1
            Action.verify_Text(control.ActPlan3, Data.get("NEWLINE"));
            Action.verify_Text(control.ActPlan3, Data.get("69221VOMT1"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69221VOMT1SAVE"));
            Action.verifyTextNotExist(control.ActPlan3, Data.get("69221VOMT1WAS"));
            Reusable.scroll(driver);
            //OMT3
            Action.verify_Text(control.ActPlan4, Data.get("UPGRADE"));
            Action.verify_Text(control.ActPlan4, Data.get("69221VOMT3"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69221VOMT3SAVE"));
            Action.verifyTextNotExist(control.ActPlan4, Data.get("69221VOMT3WAS"));

            //Unactivated
            Action.verify_Text(control.ActPlan5, Data.get("69221VUACT"));
            Reusable.actvDisclmr(control.actvDisclmr, Data.get("69221VDISCLMR"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69221VSAVE"));
            Action.verifyTextNotExist(control.ActPlan5, Data.get("69221VWAS"));
        }