I just started with Selenium and I have the problem to click on Link from page on wich we have 2 links with equal names.
The case is:
I have menu where i have 2 links with equal names:
Sisi >> sisi1
So I want to click on Sisi>> sisi1 but when I enter selenium.click("link=sisi1"); the system click on the other sisi1 not on this that I want.
The other problem is that ID of Sisi>> sisi1 is not constant. Every time when i click Sisi the system show me sisi1 but the ID is different.
I try with xpath but it use the dynamic ID to create xpath and it don't work again.