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")); }
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")); }
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")); }
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")); }
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")); }
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")); }
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); }
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")); }
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")); }
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")); }