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
#2
Not Solved
Code:
dim myarr
myItems=Browser("iGoogle").Page("iGoogle").WebList("select").GetROProperty("all items")
myarr=split(myItems,";")
iterate the array and get the values of a weblist.
Reply
#3
Not Solved
I didn't get your question... With the help of DataTable or msgbox... What it means?

Validating the data in datatable in WebList? or what?
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)