Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does SychronizedInputPattern do in UI-Automation?

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

like image 757
Max Young Avatar asked Oct 23 '25 17:10

Max Young


1 Answers

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.

like image 54
Dineshkumar Avatar answered Oct 26 '25 08:10

Dineshkumar