Custom HTML Attributes not being found by TestComplete?
I cannot get TestCompletes name mapping feature to find html objects based on custom html attributes.
I have a textbox for example that looks like this
<input class="classname" id="textboxID45874486997" type="text" data-auto="mytextboxid">
However, We have a lot going on right now with our project changing around and elements changing names etc. I want the ability to tell the developers "Hey, you see this attribute called data-auto, yah, do not ever touch it"
This way, my scripts aren't breaking all the time when they do things like change ids. I find it very bizarre that TestComplete doesn't have this feature. Am i missing something?
I found it.
I needed to switch from basic mode to conditional Mode
Then select Property and the type "Type Property Name"
Click enter, and then select value to be what ever you want.