01-01-2009, 05:58 PM
Code:
hwnd3 = Browser("Secure-Place8Image-FC-SRC").GetROProperty("hwnd")
could anyone please spacify what is hwnd property in QTP?
the above code return value like: 10291554
Thanks
Chetan
What is HWND property?
|
01-01-2009, 05:58 PM
Code: hwnd3 = Browser("Secure-Place8Image-FC-SRC").GetROProperty("hwnd") could anyone please spacify what is hwnd property in QTP? the above code return value like: 10291554 Thanks Chetan
01-01-2009, 07:34 PM
Nice question.
hWND breaks up into h+ WND = handle +Windows. You can reference a window through its handle. Here is a nice definition of hWND: A window handle (usually shortened to hWnd) is a unique identifer that Windows assigns to each window created. By window in this case we are referring to everything from command buttons and textboxes, to dialog boxes and full windows.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
01-02-2009, 06:48 PM
But i guess we can't use this property to identify the windows, because this HWND porperty changes everytime when the object is created. Please correct me if i am wrong.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Identifying new IE window using HWND | Archens | 5 | 5,687 |
03-08-2012, 08:47 PM Last Post: Archens |
|
how to check checkbox's readonly property if developer has not used this property | blanchedsouza | 0 | 4,700 |
05-15-2008, 04:27 PM Last Post: blanchedsouza |