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?
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