Esempio n. 1
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);
 }
Esempio n. 2
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);
 }
Esempio n. 3
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);
 }
Esempio n. 4
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);
 }
Esempio n. 5
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);
 }
Esempio n. 6
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);
 }
Esempio n. 7
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"));
 }
Esempio n. 8
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);
 }
Esempio n. 9
0
 public void TC69231()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69231QRCODE"));
     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("69231SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69231AVLREL"));
     Action.verify_Text(control.productDetailsPage, Data.get("69231PRC"));
     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.txtAccessories, Data.get("ACCESSORIES"));
     Action.verify_Text(control.txtConsumable, Data.get("CONSUMABLE"));
     Action.verify_Text(control.txtCrossSell, Data.get("CROSSSELL"));
     Action.verifyText(Data.get("CROSSSELL"), Data.get("69231CSSUBGROUP"), control.relatedSubGroups);
     Action.verifyText(Data.get("ACCESSORIES"), Data.get("69231ACSUBGROUP"), control.relatedSubGroups);
     Action.verifyText(Data.get("CONSUMABLE"), Data.get("69231CBSUBGROUP"), control.relatedSubGroups);
     Reusable.IsRelatedSubGroup(Data.get("69231OPTICAL"), driver);
     Action.verify_Text(control.InRelSubgroup, Data.get("69231OPTICAL"));
     Action.verifyText(Data.get("69231L1SKU"), Data.get("69231L1SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L2SKU"), Data.get("69231L2SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L3SKU"), Data.get("69231L3SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L4SKU"), Data.get("69231L4SKU"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69231L5SKU"), Data.get("69231L5SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L6SKU"), Data.get("69231L6SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L7SKU"), Data.get("69231L7SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L8SKU"), Data.get("69231L8SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L9SKU"), Data.get("69231L9SKU"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69231L10SKU"), Data.get("69231L10SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L11SKU"), Data.get("69231L11SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L12SKU"), Data.get("69231L12SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L13SKU"), Data.get("69231L13SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L14SKU"), Data.get("69231L14SKU"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69231L15SKU"), Data.get("69231L15SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L16SKU"), Data.get("69231L16SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L17SKU"), Data.get("69231L17SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L18SKU"), Data.get("69231L18SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L19SKU"), Data.get("69231L19SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231L20SKU"), Data.get("69231L20SKU"), control.relatedDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69231LENSES"), driver);
     Action.verify_Text(control.InRelSubgroup, Data.get("69231LENSES"));
     Action.verifyText(Data.get("69231M1SKU"), Data.get("69231M1SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M2SKU"), Data.get("69231M2SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M3SKU"), Data.get("69231M3SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M4SKU"), Data.get("69231M4SKU"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69231M5SKU"), Data.get("69231M5SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M6SKU"), Data.get("69231M6SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M7SKU"), Data.get("69231M7SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M8SKU"), Data.get("69231M8SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M9SKU"), Data.get("69231M9SKU"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69231M10SKU"), Data.get("69231M10SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M11SKU"), Data.get("69231M11SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M12SKU"), Data.get("69231M12SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M13SKU"), Data.get("69231M13SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M14SKU"), Data.get("69231M14SKU"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69231M15SKU"), Data.get("69231M15SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M16SKU"), Data.get("69231M16SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M17SKU"), Data.get("69231M17SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M18SKU"), Data.get("69231M18SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M19SKU"), Data.get("69231M19SKU"), control.relatedDetails);
     Action.verifyText(Data.get("69231M20SKU"), Data.get("69231M20SKU"), control.relatedDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69231BAGS&CASES"), driver);
     Action.verify_Text(control.InRelSubgroup, Data.get("69231BAGS&CASES"));
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69231INSTANT"), driver);
     Action.verify_Text(control.InRelSubgroup, Data.get("69231INSTANT"));
 }
Esempio n. 10
0
 public void TC69230()
 {
     Action.Enter_Text(control.txtSkuUpcModel, Data.get("69230QRCODE"));
     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("69230SKU"));
     Action.verify_Text(control.productDetailsPage, Data.get("69230AVLREL"));
     Action.verify_Text(control.productDetailsPage, Data.get("69230PRC"));
     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.txtAccessories, Data.get("ACCESSORIES"));
     Action.verifyText(Data.get("ACCESSORIES"), Data.get("69230Subgroup1"), control.relatedSubGroups);
     Action.verifyText(Data.get("ACCESSORIES"), Data.get("69230Subgroup2"), control.relatedSubGroups);
     Reusable.scrollToElement(driver, Data.get("69230UNDEFINED"));
     Reusable.IsRelatedSubGroup(Data.get("69230UNDEFINED"), driver);
     Thread.Sleep(2000);
     //Undefined
     Action.verify_Text(control.InRelSubgroup, Data.get("69230UNDEFINED"));
     Action.verifyText(Data.get("69230S1SKU"), Data.get("69230S1DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S2SKU"), Data.get("69230S2DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S3SKU"), Data.get("69230S3DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S4SKU"), Data.get("69230S4DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69230S5SKU"), Data.get("69230S5DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S6SKU"), Data.get("69230S6DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S7SKU"), Data.get("69230S7DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S8SKU"), Data.get("69230S8DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S9SKU"), Data.get("69230S9DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69230S10SKU"), Data.get("69230S10DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S11SKU"), Data.get("69230S11DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S12SKU"), Data.get("69230S12DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S13SKU"), Data.get("69230S13DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S14SKU"), Data.get("69230S14DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69230S15SKU"), Data.get("69230S15DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S16SKU"), Data.get("69230S16DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S17SKU"), Data.get("69230S17DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S18SKU"), Data.get("69230S18DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S19SKU"), Data.get("69230S19DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230S20SKU"), Data.get("69230S20DETAILS"), control.relatedDetails);
     Action.click_Element(control.leftNavigation);
     Reusable.IsRelatedSubGroup(Data.get("69230OPRSYSTEM"), driver);
     Thread.Sleep(2000);
     ///Operating System SubGroup
     Action.verifyText(Data.get("69230O1SKU"), Data.get("69230O1DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O2SKU"), Data.get("69230O2DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O3SKU"), Data.get("69230O3DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O4SKU"), Data.get("69230O4DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O5SKU"), Data.get("69230O5DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69230O6SKU"), Data.get("69230O6DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O7SKU"), Data.get("69230O7DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O8SKU"), Data.get("69230O8DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O9SKU"), Data.get("69230O9DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O10SKU"), Data.get("69230O10DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69230O11SKU"), Data.get("69230O11DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O12SKU"), Data.get("69230O12DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O13SKU"), Data.get("69230O13DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O14SKU"), Data.get("69230O14DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O15SKU"), Data.get("69230O15DETAILS"), control.relatedDetails);
     Reusable.scroll(driver);
     Action.verifyText(Data.get("69230O16SKU"), Data.get("69230O16DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O17SKU"), Data.get("69230O17DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O18SKU"), Data.get("69230O18DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O19SKU"), Data.get("69230O19DETAILS"), control.relatedDetails);
     Action.verifyText(Data.get("69230O20SKU"), Data.get("69230O20DETAILS"), control.relatedDetails);
 }