title: How to verify text using Selenium Webdriver,
body: <p><strong>UPDATE 2:</strong></p>
  
  <p>something is very strange happening here...</p>
  
  <p>as compare to my previous code, i wanted to know what exactly its getting the <code>.Text</code> and I found something weird the first line of code returns me <code>A11</code> and not sure where does it coming from</p>
  
  <pre><code>string _name = driver.FindElement(By.XPath("//*[@id='ctl00_ContentPlaceHolder1_EditControl1_gv']/tbody/tr[11]/td[3]")).Text;
  </code></pre>
  
  <p>//its failing no wonder...</p>
  
  <pre><code>Assert.IsTrue(_name.Equals("Selenium"));
  </code></pre>
  
  <p>but how come its working with firefox?</p>
  
  <p>UPDATE:</p>
  
  <p>using C#</p>
  
  <p>here is the code i am using and its working fine with Firefox but not with IE8</p>
  
  <p>Assert.IsTrue(driver.FindElement(By.XPath("//*[@id='ctl00_ContentPlaceHolder1_EditControl1_gv']/tbody/tr[11]/td[3]")).Text.Equals("Selenium"));</p>
  
  <p>get this error:</p>
  
  <pre><code> failed: Assert.IsTrue failed. 
  </code></pre>