title: Selenium IDE:Opening in new tab and shift focus to new tab not working
body: <p>i have stuck in one point in selenium ide </p>
  
  <p>the scenario is like this</p>
  
  <pre><code>Login-----
  
  go to dashboard page---------
  
  mouse over any menu on the top navigational bar----
  
  on mouseover sub menu will appear as drop down--
  
  now click any link from the drop down --
  
  after clicking link will open in new tab
  </code></pre>
  
  <p>now from that point on-wards we have to shift our focus to that new tab because rest of the testing will be done on that new tab.</p>
  
  <p>The code i have written is given below</p>
  
  <pre><code>     &lt;tr&gt;
      &lt;td&gt;open&lt;/td&gt;
      &lt;td&gt;/magma/dev/&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;type&lt;/td&gt;
      &lt;td&gt;name=user_id&lt;/td&gt;
      &lt;td&gt;abcd&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;type&lt;/td&gt;
      &lt;td&gt;name=pass&lt;/td&gt;
      &lt;td&gt;1234&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;clickAndWait&lt;/td&gt;
      &lt;td&gt;id=btnLogin&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;verifyTextPresent&lt;/td&gt;
      &lt;td&gt;Costing List&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;verifyTextPresent&lt;/td&gt;
      &lt;td&gt;Fuel&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;mouseOver&lt;/td&gt;
      &lt;td&gt;//div[@id='smoothmenu1']/ul/li[3]&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;click&lt;/td&gt;
      &lt;td&gt;link=Fuel Cost&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;selectWindow&lt;/td&gt;
      &lt;td&gt;http://10.0.1.101/magma/dev/fuelcost/&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;verifyTextPresent&lt;/td&gt;
      &lt;td&gt;Manage Fuel Cost&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;clickAndWait&lt;/td&gt;
      &lt;td&gt;link=Logout&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>This code is working correctly upto clicking the sub menu from the dropdown after that  it is not working and a error is showing in the log</p>
  
  <p>so when ever i am trying to run that test case  it is showing error</p>
  
  <p><strong>[warn] Link has target '_blank', which is not supported in Selenium! Randomizing target to be: selenium_blank84419</strong> </p>
  
  <p>can any one please help me to write the code properly </p>