Example #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"));
 }
Example #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"));
 }
Example #3
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);
        }
Example #4
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"));
 }
Example #5
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"));
 }
Example #6
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"));
 }
Example #7
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);
 }
Example #8
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);
 }
Example #9
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"));
 }