Hi Everyone,
Someone just suggested to me that they could use the Match Type "Wildcard" with the Attribute "Path" in identifying an HTML Element in Internet Explorer (IE). Of course, like any decent Blue Prism Developer, I said that's ridiculous because that has never worked before. It's a known thing that specifically the Path attribute must match exactly. Well, let's skip forward a few minutes after I was proven wrong...
It seems that Blue Prism now supports using Wildcard with the Path. I have not done extensive testing of this, so maybe it's a fluke, but we have tried it on two different websites on two different machines.
I am able to match like this:
Path (Match Type: Wildcard): /HTML/BODY(1)/*/INPUT(1)
Parent URL (Match Type: Wildcard):
https://www.facebook.com/*Match Index: 1
In the above scenario, the full HTML Path is something like this, so you can see that I replaced quite a bit of the path with an asterisk: /HTML/BODY(1)/DIV(1)/DIV(4)/DIV(1)/DIV(1)/DIV(1)/DIV(1)/DIV(2)/DIV(2)/FORM(1)/DIV(1)/INPUT(1)
And, as insane as it may seem, this works too:
Path (Match Type: Wildcard): /HTML/*
Parent URL (Match Type: Wildcard):
https://www.facebook.com/*Match Index: 100
When I highlight for the above, it doesn't highlight the specific element I want, but the point is that it does highlight an element. ? and # also seem to be supported as wildcards in the Path now.
I am fairly confident I tested this (well...at least in 2017...) and it did not work then. But it does work now in Blue Prism 6.5 (and I believe at least as early as 6.4.1). I'm probably going to install an earlier version of Blue Prism to test out there and see if I'm crazy, but I figured I'd post and see if anyone else has noticed this as well.
In case you're thinking, "Well it's always worked for me", here's a few forum posts that show pretty clearly this would not have worked in the past.
A post where Denis Dennehy repliesHere's another postAnd another post where I apparently respondedI must say that I will be super excited if this is an intended feature in Blue Prism and that this is now supported, but I want to make sure it is supposed to work. I do not recall seeing anything about this in any release notes and I read the release notes in full pretty much every time a new version comes out. I may have missed one though. I would just think that Blue Prism would make a bigger deal about such a change.
Anyone got some thoughts? Am I off my rocker on this? Did I dream this entire thing or did BP sneak in another legit feature and not announce it?
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company