microsoft / axe-windows

Automated accessibility testing engine for Windows applications
MIT License
136 stars 62 forks source link

[BUG] Got Error when using CaptureAction.SetLiveModeDataContext #1018

Closed Zrzzzz closed 6 months ago

Zrzzzz commented 6 months ago

WpfApp1.zip Please check whether the bug has already been filed.

Describe the bug

I wrote some code that imitating AccessibilityInsights. To get element info of a Application. But however, I always got "Type 'System.Drawing.Point' cannot be marshalled to a Variant. Type library is not registered". when I using CaptureAction.

Since I've checked the functions be called, but got no idea to solve it. I hope you can answer.

To Reproduce Steps to reproduce the behavior:

Run code in ZIP.

Expected behavior

Actual behavior

Screenshots or .GIF

Desktop (please complete the following information):

Windows 11.

Additional context

Priority requested -

v-viyada commented 6 months ago

This package is out of scope from our support. Interfaces and classes not described in AutomationReference.md are not supported and may change at any time.