Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to count no of weblist on the page
#8
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi

Try the below script....It would fetch the checkbox count

Code:
Browser("Google").Page("Google").Link("Preferences").Click
Set obj_ChkDesc = Description.Create
obj_ChkDesc("html tag").value = "INPUT"
obj_ChkDesc("type").value = "checkbox"
Set AllChkBoxes = Browser("Google").Page("Google").ChildObjects(obj_ChkDesc)
msgbox AllChkBoxes.count

Thanks
Reply


Messages In This Thread
RE: how to count no of weblist on the page - by QTPgrd - 07-06-2009, 06:47 PM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)