microsoft / WinAppDriver

Windows Application Driver
MIT License
3.61k stars 1.4k forks source link

Not displaying elements of list in UI Tree #1033

Open adrozdowski opened 4 years ago

adrozdowski commented 4 years ago

Hello. I use a WMS desktop application written in WindowsForms in my company. I would like to automatize entire order processing which takes place in this application. But I encountered a serious problem with UIRecorder. UIRecorder does not always display elements of list. I attached appropriate screens where you can see that there are two elements in a list but UIRecorder shows nothing. Could you tell me if it is a bug of WinAppDriver or application is written wrong? Thanks in advance for help

image

DLightstone commented 4 years ago

The dear folks at Microsoft are not being fully forthright when they claim "Windows Application Driver is a service to support Selenium-like UI Test Automation on Windows Applications. This service supports testing Universal Windows Platform (UWP) and Classic Windows (Win32) apps on Windows 10 PCs. Windows Application Driver complies to the JSON Wire Protocol standard and some application management functionalities defined by Appium. If you've been looking for better support for using Appium to test Windows Applications, then this service is for you!"

There are Visual Studio based development configurations of Classic Windows (Win32) apps which are not compatible. This is especially so when the treeview control is being used. I have found that access to the treeview control can be achieved under the build configuration identified by the screenshot image below

tree

Pity Microsoft is unwilling to provide a test coverage matrix for their toy.