microsoft / WinAppDriver

Windows Application Driver
MIT License
3.7k stars 1.41k forks source link

Can not inspect elements for our APP using inspect.exe #1146

Open njumazhen opened 4 years ago

njumazhen commented 4 years ago

Hello, I want to confirm, if we want to use WinAppDriver to auto test our App on windows, what special work we need to do before the it can be auto test using WinAppDriver? As now, the element can not be found using the inspect.exe. What need to inplemented to support auto test? I found an answer that mentionded the App need to support/work with UI Automationin in another similar issue? https://docs.microsoft.com/zh-cn/windows/win32/winauto/uiauto-clientsideprovider If so, we must change the exsiting code? Any sugggestion is apprecaite. Thanks! image

anunay1 commented 4 years ago

Yes u need to change the existing code for the inspect to find the element.

njumazhen commented 4 years ago

xisting code for the inspect to find the element.

@anunay1 Thank you for your reply. I have another quesstion here: Will WinAppDriver support WebView(hybrid app that embedded webview in the native app) test? If yes, when? Thanks!

anunay1 commented 4 years ago

I have no idea and the support of hybrid apps.