Question

Could some one explain what the SychronizedInputPattern does? I haven't been able to find any good examples of it being used.

Was it helpful?

Solution

Lets suppose you need to click something but before the click happens, the elements move (maybe due to resize …). In this case, some other element could get the mouse input.

To overcome this problem, SynchronizedInputPattern has been introduced.

buttonElement.GetCurrentPropertyValue(AutomationElement.IsSynchronizedInputPatternAvailableProperty);

Read more over here.. Example can be downloaded here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top