This is how it looks to me: 

Watir contains a Table object, whose [n](where n is an index) returns a row,
whose [n](where n is an index) returns the cell in the nth column.  Then you
can use clip.rb (at http://segment7.net/projects/ruby/snippets/clip.rb) or
something of its ilk to copy the data to the clipboard.

HTH,

---Michael B.  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boyt, Darrel
Sent: January 17, 2006 4:21 PM
To: WATIR mailing list
Subject: [Wtr-general] Selecting a table cell

I want to select a cell in a table and copy it to the clipboard.  I know
I can use send_keys("^a^c") to have AutoItX select an entire page and
copy it to the Windows clipboard, but I want just one cell in a table
copied.  Any idea how to do this????

Thanks,
 
Darrel Boyt
Systems Analyst
Anteon Corporation
Montgomery, Alabama


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

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

Reply via email to