I have a program I'm testing that has its close button enabled at one point and disabled at another. UISpy shows 'isEnabled' at both points to be 'true' UIAVerify shows 'isEnabled' at the first point to be 'true' and at the second to be 'false'
The latter is what I can visually confirm to be true, programmatically I'm getting the same values as UISpy and my test case is failing.
using System.Windows.Automation;
Tree Structure: "Dialog" "ProgramName" "title bar" "ProgramName" "button" "Close"
Is anyone aware of what could be causing this? Does UIA Verify use a different library than UISpy?