microsoft / WinAppDriver

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

Same Question #1041

Open tanrhua opened 4 years ago

tanrhua commented 4 years ago

Hi there, I have the same issue. I can use Inspect.exe to catch the controls of an InstallShield window, but I cannot find the windows or any controls though c# code. Also, I cannot use UIRecorder to catch the XPath or controls' tree for an InstallShield windows. Is there any difference between InstallShield window and UWP or WPF, WinForms? How can I find an installShield windows from an desktopSession ?

Thanks in advance!

schrdori commented 4 years ago

Hi, Please choose a better title for your issue.

I have the same issue.

Could you link it?

I can use Inspect.exe to catch the controls of an InstallShield window, but I cannot find the windows or any controls though c# code. Also, I cannot use UIRecorder to catch the XPath or controls' tree for an InstallShield windows.

If you can find the controls with Inspect.exe there should be no problem. Can you get the AutomationId or Name of the controls? Consider to post your code here. Why can't you find elements? An Exception is thrown? Which and where?

Is there any difference between InstallShield window and UWP or WPF, WinForms?

Not for me, i have automated installers with WinAppDriver.

How can I find an installShield windows from an desktopSession ?

Maybe this will help https://github.com/microsoft/WinAppDriver/tree/master/Samples

iamvkundra commented 3 years ago

Even i had the the same problem. I'm not able to catch the control of application which are packed with installshield wizard.