title: Selenium RC getTitle method
body: <p>it's been a long time :-)</p>
  
  <p>I'm still with my learning of Selenium RC and I'm using the www.irishtimes.com as my tested application.</p>
  
  <p>I have a very tiny test case that consists of these steps:</p>
  
  <p>Selenium selenium;</p>
  
  <pre><code>public void setUp() throws Exception {
      super.setUp();
  
      selenium = new DefaultSelenium("localhost",
              SELENIUM_PORT,
              "*firefox",
              "http://www.irishtimes.com/");
  
      setUp("http://www.irishtimes.com/", "*firefox");
  }
  public void testTCNewspapers() throws Exception {
      selenium.start();
      selenium.open("http://www.irishtimes.com/");
      selenium.waitForPageToLoad("30000");
      selenium.click("link=Life");
  
      //Doesn't work
      //verifyEquals("The Irish Times - Life", sel.getTitle());
  </code></pre>
  
  <p>}</p>
  
  <p>When executing the verifyEquals I'm getting this error:</p>
  
  <pre><code>java.lang.AssertionError: java.lang.AssertionError: Expected "The Irish Times - Life" but saw "The Irish Times – Irish News, Business News, Sports News &amp; Ireland Weather Online" instead
  </code></pre>
  
  <p>at com.thoughtworks.selenium.SeleneseTestBase.fail(SeleneseTestBase.java:356)</p>
  
  <p>I don't understand why this is happening since the title of the page is "The Irish Times - Life"</p>
  
  <p>From the source html file:</p>
  
  <pre><code>&lt;title&gt;The Irish Times - Life&lt;/title&gt;
  </code></pre>
  
  <p>Any help on resolving this? Thanks ;-)</p>