Alex Rivera | Logout

Xpath for href element

Asked 2012-10-29T15:44:52.337
22

I need to click on the below href element,which is present among similar href elements.

<a id="oldcontent" href="listDetails.do?camp=1865"><u>Re-Call</u></a>

Can anyone provide me xpath to click the above href link?

Edit
Report

1 Answer

0

Best way to locate anchor elements is to use link=Re-Call:

selenium.click("link=Re-Call");

It will work..

answered 2012-11-16T08:55:38.657

Your Answer