When you spinning links in the loop to click on each -
before executing click itself - read WebElement(LoopIndex).ROProperty("name") [OR "text", OR "htmlID"] to know the link name will click.
Then develop checking\validation of that according your scenario logic.
There are multiple links in multiple webelements.
Thanks for your idea, it's works as per following:
a) Get ALL links from the page
b) Spinning links in the loop
c) Identify links by getting the ROProperty("name")
d) Click into the correct link