Not able to match a control but I am able to match many tables on a page.
I am trying to match three exactly same tables on a webpage but when I do so I get all the three while applying match rules. But in automation when I try to do so it gives only one count of the get clones method.
**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.
If your match rules are loose enough that they match all three tables, and you have enabled the UseKeys property of the table, then calling GetClones would return all three. Is it possible that your match rules are too specific or that only one of the tables is actually present? You are not required to set a key for each of the clones as one will be randomly assigned. You'd want to assign a key if you wanted to tell them apart, but presumably in this case, you cannot.
When I apply match rules that is inner text match rule then I saw all three tables matching at time of interrogation but when I just get clones and want to count the collection proxy from the result the answer is 1.
Is it possible for you to post screenshots of your table and any match rules that you are using to identify it? To be honest, this will likely require hands-on assistance. To get that, you'd need to open an SR with support and they can assist you on your machine. If you do open an SR, please record the SR number here for tracking purposes.