Posted: 1 Oct 2018 9:29 EDT Last activity: 8 Feb 2019 0:51 EST
Is it possible to dynamically change a match rule.
Is it possible to dynamically change a web match rule.
Example: A web page provides a list of links where the Text TITLE and URL change dynamically. The goal is to click on a link/URL matching the TITLE of a changing value.
I realize we can change the property UseKeys = True, use GetClones, and loop through all the links, but am asking if we can instead change/update the text or innerhtml or attribute match rule value.
You cannot change match rules at Runtime. As mentioned earlier, you may use RegEx to make a rule dynamic, or as you stated, you can make the match rule(s) generic to match multiple things and then evaluate the properties at Runtime to identify which ones you wish to operate on (using UseKeys to match multiple targets at once with one control).