Winappdriver: How can I get value of LegacyIAccessible.Description property

Created on 17 Sep 2019  路  6Comments  路  Source: microsoft/WinAppDriver

Hello I try to get value of LegacyIAccessible.Description property from WindowsElement.
I try whit WindowsElement.GetProperty("Description") but no result. I test Win32 Application whit Appium and WinAppDriver. If any body is know how to do this pleas help me?
Untitled

Help Wanted

Most helpful comment

I'm having the same issue with getting the LegacyIAccessible properties. Is there any update on this?

All 6 comments

@hassanuz : For all the legacy attributes, the values are always returned as NULL. Can you take this as a bug?

@anunay1, is inspect reporting them as null as well?

No inspect does not report them as null.

I'm having the same issue with getting the LegacyIAccessible properties. Is there any update on this?

Is there any way to get the property value of "legacyiacccessible"

You need to use "_Legacy_" at the beginning and add the property you want at the end.
For instance "LegacyIAccessible.Value" would be "LegacyValue"

Was this page helpful?
0 / 5 - 0 ratings