示例#1
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"));
 }
示例#2
0
 public void TC69794()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69794QRCODE"));
     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("69794SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69794AVLSER"));
     Action.verify_Text(control.productDetailsPage, Data.get("69794PRC"));
     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("69794SUBGROUPS"), control.GSPAVLBL);
     Reusable.IsRelatedSubGroup(Data.get("69794ADSERVICES"), driver);
     Action.verify_Text(control.InGSPSubgroup, Data.get("69794ADSERVICES"));
     Action.verifyText(Data.get("69794A1SKU"), Data.get("69794A1DETAILS"), control.servicesDetails);
     Reusable.clickDesc(Data.get("HDRSERPRDS"), Data.get("69794TTSDESC"), driver);
     Action.read_Text(control.titleProdDetails, Data.get("titleProdDetails"));
     Action.verify_Text(control.productDetailsPage, Data.get("69794TTSDESC"));
     Action.verify_Text(control.productDetailsPage, Data.get("69794A1SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69794TTSPRC"));
 }
示例#3
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"));
 }