Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

Shim AutomationElementInformation - MS Fakes

$
0
0

Hello,

I would like to shim AutomationElement.AutomationElementInformation using MS Fakes for some tests on our code that uses MS UIA.  When the Fakes are generated however, ShimAutomationElementInformation is generated as a sealed class with none of the members the actual Struct has.

Shimming AutomationElementInformation would be very helpful as the AutomationElement.Current property contains a lot of info I use at runtime.  Is this possible to shim using Fakes or am I missing something?

I'm using VS 2015 ultimate.

Thanks.


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>