Denis Matiychuk
Denis Matiychuk
Depends on #66
Hi @tchakravarty, thank you for your report. We run auto building on CI - AppVeyor under Windows Server 2012 (Windows 8) I did not see the problem before. You may...
This problem may be caused by limited rights or bitness difference. Could you check SWAPY matches the target app bitness and/or run SWAPY with Admin rights. Thanks.
I hope not ;-) Just a guess, does the application run under the same user as SWAPY?
@changhyuk91 , could you run SWAPY with Admin rights and try to reproduce the problem? I suppose pywinauto failed to get the process command line because it has elevated privileges.
@changhyuk91, Could you try to reproduce this two problems on the develop builds: [32bit](https://ci.appveyor.com/project/moden-py/swapy-pwvh2/build/1.0.156/job/65ydxn450mkupycd/artifacts) [64bit](https://ci.appveyor.com/project/moden-py/swapy-pwvh2/build/1.0.156/job/odxnep75fkg0q4fx/artifacts) You probably use public release (master branch), but fix for problem #78 only in dev...
Problem `ctrl.Button("New").Click()` also actual for `ListView` and `TabControl`. Works fine for `ComboBox` and `Menu`.
There is a bug in the code generation for `VirtualSWAPYObject`. The objects has no own `init code` they are accessed through the parent. For instance, `combobox1.Select('Gray')`. No any `combobox_item1` var....
resolved in a8b85dd0cf4eb6e18d4824eb6fd0dc6b302b0637
> Using ctrl.Button("New").Click() is also better than magic index. > If the "text" is not unique wrong item may be used. > Use index access in such cases.