WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

What UI Automation technology WinAppDriver is internally using?

Open tetsushmz opened this issue 6 years ago • 3 comments

Hi, I'm new to this technology. I recently realized that there are very similar but different technologies documented in MSDN - one is UIA3 and the other is UIA2 . Which one is WinAppDriver is using? The UIRecorder's cpp code seems to suggest that it's UIA3. Is it true?

Thanks,

Thanks!

tetsushmz avatar Dec 16 '19 13:12 tetsushmz

Automation part is black box to WinAppDriver. I guess it's UIA3. the best matched doc is https://docs.microsoft.com/en-us/dotnet/framework/ui-automation/ui-automation-overview

3.0 is introduced in Windows 7, and it's the successor to Microsoft Active Accessibility (MSAA), and I don't think WinAppDriver is calling MSAA

licanhua avatar Dec 17 '19 19:12 licanhua

@licanhua The link you provided is actually UIA2 that was added with .NET Framework V3.0 and is older than UIA3 that came as a part of Windows 7. The former is a managed library, while the latter is COM based. MSAA is older than those two. I wonder if Microsoft will eventually make WinAppDriver open source.

tetsushmz avatar Dec 17 '19 20:12 tetsushmz

About one year later ... I also wonder if WinAppDriver uses UIA2 or UIA3.

Beautyod avatar Nov 06 '20 12:11 Beautyod