Forum Discussion
Hey enriquebravo!
Verifying the supported Xpath version will take some research, but if ultimately you are just looking for a way to handle the dynamic portion of your mapping so it can continue to be found in subsequent tests, we can use Wildcards for this.
For instance, we can Wildcard the dynamic portion of your mapping by using an asterisk (*).
Orginal mapping = //div[@id='__49_0']//input
Wildcard mapping = //div[@id='__*']//input
Just in case this is helpful and you are unfamiliar, the below doc covers the usage of Wildcards in TestComplete.
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html
Hey Nick,
Thanks for the suggestion. Unfortunately, there was no luck. Using the wildcard caused an object not found error message. I ended up using a SendKeys instruction to focus on the expected field.
I am focusing on using keyword so maybe there is an alternate way to handle the issue over code, but right now I don't have much more time.
Thanks for the help!