06-06-2012, 06:03 PM
Thanks mate, but it did not work.
I executed below code
Following error was thrown:
Object doesn't support this property or method: 'Val5'
Line (80): "msgbox Val5(0).GetROProperty("index")".
if i type Val5(0). -->QTP does not hint me with option.
if i type Val5. -->QTP gives me hint
so I typed Val5.Get --> QTP did not promt me with GetROProperty, options prompted by QTP is as shown in attachment.
I executed below code
Code:
Set Val5 = SwfWindow("Form").SwfObject("toolBar").Object.Items
c = Val5.Count()
Reporter.ReportEvent micdone,"Test3",c
msgbox Val5(0).GetROProperty("index")
Following error was thrown:
Object doesn't support this property or method: 'Val5'
Line (80): "msgbox Val5(0).GetROProperty("index")".
if i type Val5(0). -->QTP does not hint me with option.
if i type Val5. -->QTP gives me hint
so I typed Val5.Get --> QTP did not promt me with GetROProperty, options prompted by QTP is as shown in attachment.