Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetCellData() method ???
#4
Not Solved
Interesting. I sense you are very interested to learn, and so, I am gonna do one better for you Smile

Here is a better way to approach a table,

1. Find out the total number of rows
2. Find out the total number of columns
3. Use a loop to iterate the entire table and fetch the data.

I know it sounds stupid with 3 steps, but here is what i meant,
Code:
For i = 0 to Rowcount
For j = 0 to ColumnCount
    Text = Browser("Find a Flight: Mercury").Page("Book a Flight: Mercury").WebTable("First Name:").GetCellData(i, j)
Next
Next

This is only a structural representation. Although, i could write the answer out, i would encourage you to pick the clues i gave and find what you need Smile

Good luck !!

"Give a fish to a man and you feed him for a day, Teach a man to fish and you feed him for Life !!!"
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
GetCellData() method ??? - by sumit_sehgal21 - 04-17-2013, 10:55 AM
RE: GetCellData() method ??? - by basanth27 - 04-17-2013, 11:22 AM
RE: GetCellData() method ??? - by sumit_sehgal21 - 04-17-2013, 04:02 PM
RE: GetCellData() method ??? - by basanth27 - 04-18-2013, 07:02 AM
RE: GetCellData() method ??? - by sumit_sehgal21 - 04-19-2013, 04:13 PM
RE: GetCellData() method ??? - by basanth27 - 04-22-2013, 07:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GetCellData not implemented aranucci 4 6,802 01-08-2014, 03:42 PM
Last Post: aranucci
  error whith getcelldata within actxtable frebuffi 1 2,952 02-27-2013, 03:03 PM
Last Post: Munna.Sarfraz
  GetCellData mv8167 8 18,091 03-01-2012, 10:33 AM
Last Post: inborntester
  Rowcount: getcelldata : compare : click on true result. Please help shamak 1 5,261 02-16-2011, 10:49 AM
Last Post: basanth27
Question RE: Webtable - GetCellData to LocalSheet - another question boludes 3 4,234 01-25-2011, 07:46 PM
Last Post: boludes

Forum Jump:


Users browsing this thread: 1 Guest(s)