Click on link based on a display field

Hi,

I’m sure this is simple but I can’t for the life of me work out how to achieve this. I suspect I need to use xpath. What command and target is required to click on the following based on the display field?

a href=“javascript: editFPATrigger(‘152’);” onclick=“skipCheck = true”>CLKL1Y115 </a
PS I’ve removed start & end brackets above so the whole line can be seen

I have tried the following with no success:

click xpath=//a[contains(text(),${AWARDNAME}]

where ${AWARDNAME} = CLKL1Y115

Thank you

You should “wait” for the <a> element to be displayed before you click it.

Clicking the element too soon before it appears visible will certainly fail.