Esempio n. 1
0
 public void TestTagLineText()
 {
     Console.WriteLine("1 Testing Tagline Text");
     //GCDriver.FindElement(By.ClassName("tagline")).Text.CompareTo("Your source for improving outcomes for students with " +
     //                                                                   "literacy-related disabilities, including dyslexia.");
     Assert.IsTrue(TestingClass.TextCheckMethodClassName("Your source for improving outcomes for students with " +
                                                         "literacy-related disabilities, including dyslexia.", "tagline", GCDriver));
     Assert.IsTrue(TestingClass.TextCheckMethodXPath("A Path to Success", "//*[@id='start']/div/div[1]/div/h2", GCDriver));
     //GCDriver.FindElement(By.XPath("//*[@id='start']/div/div[1]/div/h2")).Text.CompareTo("A Path to Success");
     Console.WriteLine("1 Testing Tagline Text complete");
 }