microsoft / WinAppDriver

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

Unable to intract with InstallShield Wizard windows installer #1236

Open sainivarun opened 4 years ago

sainivarun commented 4 years ago

WAD UIRecorder & WinAppDriver are unable to interact with InstallShield Wizard windows installer. Is it supported or not? Contributors, please help.. @timotiusmargo

pradeipp commented 4 years ago

Did you try Inspect.exe?

sainivarun commented 4 years ago

@pradeipp Yes, tried Inspect.exe also. It gave me Automation ID/Name of the elements which resolved my issue with element inspection but further WinAppDriver is not identifying these locators while debugging test.

pradeipp commented 3 years ago

Hi @sainivarun were you able to resolve it? Winappdriver doesn't always detect all elements so you'd want to try different locator strategies like name, classname, or xpath.. try which one works.. it's a bit of a hit or miss sometimes.

iamvkundra commented 3 years ago

@pradeipp even i tried to automate the application which is packed with installshield. Can't get any controls of that application. I can see the controls on inspect but when i run the code it fails and shows can't find any controls.

Shakevg commented 3 years ago

@iamvkundra Try to look on XML with window content and check (sometimes it can be different with inspect ): Session.PageSource;

ereminmax commented 3 years ago

I kind of have the similar issue , instead in my case there s a problem with detection of elements of the program which was started as a process directly from the test itself. Maybe issue is linked with windows security which prevents from interacting with the new window.

shoaibmansoor commented 3 years ago

@ereminmax I also faced the same issue. Starting Winappdriver Ui Recorder and Appium with admin rights worked for me.

sainivarun commented 3 years ago

Hi @pradeipp, I tried as above suggested but it didn't work.