当我在窗口中检查一个按钮时,以下属性与 FrameworkId="InternetExplorer" 一起列出。如何使用 Teststack.white 自动化按钮单击或文本框填充?
这是检查员显示的:
Mouse move (865,608)
hwnd=0x00250DD6 64bit
class="Internet Explorer_Server"
style=0x56000000
ex=0x0
RuntimeId: "[42.2428374.3.3538]"
BoundingRectangle: {l:743 t:599 r:1176 b:689}
ProcessId: 464
ControlType: UIA_ButtonControlTypeId (0xC350)
LocalizedControlType: "button"
Name: "Use another account"
AccessKey: ""
HasKeyboardFocus: false
IsKeyboardFocusable: false
IsEnabled: true
AutomationId: "otherTile"
HelpText: ""
IsPassword: false
IsOffscreen: false
Orientation: 0
FrameworkId: "InternetExplorer"
IsRequiredForForm: false
AriaRole: "button"