Posted: 29 Jun 2017 2:52 EDT Last activity: 16 Oct 2018 12:03 EDT
Issue in Match rules for web
I'm facing an issue where i have interrogated an anchor tag, both the anchor tag and the page containing it show they are mapped (green tick mark in object explorer). Now after I stop the interrogation and again start interrogation of the page, it shows that they are not mapped anymore (green tick mark not present). But if I select the page and hit the refresh matching under the Match Rules the mapping shows up (green tick mark now available). Even though I haven't changed any match rules. Due to this my automation doesn't proceed. I'm attaching screen shots for reference. Any idea as to why this is happening?
Thanks in advance.
**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.
This would most likely be because your Control Child was not created when the page matched. Find a way to match your page without a Control Child match rule to start with and then determine the order your controls are being matched. You can then modify your rules again to ensure that if you need a Control Child to match it - that child is matched before the page.
Hi, I am also facing an issue like this.But this seems to be difference,I am trying to interrogate Salesforce button. But when I am interrogating the match rules in the attached screenshot becomes green.But if I stop interrogation and start it back, on the same page thematch rules becomes orange.
I would suspect that your element index is changing. You might interrogate it again and compare the match rules on the new control to the old one. You'll need to come up with a set of match rule(s) that work every time.
Recently I have encountered some web pages that are changing after matching is completed. The change doesn't always trigger a rematch event. When you hit rematch your page will have settled and of course at that point will match.
A strategy that may work in your case is to wait until matching completes and then do a rematch and wait for the controls to be created again.
For one of the web application, I am also facing this issue. Not sure what is the issue and how we can resolve it.
Strange this is that, the newly interrogated control has same matching rules but still it does not show green mark and it keep failing. I tried to clean %appdata%, reloaded Pega robotics, restarted my machine. But nothing worked.