Forum Discussion
puyopuy
13 years agoContributor
Thanks Irina for quick response for this. That is MSI window and it put a class number in the name. The following is what I get from Object Spy
Window("#id", "product name", 1)
and I believe the id number change every time when uninstall. The only propery I can use is WndCaption, that is the name of the product.
Btw, there is another problem in some Windows 7 environment when execute ClickItem
var programsList = wnd.FindChild("WndClass", "SysListView32", 20)
programsList.ClickItem(applicationName, 0); <= I get "The window does not respond." error in testComplete result log.
and the following messge in description
The window with the 0x000303b4 handle exists but did not respond during the auto-wait timeout (10000 ms).
Try increasing the 'Auto-wait timeout' project property.
Tested object:
Sys.Process("Explorer").Window("CabinetWClass", "Programs and Features", 1).Window("ShellTabWindowClass", "Programs and Features", 1).Window("DUIViewWndClassName", "", 1).Window("DirectUIHWND", "", 1).Window("CtrlNotifySink", "", 1).Window("SHELLDLL_DefView", "ShellView", 1).Window("SysListView32", "FolderView", 1)
Incress auto-wait timeout doesn't help.
Thanks
Window("#id", "product name", 1)
and I believe the id number change every time when uninstall. The only propery I can use is WndCaption, that is the name of the product.
Btw, there is another problem in some Windows 7 environment when execute ClickItem
var programsList = wnd.FindChild("WndClass", "SysListView32", 20)
programsList.ClickItem(applicationName, 0); <= I get "The window does not respond." error in testComplete result log.
and the following messge in description
The window with the 0x000303b4 handle exists but did not respond during the auto-wait timeout (10000 ms).
Try increasing the 'Auto-wait timeout' project property.
Tested object:
Sys.Process("Explorer").Window("CabinetWClass", "Programs and Features", 1).Window("ShellTabWindowClass", "Programs and Features", 1).Window("DUIViewWndClassName", "", 1).Window("DirectUIHWND", "", 1).Window("CtrlNotifySink", "", 1).Window("SHELLDLL_DefView", "ShellView", 1).Window("SysListView32", "FolderView", 1)
Incress auto-wait timeout doesn't help.
Thanks
Related Content
- 6 months ago
- 4 years ago
Recent Discussions
- 22 hours ago