Beispiel #1
0
 public void TC66646()
 {
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66646QRSKU1"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Reusable.waitForPage(driver);
     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("66646DESC"));
     Reusable.verifyImages(Data.get("66646PIMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66646MODEL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66646SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("66646INV"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66646AVLBDL"));
     Action.verify_Text(control.productDetailsPage, Data.get("66646AVLOTOP"));
     Reusable.verifyImages(Data.get("PRICETAG"), control.Images);
     Action.verify_Text(control.productDetailsPage, Data.get("66646PRICE1"));
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66646QRSKU2"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(2000);
     Action.verify_Text(control.productDetailsPage, Data.get("66646PROMO2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66646SALE2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66646SAVE2"));
     Action.verifyTextNotExist(control.productDetailsPage, Data.get("66646WAS2"));
     Action.click_Element(control.menuHome);
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66646QRSKU3"));
     Action.IsElement(control.txtSkuUpcModel).SendKeys(Keys.Enter);
     Thread.Sleep(2000);
     Action.verify_Text(control.productDetailsPage, Data.get("66646PRICE3"));
 }
Beispiel #2
0
 public void TC66906()
 {
     Reusable.waitForPage(driver);
     Reusable.IsDisplayed(control.imgScanQrCode);
     Action.read_Text(control.labelSkuUpcModel, Data.get("SKUUPCLABEL"));
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("66906QRCODE"));
     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("66906AVLOTOP"));
     Reusable.verifyImages(Data.get("66906PIMG"), control.Images);
     Action.click_Element(control.txtOtherOptions);
     //Related SKU 1
     Reusable.verifyImages(Data.get("66906R1IMG"), control.Images);
     Reusable.verifyImages(Data.get("LOCIMG"), control.Images);
     Action.verifyText(Data.get("66906R1"), Data.get("66906R1DESC"), control.otherOptions);
     Action.verifyText(Data.get("66906R1"), Data.get("66906R1MODEL"), control.otherOptions);
     Action.verifyText(Data.get("66906R1"), Data.get("66906R1"), control.otherOptions);
     Action.verifyText(Data.get("66906R1"), Data.get("66906R1INV"), control.otherOptions);
     Action.verifyText(Data.get("66906R1"), Data.get("66906R1PRC"), control.otherOptions);
     //Related SKU 2
     Reusable.verifyImages(Data.get("66906R2IMG"), control.Images);
     Action.verifyText(Data.get("66906R2"), Data.get("66906R2DESC"), control.otherOptions);
     Action.verifyText(Data.get("66906R2"), Data.get("66906R2MODEL"), control.otherOptions);
     Action.verifyText(Data.get("66906R2"), Data.get("66906R2"), control.otherOptions);
     Action.verifyText(Data.get("66906R2"), Data.get("66906R2INV"), control.otherOptions);
     Action.verifyText(Data.get("66906R2"), Data.get("66906R2PRC"), control.otherOptions);
     Action.verifyTextNotExist(control.otherOption2, Data.get("66906R2WAS"));
     Action.verifyTextNotExist(control.otherOption2, Data.get("66906R2SAVE"));
     Action.verifyText(Data.get("66906R2"), Data.get("66906R2BANNER"), control.otherOptions);
     //Related SKU3
     Reusable.verifyImages(Data.get("66906R3IMG"), control.Images);
     Action.verifyText(Data.get("66906R3"), Data.get("66906R3DESC"), control.otherOptions);
     Action.verifyText(Data.get("66906R3"), Data.get("66906R3MODEL"), control.otherOptions);
     Action.verifyText(Data.get("66906R3"), Data.get("66906R3"), control.otherOptions);
     Action.verifyText(Data.get("66906R3"), Data.get("66906R3INV"), control.otherOptions);
     Action.verifyText(Data.get("66906R3"), Data.get("66906R3PRC"), control.otherOptions);
     Reusable.scroll(driver);
     //Related SKU4
     Reusable.verifyImages(Data.get("66906R4IMG"), control.Images);
     Action.verifyText(Data.get("66906R4"), Data.get("66906R4DESC"), control.otherOptions);
     Action.verifyText(Data.get("66906R4"), Data.get("66906R4MODEL"), control.otherOptions);
     Action.verifyText(Data.get("66906R4"), Data.get("66906R4"), control.otherOptions);
     Action.verifyText(Data.get("66906R4"), Data.get("66906R4INV"), control.otherOptions);
     Action.verifyText(Data.get("66906R4"), Data.get("66906R4PRC"), control.otherOptions);
 }
Beispiel #3
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);
 }