Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to count no of weblist on the page
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi I am trying to count total no of weblist on the web page.
But i am geting error.
The script i have is

Code:
Systemutil.Run"IExplore","http://www.google.co.in"
wait(1)
Dim obj_DescChk
Set obj_DescChk=Description.Create
obj_DescChk("html tag").value="select"
obj_DescChk("ClassName").value="weblist"
Browser("title:=Google").Page("title:=Google").link("innerhtml:=Preferences").Click
Dim AllChkBoxes
Set AllChkBoxes=Browser("title:=Preferences").Page("title:=Preferences").ChildObjects(obj_DescChk)
msgbox AllChkBoxes.count

Can anybody correct the error
Reply


Messages In This Thread
how to count no of weblist on the page - by sudhirzpatil - 05-26-2009, 05:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,163 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
  QTP identifying WebList as WebEdit and an Element passion77 3 8,431 01-27-2014, 10:21 PM
Last Post: supputuri
  How to populate data in weblist using excel vijifun 1 3,298 12-05-2013, 12:06 PM
Last Post: basanth27
Exclamation Identify the WebList Unleash Rajesh 3 6,815 01-03-2012, 06:41 PM
Last Post: sundari_msls
  GWT Weblist Not Getting Detected in QTP 10 aravind07 0 2,548 11-25-2011, 09:48 AM
Last Post: aravind07

Forum Jump:


Users browsing this thread: 2 Guest(s)