Esempio n. 1
0
		public void VerifySearchSiteCrawlerOnHostSchedulePage()
		{
			Trace.WriteLine(BasePage.RunningTestKeyWord + "'Verify Site Crawler on Host Schedule Page'");

			var hostSchedulePage = new HostSchedulePage(_driver);
			hostSchedulePage.OpenUsingButtons(_baseUrl);

			Assert.IsTrue(hostSchedulePage.ElementPresent(By.XPath(HostSchedulePage.SearchCrawlerEnabled + " and @checked ='checked']")),
				"Site Crawler is not enabled");
		}
Esempio n. 2
0
		public void VerifySearchSiteCrawlerOnHostSchedulePage()
		{
			Trace.WriteLine(BasePage.RunningTestKeyWord + "'Verify Site Crawler on Host Schedule Page'");

			var hostSchedulePage = new HostSchedulePage(_driver);
			hostSchedulePage.OpenUsingButtons(_baseUrl);

			Assert.That(hostSchedulePage.WaitForElement(
				                    By.XPath("//tr[td[text() = '" + HostSchedulePage.SearchSiteCrawlerName +
				                               "']]//span/input[contains(@id, 'ViewSchedule_dgSchedule')]")).GetAttribute("checked"), 
									Is.EqualTo("true"),
			                      "Site Crawler is not enabled");
		}