Question

2
Replies
236
Views
marcom18 Member since 2016 3 posts
Tata Consultancy Services (TCS)
Posted: October 19, 2017
Last activity: November 6, 2018
Closed

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.

Thanks.

**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
Share this page LinkedIn