Clicking a link with specific content

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

Hi @suwalruchan365,

Use UiExplorer to get the exact selector.

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

Regards,
Arivu

1 Like