Difficulties to extract element from Salesforce application

Team,

Building process for salesforce application , task is to click on hover link where text is dynamic. Due which arranging the selectors. for click activity.

<html app='chrome.exe' title='*| Salesforce' />
<webctrl id='window' parentname='header' tag='SPAN' aaname='Contracts*' />

Issue: click activity works fine for same screen but as selectors are dynamic and when we change the use and come on same screen, selectors are getting validate but not high lighting ay=ny element and also fails to click?

Any solution?

<html app='chrome.exe' title='*| Salesforce' />
<webctrl id='window' parentname='header' tag='SPAN' aaname='Contracts*' />