Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
does WebTable Object provides a method to get column number
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
Umer,
My 2 cents would you be to ask not to use getrowwithcelltext as the only option. In a webtable if you have rows with data which are duplicate then you will get the data of the first one and not the second one.

IF i were you then i would do the below,

1. Get the Row Count.
2. Get the Column Count
3. Loop through the Rows & columns using the GetCelldata(r, c).
4. From the CellValue obtained match it against the value you need.
5. Report Pass
5. Exit the Loop at that point.
6. If not found Report Fail.

Go ahead and write the code based on the above logic and you will get what you need.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: does WebTable Object provides a method to get column number - by basanth27 - 12-09-2009, 11:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object doesn't support this property or method takecharge 1 1,566 11-13-2019, 10:05 PM
Last Post: stormbringer
  Link in a webtable in a webtable Soulwalker 1 2,846 07-19-2017, 01:44 PM
Last Post: Ankur
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,690 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  Fetching total number of records inside a webtable vidya2k2 2 3,899 06-15-2015, 02:55 PM
Last Post: venkatesh9032
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,888 06-13-2014, 04:27 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)