How to use the click activity to check only certain part of target

I need help on how best I can use the click activity to only check a substring of my target UI element that will be changing every quarter. Basically, I want my automation to only pick the most recent. For example, automation should select I/OCE Quarterly Data Files V243.R0 in this case

I/OCE Quarterly Data Files V243.R0
I/OCE Quarterly Data Files V242.R0
I/OCE Quarterly Data Files V241.R0

As of today, my automation is still looking at the previous version when another version has been released. I want the automation to be able to pick the most recent
image

@Yomi_Oluwadara

Please edit you r selector and remove the dynamic prt and replace it with * in the innertext attribute…and use strict selector only

The dynamic prt for you is V243.R0

So the selector looks like

<webctrl tag='a' innertext='I/COE Quarterly Data Files*' />

Hope this helps

Cheers

@Anil_G I don’t seem to find an ‘r’ selector.

@Yomi_Oluwadara

Thats a typo…please select strict selector…and remove fuzzy and image…and in strict selector use the selector I gave above

Cheers

@Anil_G
Thanks ! in part, that did work. However I have other problems that I ran into. To get a better support, I will close this thread and start a new one.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.