我有一个 Windows 应用程序,其中几个按钮在 UISPY 中显示为窗格。
自动化元素
一般可访问性
AccessKey: ""
AcceleratorKey: ""
IsKeyboardFocusable: "True"
LabeledBy: "(null)"
HelpText: ""
状态
IsEnabled: "True"
HasKeyboardFocus: "False"
鉴别
ClassName: "WindowsForms10.Window.8.app.0.33c0d9d"
ControlType: "ControlType.Pane"
Culture: "(null)"
AutomationId: "2624504"
LocalizedControlType: "pane"
Name: "SAVE"
ProcessId: "6892 (OATDT.ATA.SP.Home)"
RuntimeId: "42 2624504"
IsPassword: "False"
IsControlElement: "True"
IsContentElement: "True"
能见度
BoundingRectangle: "(-31471, -31598, 104, 23)"
ClickablePoint: "(null)"
IsOffscreen: "True"
控制模式
如何获取该窗格并单击它?有人可以帮忙吗