GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  QTP

 Print  |  
Question:  how to check how many web tables are there in a webpage?



September 09, 2008 10:52:25 #1
 akothuru   Member Since: April 2008    Total Comments: 49 

RE: how to check how many web tables are there in a webpage?
 

Set oDesc = Description.Create()
oDesc("html tag").Value = "TABLE"

' Get a collection of webtable
Set oCollection = Browser(“name:=test”).Page(“title:=test”).ChildObjects(oDesc)
webTableCnt = oCollection.Count-1


     

 

Back To Question