05-21-2012, 08:50 PM
Trying to store and click a link. This link can change and there can be similar links on the page (within the same column). How can I store the link value (i.e. save the current name of the link) and then click on it?
I've tried using "name:=[0-9]{6}" as a descriptive property value as well as using Record to find the link, and then add the same regex code into the name, outerhtml, and innerhtml descriptors.
None of this is working. Does anyone know how to find a dynamic link (or all of them that match), store it, and then click the link?
QTP 11
The link will always have 6 numeric digits.
I've tried using "name:=[0-9]{6}" as a descriptive property value as well as using Record to find the link, and then add the same regex code into the name, outerhtml, and innerhtml descriptors.
None of this is working. Does anyone know how to find a dynamic link (or all of them that match), store it, and then click the link?
QTP 11
The link will always have 6 numeric digits.