Hi Jan,

I have traversed the table using its index. Please have a look at the code below:

count = 1
 array_index = 1
 actual_array = [20]
 while count < 11
 actual_array[array_index]=ie2.table(:index, "4")[count][2].text
 actual_array[array_index+1]=ie2.table(:index, "4")[count][4].text  
 array_index +=2
 count +=1
 end

Hope this helps.

Regards,

Vishal

--- <[EMAIL PROTECTED]> wrote:

From: <[EMAIL PROTECTED]>
Date: Mon, 14 Nov 2005 11:26:59 +0800
To: <[email protected]>
Subject: [Wtr-general] traversing through tr's and td's

How do I traverse through a series of tr's and td's?
And consequently finding the content (inner text) of this tag: <td nowrap class='tableContentBL'>107-0052</td> ?

Many instances of that class exists, and it's not unique.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


 

Join SQAtester.com Community ---> http://www.sqatester.com/testersarea/joinus.htm
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to