Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to identify dynamic webtable as unique in QTP?
#5
Not Solved
try this code

Code:
Browser("Point").Sync
' WebTable
Obj = Browser("Point").Page("VBScript Decisions").WebTable("Statement")
' Fetch RowCount
x = Obj.RowCount
print x

' Fetch ColumnCount
y = Obj.ColumnCount(1)
print y

' Print the Cell Data of the Table
For i = 1 To x Step 1
   For j = 1 To y Step 1
      z = Obj.GetCellData(i,j)
      print "Row ID : " & i & " Column ID : " & j & " Value : " & z
   Next
Next

'Fetch the Child Item count of Type Link in a particular Cell
z = Obj.ChildItemCount(2,1,"Link")
print z
Reply


Messages In This Thread
RE: How to identify dynamic webtable as unique in QTP? - by vinod123 - 02-23-2016, 06:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to identify a Dynamic WebElement? PreethiJoshi 1 5,183 05-03-2018, 04:08 PM
Last Post: Ankur
  Link in a webtable in a webtable Soulwalker 1 2,705 07-19-2017, 01:44 PM
Last Post: Ankur
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,643 06-13-2014, 04:27 PM
Last Post: vinod123
  QTP Unable to differentiate WebTable in Application - Solved EnthusiasticLearner 3 6,025 12-27-2013, 12:26 PM
Last Post: EnthusiasticLearner
  How to identify HTML tables developed with DIV and SPAN tags as 'WEBTABLE'? bell.ramesh 1 4,007 08-20-2012, 11:07 AM
Last Post: Victor~

Forum Jump:


Users browsing this thread: 1 Guest(s)