30-07-19 12:46 PM
Hi all,
I am currently building an integration where the usage of Dynamic Attributes with wildcards would be a huge help.
Is there any way to achieve this?
For example:
The Window Text of a specific window can be:
"Create - Customer", "Create - Product", "Modify - Customer", "Modify - Product" and so on.
If I could provide "Create*" or "Modify*", through the Dynamic input, that would solve the issue - But I cant seem to find a way to trigger the wildcard search, through the dynamic input.
I do have other solutions in mind, but this would be the easiest and cleanest, if possible.
30-07-19 04:19 PM
30-07-19 05:25 PM
""""&[Data1]&[Data2]&""""
Data1: Create -
Data2: *
31-07-19 09:26 AM
31-07-19 04:47 PM
* - Matches against a wildcard expression in which * represents any characters
? - Matches against a wildcard expression in which ? matches any single character
# - Matches against a wildcard expression in which # matches any single number
07-05-20 03:18 PM
13-10-22 03:43 PM
Hi Rajesh,
I have make the element in application dynamic ,because a DIV in the path changes +1.
But another DIV keep changing there too,and it is not a regular change so I can't get a regular expression to it.
That is the reason that I have put a (*) in it.
I did the " Match type " wildcard but after some runnings it stop and sometimes also the blueprism closed it self.
What is the best way to fix it,in that way it will work fine ?
For this element I first use a wait stage ,to check if it exists or not ,and then I read the value in it with a read stage , when I put the parameters that are in the attached photo. For the second element I do the same thing , i check if it exist or not ,read its value and keep doing this thing until there is no more row to read.
I would really appreciate if someone could help me with the right way,
Thank you in advance,
Erjola
13-10-22 04:49 PM
14-10-22 08:34 AM
Hi @AmiBarrett,
What do you suggest me ?
14-10-22 10:57 AM
Hi @ErjolaMema,
I don't think the problem here is with how you have made the attribute dynamic rather the problem might lie with the fact that you are taking in the full web path which always can be susceptible to change. As a best practice, I never go with full webpaths but instead I prefer XPaths which can make your life much easier and also make the selector attributes more robust in nature.
I could help you to build an XPath which you can use here in place of the Web Path that you are using but for that I would need to have a look at the HTML code of the element that you are spying. An easy way to do is that on your web browser (Chrome/Firefox or Edge), navigate to the web page and right click on the same and select the 'Inspect' option as shown below: