Micro Focus QTP (UFT) Forums
Substitue of window id - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Substitue of window id (/Thread-Substitue-of-window-id)



Substitue of window id - excellentpawan - 10-16-2015

I am writing code for retrieving some data from edit box and using window id as shown in attached snap but some times window id gets changed and scripts fail to run. Please suggest alternative solution.


RE: Substitue of window id - kbhargava505 - 10-16-2015

Actually for this we imported one DLL, that will check the attached text property and adds window id in the runtime to identify the object.

But as my knowledge is less I'm not aware of much detail about that DLL.

Regards,
Bhargava K


RE: Substitue of window id - tigerliew - 10-24-2015

Essentially, window id and attached text are key information locating the object. But none can grantee how the programmer code. I came across cases with dynamic window standard objects. Probably, location or index information like index:=0 could help.

Regards,

Tiger