02-23-2012, 04:42 AM
I am trying to open a particular application thru the Desktop but am unable to identify any object (individually) on the Desktop. I am only looking for desktop objects, not the windows that are already open. On using below code, i was able to get the count of objects on the desktop, but still not able to identify any of them:
Could you help in identifying and opening an object on the desktop? Ideally if there was a way to identify the Icon of the application, and then activate it, that would be great. Or can we use any Ordinal identifier or hotkeys??
I am using qtp10 and Windows Vista system. Could provide more details if needed.
Thanks!
Code:
intCount = Window(objWindow).WinListView(objWinListView).GetItemsCount
Could you help in identifying and opening an object on the desktop? Ideally if there was a way to identify the Icon of the application, and then activate it, that would be great. Or can we use any Ordinal identifier or hotkeys??
I am using qtp10 and Windows Vista system. Could provide more details if needed.
Thanks!