title: Selenium IDE: want X-path for links to open in different window but ids, class, identifier of all ads are same
body: <p>how to write X-path for number of ads links on same page and there is not unique id and Unique name to differentiate in HTML code, I have written below, please provide unique value to "click" ad and open ad in new window, as all ads have class="ad" and value is dynamic please help me out, as i want to open all ads one by one and verify data in 
  I have expanded only two ads and all other ads collapse </p>
  
  <p>example:</p>
  
  <pre><code>&lt;div class="result hlisting"&gt;
  
  &lt;div class="result hlisting"&gt;
  
  &lt;div class="info"&gt;
  
  &lt;h2&gt;
  
  #11856006:
  
  &lt;a class="ad" href="http://www.performancecars.ca/index.php/details/11856006/2009-Toyota-Camry.html"&gt;2009 Toyota Camry&lt;/a&gt;
  
  &lt;/h2&gt;
  
  &lt;span class="price"&gt; 14.584 CAD &lt;/span&gt;
  
  &lt;p class="address"&gt;
  
  &lt;b&gt;Date: &lt;/b&gt;
  
  2012-10-09 13:29:01 
  
  &lt;/p&gt;
  
  &lt;/div&gt;
  
  &lt;p class="description"&gt;
  
  &lt;p class="data"&gt;
  
  &lt;div class="clear"&gt; &lt;/div&gt;
  
  &lt;hr&gt;
  
  &lt;/div&gt;
  
  &lt;div class="result hlisting"&gt;
  
  &lt;div class="result hlisting"&gt;
  
  &lt;div class="info"&gt;
  
  &lt;h2&gt;
  
  #11930827:
  
  &lt;a class="ad" href="http://www.performancecars.ca/index.php/details/11930827/2010-Mazda-MAZDA3.html"&gt;2010 Mazda MAZDA3 GS ONE OWNER, SU.&lt;/a&gt;
  
  &lt;/h2&gt;
  
  &lt;span class="price"&gt; 14.200 CAD &lt;/span&gt;
  
  &lt;p class="address"&gt;
  
  &lt;/div&gt;
  
  &lt;p class="description"&gt;
  
  &lt;p class="data"&gt;
  
  &lt;div class="clear"&gt; &lt;/div&gt;
  
  &lt;hr&gt;
  
  &lt;/div&gt;
  
  &lt;div class="result hlisting"&gt;
  
  &lt;div class="result hlisting"&gt;
  </code></pre>