Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie: How do i count through a webtable to find an entry?
#3
Solved: 10 Years, 9 Months, 1 Week ago
Hi,

If you want to check the existance of the specific data in the webtable you can use the "GetRowWithCellText" method which will retrive the row number where the data is displayed.

Code:
For intSearchColumn= 1 to Browser().Page().Frame().WebTable().ColumnCount(1)
  IntRowNum = Browser().Page().Frame().WebTable().GetRowWithCellText("10337893",intSearchColumn)
  If IntRowNum > 1 Then
   msgbox "Data found in Column : " & intSearchColumn & " Row : " & IntRowNum
   Exit For
  End If
Next

Please let me know if you need any more information.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: Newbie: How do i count through a webtable to find an entry? - by supputuri - 08-24-2010, 09:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Excelsheet data entry Anshu 0 1,514 07-11-2017, 07:41 PM
Last Post: Anshu
  Entry Certification diya 3 2,613 12-04-2012, 05:42 AM
Last Post: diya
  WebTable..Row and Column Count Brian T. 10 72,179 03-16-2012, 04:45 PM
Last Post: Teju
Toungue How to figure out how to use my count to correctly find the requiered link mv8167 2 2,640 08-24-2011, 09:39 PM
Last Post: mv8167
  Getting WebTable Count akapoor 3 4,645 03-21-2011, 11:33 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)