Micro Focus QTP (UFT) Forums
Can't locate items on Win7 Desktop - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Can't locate items on Win7 Desktop (/Thread-Can-t-locate-items-on-Win7-Desktop)



Can't locate items on Win7 Desktop - RandomGrin - 01-30-2015

Hey QTP gurus,

So my program worked fine on Win7 32 bit, but I had to move to a Win7 64 bit machine.

I installed the 64 bit patch 0699, and also 0709, 005.

First thing my program does is try to run an icon on the desktop to start my program.

Here's the problem:
Code:
msgbox Window("Program Manager").WinListView("SysListView32").GetROProperty("items count")

--Returns '9' as it should.

Code:
msgbox Window("Program Manager").WinListView("SysListView32").GetROProperty("all items")

--Returns nothing.

So it is telling me I have 9 icons, but I have no icons.

If I try to Record the icon click (or drag and drop), it records nothing.

Googling this, I see several people reporting this in version 9.5, but they never reported an answer.

I am using QTP 11.0. I do not have QC or any of the other related programs.

Desktop! Not Browser! (I seem to be the only person left testing C++ applications...)

Any ideas anybody?

Thanks.