Micro Focus QTP (UFT) Forums
Need a Help with identify child form VB6 programm - 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: Need a Help with identify child form VB6 programm (/Thread-Need-a-Help-with-identify-child-form-VB6-programm)



Need a Help with identify child form VB6 programm - shan1234 - 08-12-2011

HI

Can someone help me with DP for identifying child form which create using vb6.


Thank you
shan




RE: Need a Help with identify child form VB6 programm - Sathiya - 08-12-2011

hi
will you please send me the screenshots of the spying the object.....


RE: Need a Help with identify child form VB6 programm - shan1234 - 08-12-2011

Hi Sathya
here is the screen short

there is a MDI form and when u select menu item from will be open.

when I use object repository it gives like

Code:
VbWindow("mdiMain").VbWindow("frmSrcFileDef")..
but when I use Dp
VbWindow("text:=").VbWindow("text:=child form... ").

it gives and error

cheers
shan


RE: Need a Help with identify child form VB6 programm - Sathiya - 08-12-2011

Hi...
if your DP code works fine parent object means then get getroproperty and check whether the text is correct or not...


try and reply me via mail....






RE: Need a Help with identify child form VB6 programm - shan1234 - 08-12-2011

it gives me an error

Object doesn't support this property or method: 'VbWindow(...).VbWindow'

Line (19): "If VbWindow("vbname:=mdiMain","regexpwndtitle:=ONESOURCE Corporate Income Tax Warehouse").VbWindow("vbname:=frmSrcFileDef","regexpwndtitle:=Source File Definition").Exist Then".


thanks
shanaka


RE: Need a Help with identify child form VB6 programm - Sathiya - 08-12-2011

hi...
if you dont mind.... can you please send that application link to sathiya_arunachalam@syntelinc.com


RE: Need a Help with identify child form VB6 programm - gbrahma.sagar - 08-12-2011

r u frm TR? r u frm HYD?