AutomationElement child = walker.GetFirstChild(el);
using windows automation How do i simulator a left single click on Child ?
AutomationElement child = walker.GetFirstChild(el);
using windows automation How do i simulator a left single click on Child ?
Rather than sending mouse events, you can
Invoke
it through theInvokePattern
like so:try with:
Links:
AutomationElement.GetClickablePoint Method
Simulate mouse Enter/Move/Leave on WPF control without real mouse usage
Edit for comment
See this links:
Mouse.cs
NativeMethods.cs
Introduction to TestApi – Part 1: Input Injection APIs
if the control has a "ClickablePoint" you can use this code
where AutoItX3Lib is the C# API for AutoIt