Thursday, June 5, 2014

To find out the index

For i=0 to 100 step 1
With browser ("title:=.*")
  With .page("title:=.*")
    x=.webelement("html tag:=SPAN","index:="&i).getroproperty("innertext")
      print(i&" "&x)
    End With
  End With
Next