I need help to differentiate between multiple links with the same name on a page in Selenium IDE. I need to click on the third link on the page. Selenium IDE records it as a reference with session ID and timestamp:
selenium.click("//a[@href='http://[blah-blah-blah]3D&time_stamp=1178132536869']");
This line does not work when I try to re-run the test.
What would you recommend to use in this situation?

Comments (2)
May 02, 2007
J. David Beutel says:
You could try a different XPath. An easy way to get one is from Firebug. After...You could try a different XPath. An easy way to get one is from Firebug. After you install and enable the Firebug extension, you
1. right-click on the link you want
2. select Inspect Element
3. in the Firebug frame, right-click on the highlighted element
4. select Copy XPath
5. paste into the Selenium IDE target
Mar 08, 2011
Chidambaram Angappan says:
But David this will be a lengthy text, if I want to use the shortest xpath for t...But David this will be a lengthy text, if I want to use the shortest xpath for the multiple link with same name what can be done ? Is there a way to learn this xpath procedure quickly :-)