Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
weblist values to display with help of datatable or msgbox
#1
Not Solved
Hi ,
Here is a code which says how many weblist are there in a page and also count the items in weblist. I want to know how i should retrive the states name and display them in a msgbox or export to datatable.
Code:
Dim cntweblist,cnt.
Set WinListDesc=description.Create()
WinListDesc("html tag").value="SELECT"

set cntweblist=Browser("name:=iGoogle").page("title:=iGoogle").ChildObjects(WinListDesc)
msgbox "No. of WedList:" & vbnewline &cntweblist.count
cnt=Browser("iGoogle").Page("iGoogle").WebList("select").GetROProperty("items count")
msgbox "NO of items in weblist is:"&cnt

and also how to use webtables with help of DP with an example.
Thanks in Advance.
email: vuru_kavi@yahoo.com
Reply


Messages In This Thread
weblist values to display with help of datatable or msgbox - by kanna79 - 12-18-2009, 11:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can we retain values in an array without destorying previous values kotaramamohana 3 3,681 06-22-2012, 05:25 PM
Last Post: kotaramamohana

Forum Jump:


Users browsing this thread: 1 Guest(s)