Exemplo n.º 1
0
 public void TC66904()
 {
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66904UPCID"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66904AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66904PPRC"));
     Action.click_Element(control.txtOtherOptions);
     Reusable.verifyImages(Data.get("66904R1IMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.otherOption1, Data.get("66904R1DESC"));
     Action.verify_Text(control.otherOption1, Data.get("66904R1MODEL"));
     Action.verify_Text(control.otherOption1, Data.get("66904R1"));
     Action.verify_Text(control.otherOption1, Data.get("66904R1INV"));
     Action.verify_Text(control.otherOption1, Data.get("66904R1PRC"));
     Action.click_Element(control.leftNavigation);
     Action.click_Element(control.rightNavigation);
     Reusable.verifyImages(Data.get("66904R2IMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.otherOption2, Data.get("66904R2DESC"));
     Action.verify_Text(control.otherOption2, Data.get("66904R2MODEL"));
     Action.verify_Text(control.otherOption2, Data.get("66904R2"));
     Action.verify_Text(control.otherOption2, Data.get("66904R2INV"));
     Action.verify_Text(control.otherOption2, Data.get("66904R2PRC"));
     Action.verifyTextNotExist(control.otherOption2, Data.get("66904R2WAS"));
     Action.verifyTextNotExist(control.otherOption2, Data.get("66904R2SAVE"));
     Action.verifyTextNotExist(control.otherOption2, Data.get("66904R2BANNER"));
 }
Exemplo n.º 2
0
 public void TC66647()
 {
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66647QRSKU1"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66647DESC"));
     Reusable.verifyImages(Data.get("66647PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66647MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66647SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66647INV"));
     Action.verify_Text(control.productDetailsPage, Data.get("66647AVLBDL"));
     Reusable.verifyImages(Data.get("PRICETAG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66647PRICE1"));
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66647QRSKU2"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(2000);
     Action.verify_Text(control.productDetailsPage, Data.get("66647PROMO2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66647SALE2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66647SAVE2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66647WAS2"));
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66647QRSKU3"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(2000);
     Action.verify_Text(control.productDetailsPage, Data.get("66647PRICE3"));
 }
Exemplo n.º 3
0
 public void TC66909()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66909QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66909DESC"));
     Reusable.verifyImages(Data.get("66909PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66909MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66909SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66909INV"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66909AVLBDL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66909AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66909PRC"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66909BANNER"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66909SAVE"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66909WAS"));
     Action.click_Element(control.txtOtherOptions);
     Action.verifyText(Data.get("66909RSKU"), Data.get("66909RSKU"), control.otherOptions);
     Reusable.clickDesc("FINC", Data.get("66909R1DESC"), driver);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66909AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66909RPRC"));
 }
Exemplo n.º 4
0
 public OtherOptions(IWebDriver drv)
 {
     driver = drv;
     Data.LoadData();
     control = new Control(drv);
     Reusable.Login(control.txtUserName, control.txtPassword, control.btnSignIN);
 }
Exemplo n.º 5
0
 public ServicesProducts(IWebDriver drv)
 {
     driver = drv;
     Data.LoadData();
     control = new Control(drv);
     Reusable.Login(control.txtUserName, control.txtPassword, control.btnSignIN);
 }
Exemplo n.º 6
0
 public void TC69795()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69795QRCODE1"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69795SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69795AVLSER1"));
     Action.verify_Text(control.productDetailsPage, Data.get("69795PRC1"));
     Action.click_Element(control.txtServices);
     Action.read_Text(control.titleServices, Data.get("titleSerProducts"));
     Action.verify_Text(control.headerServicesProducts, Data.get("HDRSERPRDS"));
     Action.verifyText(Data.get("69795GSP"), Data.get("69795GSPAVL1"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69795GSP"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69795GSP"));
     Action.verifyText(Data.get("69795G1SKU"), Data.get("69795G1DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69795G2SKU"), Data.get("69795G2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69795G3SKU"), Data.get("69795G3DETAILS"), control.servicesDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69795G4SKU"), Data.get("69795G4DETAILS"), control.servicesDetails);
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69795QRCODE2"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(1000);
     Action.verify_Text(control.productDetailsPage, Data.get("69795AVLSER2"));
     Action.verify_Text(control.productDetailsPage, Data.get("69795PRC2"));
     Action.click_Element(control.txtServices);
     Action.verifyText(Data.get("69795GSP"), Data.get("69795GSPAVL2"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69795GSP"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69795GSP"));
     Action.verifyText(Data.get("69795G5SKU"), Data.get("69795G5DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69795G6SKU"), Data.get("69795G6DETAILS"), control.servicesDetails);
     Reusable.verifyImages(Data.get("69795G6IMG"), control.Images);
 }
Exemplo n.º 7
0
 public void TC69211()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69211QRSKU"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69211DESC"));
     Action.verify_Text(control.productDetailsPage, Data.get("69211MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("69211SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69211AVLOB"));
     Action.verify_Text(control.productDetailsPage, Data.get("69211PRC"));
     Action.click_Element(control.txtOpenBox);
     Action.read_Text(control.titleOpenBox, Data.get("titleOpenBox"));
     Action.verify_Text(control.headerOpenBox, Data.get("HDROPENBOX"));
     Action.verify_Text(control.openBoxPage, Data.get("69211DESC"));
     Action.verify_Text(control.openBoxPage, Data.get("69211MODEL"));
     Action.verify_Text(control.openBoxPage, Data.get("69211SKU"));
     Action.verify_Text(control.openBoxPage, Data.get("69211INV"));
     Reusable.verifyImages(Data.get("69211PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.openBoxCondtns1, Data.get("69211COND1"));
     Action.verify_Text(control.openBoxCondtns1, Data.get("69211LPN"));
     Action.verify_Text(control.openBoxCondtns1, Data.get("69211OBPRC"));
     Action.verify_Text(control.openBoxCondtns1, Data.get("69211SAVE"));
     Action.verify_Text(control.openBoxCondtns1, Data.get("69211CPRC"));
 }
Exemplo n.º 8
0
        public static void IsRelatedSubGroup(string control, IWebDriver driver)
        {
            try
            {
                while (counter < 30)
                {
                    element = driver.FindElement(By.XPath("//span[contains(text(),'" + control + "')]"));

                    if (element.Text.Equals(control))
                    {
                        element.Click();
                        Thread.Sleep(3000);
                        TestLog.LogInfo(control + " SubGroup is displayed and clicked |PASS");
                        break;
                    }
                    else
                    {
                        Thread.Sleep(10);
                        counter = counter + 10;
                        Reusable.scroll(driver);
                    }
                }
            }

            catch (Exception e)
            {
                TestLog.LogInfo(control + " SubGroup is not displayed |FAIL");
                TestLog.LogException(e.Message + "\n" + e.StackTrace + "\n", control);
            }
        }
Exemplo n.º 9
0
        public void TC66907()
        {
            Reusable.IsDisplayed(control.imgScanQrCode);
            Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
            Action.Enter_Text(control.txtSkuUpcModel, Data.get("66907QRCODE"));
            Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
            Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
            //Primary SKU
            Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
            Action.verify_Text(control.productDetailsPage, Data.get("66907AVLOTOP"));
            Reusable.verifyImages(Data.get("66907PIMG"), control.Images);
            Action.click_Element(control.txtOtherOptions);
            //Related SKU 1
            Reusable.verifyImages(Data.get("66907R1IMG"), control.Images);
            Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
            Action.verifyText(Data.get("66907R1SKU"), Data.get("66907R1DESC"), control.otherOptions);
            Action.verifyText(Data.get("66907R1SKU"), Data.get("66907R1MODEL"), control.otherOptions);
            Action.verifyText(Data.get("66907R1SKU"), Data.get("66907R1SKU"), control.otherOptions);
            Action.verifyText(Data.get("66907R1SKU"), Data.get("66907R1INV"), control.otherOptions);
            Action.verifyText(Data.get("66907R1SKU"), Data.get("66907R1PRC"), control.otherOptions);
            //Related SKU 2
            Reusable.verifyImages(Data.get("66907R2IMG"), control.Images);
            Action.verifyText(Data.get("66907R2SKU"), Data.get("66907R2DESC"), control.otherOptions);
            Action.verifyText(Data.get("66907R2SKU"), Data.get("66907R2MODEL"), control.otherOptions);
            Action.verifyText(Data.get("66907R2SKU"), Data.get("66907R2SKU"), control.otherOptions);
            Action.verifyText(Data.get("66907R2SKU"), Data.get("66907R2INV"), control.otherOptions);
            Action.verifyText(Data.get("66907R2SKU"), Data.get("66907R2PRC"), control.otherOptions);
            Action.verifyTextNotExist(control.otherOption2, Data.get("66907R2WAS"));
            Action.verifyTextNotExist(control.otherOption2, Data.get("66907R2SAVE"));
            Action.verifyTextNotExist(control.otherOption2, Data.get("66907R2BANNER"));
            //Related SKU3
            Reusable.verifyImages(Data.get("66907R3IMG"), control.Images);
            Action.verifyText(Data.get("66907R3SKU"), Data.get("66907R3DESC"), control.otherOptions);
            Action.verifyText(Data.get("66907R3SKU"), Data.get("66907R3MODEL"), control.otherOptions);
            Action.verifyText(Data.get("66907R3SKU"), Data.get("66907R3SKU"), control.otherOptions);
            Action.verifyText(Data.get("66907R3SKU"), Data.get("66907R3INV"), control.otherOptions);
            Action.verifyText(Data.get("66907R3SKU"), Data.get("66907R3PRC"), control.otherOptions);
            Reusable.scroll(driver);
            //Related SKU4
            Reusable.verifyImages(Data.get("66907R4IMG"), control.Images);
            Action.verifyText(Data.get("66907R4SKU"), Data.get("66907R4DESC"), control.otherOptions);
            Action.verifyText(Data.get("66907R4SKU"), Data.get("66907R4MODEL"), control.otherOptions);
            Action.verifyText(Data.get("66907R4SKU"), Data.get("66907R4SKU"), control.otherOptions);
            Action.verifyText(Data.get("66907R4SKU"), Data.get("66907R4INV"), control.otherOptions);
            Action.verifyText(Data.get("66907R4SKU"), Data.get("66907R4PRC"), control.otherOptions);
            ////Related SKU5

            Reusable.verifyImages(Data.get("66907R5IMG"), control.Images);
            Action.verifyText(Data.get("66907R5SKU"), Data.get("66907R5DESC"), control.otherOptions);
            Action.verifyText(Data.get("66907R5SKU"), Data.get("66907R5MODEL"), control.otherOptions);
            Action.verifyText(Data.get("66907R5SKU"), Data.get("66907R5SKU"), control.otherOptions);
            Action.verifyText(Data.get("66907R5SKU"), Data.get("66907R5INV"), control.otherOptions);
            Action.verifyText(Data.get("66907R5SKU"), Data.get("66907R5PRC"), control.otherOptions);
        }
Exemplo n.º 10
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"));
        }
Exemplo n.º 11
0
 public void TC70534()
 {
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("70534QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.verify_Text(control.ratingHDR, Data.get("RTNGHDR"));
     Action.verify_Text(control.totalRVW, Data.get("70534TOT_RVW"));
     Reusable.IsCustomerRating(control.rating_Star, Data.get("70534AVG_RVW"));
     Reusable.verifyImages(Data.get("70534PIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("70534MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("70534SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("70534SPRICE"));
 }
Exemplo n.º 12
0
 public void TC69799()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69799QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69799SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69799AVLSER"));
     Action.verify_Text(control.productDetailsPage, Data.get("69799PRC"));
     Action.click_Element(control.txtServices);
     Action.read_Text(control.titleServices, Data.get("titleSerProducts"));
     Action.verify_Text(control.headerServicesProducts, Data.get("HDRSERPRDS"));
     Action.verifyTextNotExist(control.GSPAVLBL, Data.get("69799TBSAVL"));
     Action.verifyTextNotExist(control.GSPAVLBL, Data.get("69799SAVL"));
     Reusable.IsRelatedSubGroup(Data.get("69799GSP"), driver);
 }
Exemplo n.º 13
0
 public void TC69226()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69226QRCODE1"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226SKU1"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226AVLAO"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226AVLOO"));
     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("69226SKU1"));
     Action.verify_Text(control.ActProdCarrier, Data.get("69226SCARRIER"));
     //IBN-20
     Action.verify_Text(control.ActPlan1, Data.get("NEWLINE"));
     Action.verify_Text(control.ActPlan1, Data.get("69226N24MTHPYMT"));
     Action.verify_Text(control.ActPlan1, Data.get("69226N24TERM"));
     Action.verify_Text(control.ActPlan1, Data.get("69226N24TOTAL"));
     Action.click_Element(control.leftNavigation);
     Action.click_Element(control.txtOtherOptions);
     Action.read_Text(control.titleOtherOptions, Data.get("titleOtherOptions"));
     Action.verifyText(Data.get("69226R1SKU"), Data.get("69226R1SKU"), control.actvOtherOptions);
     Action.verifyText(Data.get("69226R2SKU"), Data.get("69226R2SKU"), control.actvOtherOptions);
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69226QRCODE2"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(1000);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226SKU2"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226AVLOO"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226AVLAO"));
     Action.click_Element(control.txtOtherOptions);
     Action.verifyText(Data.get("69226R2SKU"), Data.get("69226R2SKU"), control.actvOtherOptions);
     Action.verifyText(Data.get("69226R3SKU"), Data.get("69226R3SKU"), control.actvOtherOptions);
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69226QRCODE3"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(1000);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226SKU3"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226AVLOO"));
     Action.verify_Text(control.productDetailsPage, Data.get("69226AVLAO"));
     Action.click_Element(control.txtOtherOptions);
     Action.verifyText(Data.get("69226R1SKU"), Data.get("69226R1SKU"), control.actvOtherOptions);
     Action.verifyText(Data.get("69226R3SKU"), Data.get("69226R3SKU"), control.actvOtherOptions);
 }
Exemplo n.º 14
0
        public void TC69213()
        {
            Action.Enter_Text(control.txtSkuUpcModel, Data.get("69213QRCODE"));
            Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
            Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
            Action.verify_Text(control.productDetailsPage, Data.get("69213DESC"));
            Action.verify_Text(control.productDetailsPage, Data.get("69213MODEL"));
            Action.verify_Text(control.productDetailsPage, Data.get("69213SKU"));
            Action.verify_Text(control.productDetailsPage, Data.get("69213AVLOB"));
            Action.verify_Text(control.productDetailsPage, Data.get("69213PRC"));
            Action.click_Element(control.txtOpenBox);
            Action.read_Text(control.titleOpenBox, Data.get("titleOpenBox"));
            Action.verify_Text(control.headerOpenBox, Data.get("HDROPENBOX"));
            Action.verify_Text(control.openBoxPage, Data.get("69213DESC"));
            Action.verify_Text(control.openBoxPage, Data.get("69213MODEL"));
            Action.verify_Text(control.openBoxPage, Data.get("69213SKU"));
            Action.verify_Text(control.openBoxPage, Data.get("69213INV"));
            Reusable.verifyImages(Data.get("69213PIMG"), control.Images);
            Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
            //Condition-3
            Action.verify_Text(control.openBoxCondtns1, Data.get("69213COND1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69213LPN1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69213OBPRC1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69213SAVE1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69213CPRC1"));
            // condition-2
            Action.verify_Text(control.openBoxCondtns2, Data.get("69213COND2"));
            Action.verify_Text(control.openBoxCondtns2, Data.get("69213LPN2"));
            Action.verify_Text(control.openBoxCondtns2, Data.get("69213OBPRC2"));
            Action.verify_Text(control.openBoxCondtns2, Data.get("69213SAVE2"));
            Action.verify_Text(control.openBoxCondtns2, Data.get("69213CPRC2"));
            Reusable.scroll(driver);
            // condition-1
            Action.verify_Text(control.openBoxCondtns3, Data.get("69213COND3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69213LPN3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69213OBPRC3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69213SAVE3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69213CPRC3"));

            Reusable.scroll(driver);
            // condition-0
            Action.verify_Text(control.openBoxCondtns4, Data.get("69213COND4"));
            Action.verify_Text(control.openBoxCondtns4, Data.get("69213LPN4"));
            Action.verify_Text(control.openBoxCondtns4, Data.get("69213OBPRC4"));
            Action.verify_Text(control.openBoxCondtns4, Data.get("69213SAVE4"));
            Action.verify_Text(control.openBoxCondtns4, Data.get("69213CPRC4"));
        }
Exemplo n.º 15
0
 public void TC69791()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69791QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69791SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69791AVLSER"));
     Action.verify_Text(control.productDetailsPage, Data.get("69791PRC"));
     Action.click_Element(control.txtServices);
     Action.read_Text(control.titleServices, Data.get("titleSerProducts"));
     Action.verify_Text(control.headerServicesProducts, Data.get("HDRSERPRDS"));
     Action.verifyText(Data.get("HDRSERPRDS"), Data.get("69791SUBGROUPS"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69791AFRNTR"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69791AFRNTR"));
     Action.verifyText(Data.get("69791F1SKU"), Data.get("69791F1DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791F2SKU"), Data.get("69791F2DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69791AAUDIO"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69791AAUDIO"));
     Action.verifyText(Data.get("69791A1SKU"), Data.get("69791A1DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791A2SKU"), Data.get("69791A2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791A3SKU"), Data.get("69791A3DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791A4SKU"), Data.get("69791A4DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69791ATVCONNECT"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69791ATVCONNECT"));
     Action.verifyText(Data.get("69791T1SKU"), Data.get("69791T1DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791T2SKU"), Data.get("69791T2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791T3SKU"), Data.get("69791T3DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791T4SKU"), Data.get("69791T4DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791T5SKU"), Data.get("69791T5DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791T6SKU"), Data.get("69791T6DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69791ANETWORKING"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69791ANETWORKING"));
     Action.verifyText(Data.get("69791N1SKU"), Data.get("69791N1DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791N2SKU"), Data.get("69791N2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791N3SKU"), Data.get("69791N3DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69791N4SKU"), Data.get("69791N4DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69791AREMOTE"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69791AREMOTE"));
     Action.verifyText(Data.get("69791R1SKU"), Data.get("69791R1DETAILS"), control.servicesDetails);
 }
Exemplo n.º 16
0
 public void TC69797()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69797QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69797SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69797AVLSER"));
     Action.verify_Text(control.productDetailsPage, Data.get("69797PRC"));
     Action.click_Element(control.txtServices);
     Action.read_Text(control.titleServices, Data.get("titleSerProducts"));
     Action.verify_Text(control.headerServicesProducts, Data.get("HDRSERPRDS"));
     Action.verifyText(Data.get("69797S"), Data.get("69797SAVL"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69797S"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69797S"));
     Action.verifyText(Data.get("69797S1SKU"), Data.get("69797S1DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69797S2SKU"), Data.get("69797S2DETAILS"), control.servicesDetails);
 }
Exemplo n.º 17
0
 public void TC66645()
 {
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66645QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66645DESC"));
     Reusable.verifyImages(Data.get("66645PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66645MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66645SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66645INV"));
     Action.verify_Text(control.productDetailsPage, Data.get("66645AVLBDL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66645AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66645SPRICE"));
 }
Exemplo n.º 18
0
 public void TC66644()
 {
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66644QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66644DESC"));
     Console.WriteLine(Action.IsElement(control.rating_Star).GetAttribute("style"));
     Reusable.verifyImages(Data.get("66644PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66644MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66644SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66644INV"));
     Action.verify_Text(control.productDetailsPage, Data.get("66644AVLBDL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66644AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66644SPRICE"));
 }
Exemplo n.º 19
0
 public void TC69229()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69229QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69229SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69229AVLREL"));
     Action.verify_Text(control.productDetailsPage, Data.get("69229PRC"));
     Action.click_Element(control.txtRelatedProducts);
     Action.read_Text(control.titleRelProducts, Data.get("titleRelProducts"));
     Action.verify_Text(control.headerRelProducts, Data.get("HDRRELPRDS"));
     Action.verify_Text(control.txtCrossSell, Data.get("CROSSSELL"));
     Action.verifyText(Data.get("CROSSSELL"), Data.get("69229Subgroup1"), control.relatedSubGroups);
     Reusable.IsRelatedSubGroup(Data.get("69229AVSTANDS"), driver);
     //AVSATNDS
     Action.verify_Text(control.InRelSubgroup, Data.get("69229AVSTANDS"));
     Action.verifyText(Data.get("69229S1SKU"), Data.get("69229S1DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S2SKU"), Data.get("69229S2DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S3SKU"), Data.get("69229S3DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S4SKU"), Data.get("69229S4DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69229S5SKU"), Data.get("69229S5DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S6SKU"), Data.get("69229S6DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S7SKU"), Data.get("69229S7DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S8SKU"), Data.get("69229S8DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S9SKU"), Data.get("69229S9DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69229S10SKU"), Data.get("69229S10DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S11SKU"), Data.get("69229S11DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S12SKU"), Data.get("69229S12DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S13SKU"), Data.get("69229S13DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S14SKU"), Data.get("69229S14DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69229S15SKU"), Data.get("69229S15DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S16SKU"), Data.get("69229S16DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S17SKU"), Data.get("69229S17DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S18SKU"), Data.get("69229S18DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S19SKU"), Data.get("69229S19DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69229S20SKU"), Data.get("69229S20DETAILS"), control.relatedDetails);
 }
Exemplo n.º 20
0
 public void TC69227()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69227QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69227SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69227AVLAO"));
     Action.verify_Text(control.productDetailsPage, Data.get("69227AVLOO"));
     Action.click_Element(control.txtActivationProducts);
     Action.read_Text(control.titleActProducts, Data.get("titleActProducts"));
     Action.verify_Text(control.headerActProducts, Data.get("HDRACTPRDS"));
     Thread.Sleep(1000);
     Action.verify_Text(control.ActProdDetails, Data.get("69227SKU"));
     Action.click_Element(control.leftNavigation);
     Action.click_Element(control.txtOtherOptions);
     Action.read_Text(control.titleOtherOptions, Data.get("titleOtherOptions"));
     Action.verifyText(Data.get("69227R1SKU"), Data.get("69227R1SKU"), control.actvOtherOptions);
     Action.verifyText(Data.get("69227R2SKU"), Data.get("69227R2SKU"), control.actvOtherOptions);
     Action.verifyText(Data.get("69227R3SKU"), Data.get("69227R3SKU"), control.actvOtherOptions);
 }
Exemplo n.º 21
0
 public void TC66651()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66651QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66651DESC"));
     Reusable.verifyImages(Data.get("66651PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66651MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66651SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66651INV"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66651AVLBDL"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66651AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66651PRC"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66651BANNER"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66651SAVE"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66651WAS"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66651GC"));
 }
Exemplo n.º 22
0
        public void TC69212()
        {
            Action.Enter_Text(control.txtSkuUpcModel, Data.get("69212QRSKU"));
            Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
            Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
            Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
            Action.verify_Text(control.productDetailsPage, Data.get("69212DESC"));
            Action.verify_Text(control.productDetailsPage, Data.get("69212MODEL"));
            Action.verify_Text(control.productDetailsPage, Data.get("69212SKU"));
            Action.verify_Text(control.productDetailsPage, Data.get("69212AVLOB"));
            Action.verify_Text(control.productDetailsPage, Data.get("69212PRC"));
            Action.click_Element(control.txtOpenBox);
            Action.read_Text(control.titleOpenBox, Data.get("titleOpenBox"));
            Action.verify_Text(control.headerOpenBox, Data.get("HDROPENBOX"));
            Action.verify_Text(control.openBoxPage, Data.get("69212DESC"));
            Action.verify_Text(control.openBoxPage, Data.get("69212MODEL"));
            Action.verify_Text(control.openBoxPage, Data.get("69212SKU"));
            Action.verify_Text(control.openBoxPage, Data.get("69212INV"));
            Reusable.verifyImages(Data.get("69212PIMG"), control.Images);
            Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
            //Condition-1
            Action.verify_Text(control.openBoxCondtns1, Data.get("69212COND1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69212LPN1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69212OBPRC1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69212SAVE1"));
            Action.verify_Text(control.openBoxCondtns1, Data.get("69212CPRC1"));
            // condition-1
            Action.verify_Text(control.openBoxCondtns2, Data.get("69212COND2"));
            Action.verify_Text(control.openBoxCondtns2, Data.get("69212LPN2"));
            Action.verify_Text(control.openBoxCondtns2, Data.get("69212OBPRC2"));
            Action.verifyTextNotExist(control.openBoxCondtns2, Data.get("69212SAVE2"));
            Action.verifyTextNotExist(control.openBoxCondtns2, Data.get("69212CPRC2"));

            // condition-0
            Action.verify_Text(control.openBoxCondtns3, Data.get("69212COND3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69212LPN3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69212OBPRC3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69212SAVE3"));
            Action.verify_Text(control.openBoxCondtns3, Data.get("69212CPRC3"));
        }
Exemplo n.º 23
0
 public void TC69793()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69793QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69793SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69793AVLSER"));
     Action.verify_Text(control.productDetailsPage, Data.get("69793PRC"));
     Action.click_Element(control.txtServices);
     Action.read_Text(control.titleServices, Data.get("titleSerProducts"));
     Action.verify_Text(control.headerServicesProducts, Data.get("HDRSERPRDS"));
     Action.verifyText(Data.get("HDRSERPRDS"), Data.get("69793SUBGROUPS"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69793HAWAY"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69793HAWAY"));
     Action.verifyText(Data.get("69793H1SKU"), Data.get("69793H1DETAILS"), control.servicesDetails);
     Reusable.verifyImages(Data.get("69793H1IMG"), control.Images);
     Reusable.verifyImages(Data.get("69793H2IMG"), control.Images);
     Action.verifyText(Data.get("69793H2SKU"), Data.get("69793H2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69793H3SKU"), Data.get("69793H3DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69793ADSERVICES"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69793ADSERVICES"));
     Action.verifyText(Data.get("69793A1SKU"), Data.get("69793A1DETAILS"), control.servicesDetails);
     Reusable.verifyImages(Data.get("69793A1IMG"), control.Images);
     Reusable.verifyImages(Data.get("69793A2IMG"), control.Images);
     Action.verifyText(Data.get("69793A2SKU"), Data.get("69793A2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69793A3SKU"), Data.get("69793A3DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69793CREADY"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69793CREADY"));
     Action.verifyText(Data.get("69793C1SKU"), Data.get("69793C1DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69793C2SKU"), Data.get("69793C2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69793C3SKU"), Data.get("69793C3DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69793C4SKU"), Data.get("69793C4DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69793RELOCATE"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69793RELOCATE"));
     Action.verifyText(Data.get("69793R1SKU"), Data.get("69793R1DETAILS"), control.servicesDetails);
 }
Exemplo n.º 24
0
 public void TC66905()
 {
     Reusable.waitForPage(driver);
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66905MODELID"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     //Primary SKU
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66905AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66905PPRC"));
     Action.click_Element(control.txtOtherOptions);
     //Related SKU 1
     Reusable.verifyImages(Data.get("66905R1IMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verifyText(Data.get("66905R1"), Data.get("66905R1DESC"), control.otherOptions);
     Action.verifyText(Data.get("66905R1"), Data.get("66905R1MODEL"), control.otherOptions);
     Action.verifyText(Data.get("66905R1"), Data.get("66905R1"), control.otherOptions);
     Action.verifyText(Data.get("66905R1"), Data.get("66905R1INV"), control.otherOptions);
     Action.verifyText(Data.get("66905R1"), Data.get("66905R1PRC"), control.otherOptions);
     //Related SKU 2
     Reusable.verifyImages(Data.get("66905R2IMG"), control.Images);
     Action.verifyText(Data.get("66905R2"), Data.get("66905R2DESC"), control.otherOptions);
     Action.verifyText(Data.get("66905R2"), Data.get("66905R2MODEL"), control.otherOptions);
     Action.verifyText(Data.get("66905R2"), Data.get("66905R2"), control.otherOptions);
     Action.verifyText(Data.get("66905R2"), Data.get("66905R2INV"), control.otherOptions);
     Action.verifyText(Data.get("66905R2"), Data.get("66905R2PRC"), control.otherOptions);
     Action.verifyTextNotExist(control.otherOption2, Data.get("66905R2WAS"));
     Action.verifyTextNotExist(control.otherOption2, Data.get("66905R2SAVE"));
     // Action.verifyTextNotExist(control.otherOption2, Data.get("66905R2BANNER"));
     //Related SKU 3
     Reusable.verifyImages(Data.get("66905R3IMG"), control.Images);
     Action.verifyText(Data.get("66905R3"), Data.get("66905R3DESC"), control.otherOptions);
     Action.verifyText(Data.get("66905R3"), Data.get("66905R3MODEL"), control.otherOptions);
     Action.verifyText(Data.get("66905R3"), Data.get("66905R3"), control.otherOptions);
     Action.verifyText(Data.get("66905R3"), Data.get("66905R3INV"), control.otherOptions);
     Action.verifyText(Data.get("66905R3"), Data.get("66905R3PRC"), control.otherOptions);
 }
Exemplo n.º 25
0
 public void TC69845()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69845QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69845SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69845AVLSER"));
     Action.verify_Text(control.productDetailsPage, Data.get("69845PRC"));
     Action.click_Element(control.txtServices);
     Action.read_Text(control.titleServices, Data.get("titleSerProducts"));
     Action.verify_Text(control.headerServicesProducts, Data.get("HDRSERPRDS"));
     Action.verifyText(Data.get("HDRSERPRDS"), Data.get("69845SUBGROUPS"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69845CONNECTEDHOME"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69845CONNECTEDHOME"));
     Action.verifyText(Data.get("69845H1SKU"), Data.get("69845H1DETAILS"), control.servicesDetails);
     Reusable.clickDesc(Data.get("HDRSERPRDS"), Data.get("69845TTSDESC"), driver);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69845TTSDESC"));
     Action.verify_Text(control.productDetailsPage, Data.get("69845H1SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69845TTSPRC"));
 }
Exemplo n.º 26
0
 public void TC66908()
 {
     Reusable.waitForPage(driver);
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66908QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     //Primary SKU
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66908AVLOTOP"));
     Reusable.verifyImages(Data.get("66908PIMG"), control.Images);
     Action.click_Element(control.txtOtherOptions);
     Action.verifyText(Data.get("66908R1SKU"), Data.get("66908R1SKU"), control.otherOptions);
     Action.verifyText(Data.get("66908R2SKU"), Data.get("66908R2SKU"), control.otherOptions);
     Action.verifyText(Data.get("66908R3SKU"), Data.get("66908R3SKU"), control.otherOptions);
     Action.verifyText(Data.get("66908R4SKU"), Data.get("66908R4SKU"), control.otherOptions);
     Action.verifyText(Data.get("66908R5SKU"), Data.get("66908R5SKU"), control.otherOptions);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("66908R6SKU"), Data.get("66908R6SKU"), control.otherOptions);
     Action.verifyText(Data.get("66908R7SKU"), Data.get("66908R7SKU"), control.otherOptions);
 }
Exemplo n.º 27
0
 public void TC66903()
 {
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66903QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Reusable.verifyImages(Data.get("66903PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66903PDESC"));
     Action.verify_Text(control.productDetailsPage, Data.get("66903PMODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66903PINV"));
     Action.verify_Text(control.productDetailsPage, Data.get("66903AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66903PPRC"));
     Action.click_Element(control.txtOtherOptions);
     Reusable.verifyImages(Data.get("66903R1IMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.otherOption1, Data.get("66903R1DESC"));
     Action.verify_Text(control.otherOption1, Data.get("66903R1MODEL"));
     Action.verify_Text(control.otherOption1, Data.get("66903R1"));
     Action.verify_Text(control.otherOption1, Data.get("66903R1INV"));
     Action.verify_Text(control.otherOption1, Data.get("66903R1PRC"));
 }
Exemplo n.º 28
0
 public void TC66649()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66649LICPLT"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66649DESC"));
     Reusable.verifyImages(Data.get("66649PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66649MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66649SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66649INV"));
     Action.verify_Text(control.productDetailsPage, Data.get("66649AVLBDL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66649AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66649PRC"));
     Action.click_Element(control.txtBundleAvlbl);
     Action.click_Element(control.O_bundleDetails);
     Reusable.clickDesc("FINC", Data.get("66649DESC"), driver);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.click_Element(control.txtOtherOptions);
     Reusable.clickDesc("FINC", Data.get("66649R2DESC"), driver);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
 }
Exemplo n.º 29
0
 public void TC66648()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66648UPCID1"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Reusable.IsEnabled(control.menuHome);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("66648DESC"));
     Reusable.verifyImages(Data.get("66648PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66648MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66648SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66648INV"));
     Action.verify_Text(control.productDetailsPage, Data.get("66648AVLBDL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66648AVLOTOP"));
     Action.verify_Text(control.productDetailsPage, Data.get("66648PRC1"));
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66648UPCID2"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(2000);
     Action.verify_Text(control.productDetailsPage, Data.get("66648PRC2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66648SAVE2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66648WAS2"));
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66648UPCID3"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(2000);
     Action.verify_Text(control.productDetailsPage, Data.get("66648PRC3"));
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66648UPCID4"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(2000);
     Action.verify_Text(control.productDetailsPage, Data.get("66648PRC4"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66648SAVE4"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66648WAS4"));
 }
Exemplo n.º 30
0
 public void TC69792()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69792QRCODE"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.storeLogin(control.txtStoreID, control.btnSetStore, Data.get("StoreID"));
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69792SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69792AVLSER"));
     Action.verify_Text(control.productDetailsPage, Data.get("69792PRC"));
     Action.click_Element(control.txtServices);
     Action.read_Text(control.titleServices, Data.get("titleSerProducts"));
     Action.verify_Text(control.headerServicesProducts, Data.get("HDRSERPRDS"));
     Action.verifyText(Data.get("HDRSERPRDS"), Data.get("69792SUBGROUPS"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69792AMOUNT"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69792AMOUNT"));
     Action.verifyText(Data.get("69792M1SKU"), Data.get("69792M1DETAILS"), control.servicesDetails);
     Reusable.verifyImages(Data.get("69792M1IMG"), control.Images);
     Action.verifyText(Data.get("69792M2SKU"), Data.get("69792M2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69792M3SKU"), Data.get("69792M3DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69792M4SKU"), Data.get("69792M4DETAILS"), control.servicesDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69792M5SKU"), Data.get("69792M5DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69792TVCONNECT"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69792TVCONNECT"));
     Action.verifyText(Data.get("69792M1SKU"), Data.get("69792M1DETAILS"), control.servicesDetails);
     Reusable.verifyImages(Data.get("69792M2IMG"), control.Images);
     Action.verifyText(Data.get("69792M2SKU"), Data.get("69792M2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69792M3SKU"), Data.get("69792M3DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69792M4SKU"), Data.get("69792M4DETAILS"), control.servicesDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69792M5SKU"), Data.get("69792M5DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69792M6SKU"), Data.get("69792M6DETAILS"), control.servicesDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69792OTHER"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69792OTHER"));
     Action.verifyText(Data.get("69792T1SKU"), Data.get("69792T1DETAILS"), control.servicesDetails);
     Reusable.verifyImages(Data.get("69792T9IMG"), control.Images);
     Action.verifyText(Data.get("69792T2SKU"), Data.get("69792T2DETAILS"), control.servicesDetails);
     Action.verifyText(Data.get("69792T3SKU"), Data.get("69792T3SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T4SKU"), Data.get("69792T4SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T5SKU"), Data.get("69792T5SKU"), control.servicesDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69792T6SKU"), Data.get("69792T6SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T7SKU"), Data.get("69792T7SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T8SKU"), Data.get("69792T8SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T9SKU"), Data.get("69792T9SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T10SKU"), Data.get("69792T10SKU"), control.servicesDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69792T11SKU"), Data.get("69792T11SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T12SKU"), Data.get("69792T12SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T13SKU"), Data.get("69792T13SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T14SKU"), Data.get("69792T14SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T15SKU"), Data.get("69792T15SKU"), control.servicesDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69792T16SKU"), Data.get("69792T16SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T17SKU"), Data.get("69792T17SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T18SKU"), Data.get("69792T18SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T19SKU"), Data.get("69792T19SKU"), control.servicesDetails);
     Action.verifyText(Data.get("69792T20SKU"), Data.get("69792T20SKU"), control.servicesDetails);
 }