title: How to handle dynamic id from xpath
body: <p>I am trying to explore IDE with this site <a href="http://www.barnesandnoble.com/" rel="nofollow">http://www.barnesandnoble.com/</a>, by just recording and play back.</p>
  
  <p>1.In the search box just enter any text to search,
  2.Ten click on All Products, select Books.</p>
  
  <p>When i record its xpath is as below</p>
  
  <p>/html/body[@id='CDS']/div[@id='navContainer']/div[@id='bnnav2011']/div[@id='yui_3_3_0_1_1355746621091_93']/div[@id='bn-global-header']/div[@id='yui_3_3_0_1_1355746621091_92']/div[@id='yui_3_3_0_1_1355746621091_91']/form[@id='qs']/div[@id='yui_3_3_0_1_1355746621091_90']/div[@id='yui_3_3_0_1_1355746621091_89']/ul[@id='yui_3_3_0_1_1355746621091_88']/li[@id='yui_3_3_0_1_1355746621091_99']</p>
  
  <p>But when we play ti again it gives error,[error] locator not found:
  Wehn i search for its xpath , its chnaged and is as below</p>
  
  <p>/html/body[@id='CDS']/div[@id='navContainer']/div[@id='bnnav2011']/div[@id='yui_3_3_0_1_1355748592221_91']/div[@id='bn-global-header']/div[@id='yui_3_3_0_1_1355748592221_97']/div[@id='yui_3_3_0_1_1355748592221_96']/form[@id='qs']/div[@id='yui_3_3_0_1_1355748592221_95']/div[@id='yui_3_3_0_1_1355748592221_94']/ul[@id='yui_3_3_0_1_1355748592221_93']/li[@id='yui_3_3_0_1_1355748592221_98']</p>
  
  <p>Observe that, its ID's are changing.</p>
  
  <p>Can any one tell me how to handle this ? </p>