kaizibaby
11 years agoNew Contributor
Other way to identify UI elements other than using the logical tree
Hi,
In TestComplete, currently the only way to identify an UI element is using Object Spy and logical tree. By giving the UI elements aliases does make the life easier, but when developers change the UI, the aliases will be broken.
So is there another way to identify UI elements, which is not dependant on the Logical Tree. One approach in my mind is, when devs create an UI element, they add an unique attribute which will be dedicated for automation testing. Not sure if it is feasible
Please give advices if you have any good approaches
Cheers
Kai