Automatically change Xpath
Posted: Fri Apr 12, 2019 2:08 pm
Hi All,
I've been setting some new path weights and such to help create some better repository items. A lot of the items that are created have to be identified by the AccessibleName or AccessibleDescription, the only problem is that some of these items have a value such as a number at the end like an ID. For example: dgo_ObjectID=#Ctrl12;
Currently I manually replace the number with .* so no matter the number it will find the item. Is there any way of setting something up where 'ID' part of the path is removed and replaced with something like the .*
Thanks!
I've been setting some new path weights and such to help create some better repository items. A lot of the items that are created have to be identified by the AccessibleName or AccessibleDescription, the only problem is that some of these items have a value such as a number at the end like an ID. For example: dgo_ObjectID=#Ctrl12;
Currently I manually replace the number with .* so no matter the number it will find the item. Is there any way of setting something up where 'ID' part of the path is removed and replaced with something like the .*
Thanks!