Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using GetTOProperties & Count function
#2
Solved: 11 Years, 3 Months, 1 Week ago
here is the small change to your script

Code:
Dim props()
'You need to set the All the Properties to a Object, you can directly assign to a variable
Set  props = Browser("Gmail: Email from Google").Page("Gmail: What's been keeping").Link("Gmail Blog").GetTOProperties()
propscount = props.count ()  ' While assigning count to a variable you need to call using ()
msgbox(propscount)
For i = 0 To propscount - 1
propName = props(i).Name
propValue = props(i).Value
MsgBox propName & " = " & propValue
Next
>>>>>>>>>>>
Reply


Messages In This Thread
RE: Using GetTOProperties & Count function - by surya_7mar - 07-07-2008, 11:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 6,092 06-26-2015, 12:31 AM
Last Post: babu123
  GetTOProperties count Steve.Govinakovi 10 13,712 04-15-2014, 05:54 PM
Last Post: Anamika sinha
  Diff. between page checkpoint link count and childobj count anemuday 0 2,235 07-20-2008, 10:11 PM
Last Post: anemuday

Forum Jump:


Users browsing this thread: 1 Guest(s)