06-24-2008, 10:33 AM
Hi,
Using GetTOproperties example from QTP help guide,i modified following script to get property count for the link("Gmail Blog"),
but its giving error.
Can anyone advice how can I get the property count & list of properties as output.
<<<<<<<
>>>>>>>>>>>
Thanks,
Akhila
Using GetTOproperties example from QTP help guide,i modified following script to get property count for the link("Gmail Blog"),
but its giving error.
Can anyone advice how can I get the property count & list of properties as output.
<<<<<<<
Code:
Dim props()
props = Browser("Gmail: Email from Google").Page("Gmail: What's been keeping").Link("Gmail Blog").GetTOProperties()
propscount = props.count
msgbox(propscount)
For i = 0 To propscount - 1
propName = props(i).Name
propValue = props(i).Value
MsgBox propName & " = " & propValue
Next
Thanks,
Akhila