Clicking a link with specific content


#1

Hi,
Can anyone please suggest me a solution for my problem.
There’s a list of link eg:
Good News 2014
Good News 2015
Good News 2016
Good News 2017
Now, I need to click on one of the link based on the value of year that will be supplied by a user. If a user inputs ‘2016’ as a year value, the bot should click ‘Good News 2016’.
Any help would be appreciated. Thanks


#2

Hi @suwalruchan365,

Use UiExplorer to get the exact selector.

in that selector pass the dynamic value like below.
aaname='Good News "+intYear.ToString()+"'

https://forum.uipath.com/t/1-rpa-challenge-dynamic-web-page-anchor/658

Regards,
Arivu