Name property empty?

Hi guys,

The last CTP i was using, was the may CTP. With this version I had the problem that the name property was not filled in for any controls. It was always empty.

Now I installed the july CTP and the problem still exists...
Does anyone else have this problem? Is this a know issue?

Note: When using the textvaluepattern, you get the text so that works...

Best Regards,
Nick

[427 byte] By [NickAsseloos] at [2008-2-3]
# 1

Not all elements have Names, although UI Automation does its best to get one (for instance, using label text for a control that has a label).

You can use UI Spy to determine whether or not a control has a Name.

PeterDonnelly-MSFT at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Microsoft UI Automation...
# 2
it is recommended to use AutomationId to identify elements
lester-MSFT at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Microsoft UI Automation...

Software Development for Windows Vista

Site Classified