Close popover
Marco Maini (marcom18)
Tata Consultancy Services (TCS)
Openspan Developer
Tata Consultancy Services (TCS)
marcom18 Member since 2016 3 posts
Tata Consultancy Services (TCS)
Posted: October 19, 2017
Last activity: November 6, 2018

Match Rules For Isolating Visible Web Controls

I'm trying to match on an specific <LI> in a <UL>, here is what the list looks like:

The control i want is in red. The problem is that if the user navigates away from and then back to this page, when they next bring up this <UL> there are multiple controls that are getting matched. Here's the adapter matching details:

The visible control will have an entry in the Client Rectangle attribute, whereas the non-visible controls will have an ClientRectangle of 0,0,0,0, so I have added an attribute match rule using IsNotSimple (see above), yet the controls with this attribute still continue to be matched (also see above).

So my request is for anyone who can help me update the match rules so that only the visible control is matched, and the 'hidded' ones are ignored, and to understand how the Attribute Match Rule works, as I have never been able to successfully use it.


**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.