WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

How can I get value of LegacyIAccessible.Description property

Open NtsonevDAVID opened this issue 6 years ago • 7 comments

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

NtsonevDAVID avatar Sep 17 '19 14:09 NtsonevDAVID

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

anunay1 avatar Sep 18 '19 10:09 anunay1

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

hassanuz avatar Oct 14 '19 22:10 hassanuz

No inspect does not report them as null.

anunay1 avatar Oct 15 '19 06:10 anunay1

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

down2mars avatar Feb 06 '20 20:02 down2mars

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

Allen2898168 avatar Sep 09 '20 06:09 Allen2898168

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

carlosraygoza21 avatar Feb 09 '21 19:02 carlosraygoza21

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

Working for me. Good find!

smakineni2019 avatar Aug 04 '22 13:08 smakineni2019