public void SoftwarePage() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnSoftwarePage(); var checkSoftwarePageMsg = navbarPages.txtNoProductsToListSof.Text; Assert.AreEqual(checkSoftwarePageMsg, "There are no products to list in this category."); }
public void CamerasPage() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnCamerasPage(); var checkCamerasProdTitle = navbarPages.txtCamerasProdTitle.Text; Assert.AreEqual(checkCamerasProdTitle, "Nikon D300"); }
public void TabletsPage() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnTablets(); var checkTabletsProdTitle = navbarPages.txtTabletsProdTitle.Text; Assert.AreEqual(checkTabletsProdTitle, "Samsung Galaxy Tab 10.1"); }
public void PhonesAndPDAsPage() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnPhonesPDAsPage(); var checkPhonesPDAsProdTitle = navbarPages.txtPhonesPDAsProdTitle.Text; Assert.AreEqual(checkPhonesPDAsProdTitle, "Palm Treo Pro"); }
public void ComponentsDropdown() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnComponents(); navbarPages.ClickOnMonitors(); var checkMonitorsProdTitle = navbarPages.txtMonitorsSamsungTitle.Text; Assert.AreEqual(checkMonitorsProdTitle, "Samsung SyncMaster 941BW"); }
public void LaptopsAndNotebooksDropdown() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnLaptopsAndNotebooks(); navbarPages.ClickOnWindows(); var checkWindowsPageMsg = navbarPages.txtNoProductsToListLN.Text; Assert.AreEqual(checkWindowsPageMsg, "There are no products to list in this category."); }
public void DesktopsDropdown() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnDesktops(); navbarPages.ClickOnPC(); var checkPCPageMsg = navbarPages.txtNoProductsToList.Text; Assert.AreEqual(checkPCPageMsg, "There are no products to list in this category."); }
public void MP3PlayersDropdown() { NavbarPages navbarPages = new NavbarPages(browser); navbarPages.ClickOnMP3Players(); navbarPages.ClickOnTest4(); var checkMp3PageMsg = navbarPages.txtNoProductsToListMp3.Text; Assert.AreEqual(checkMp3PageMsg, "There are no products to list in this category."); }