Re: [Wtr-general] How to click a row from table in webpage

2007-07-12 Thread SHALINI GUPTA
this is the HTML of that table... table class=DataTable cellspacing=0 tbody tr id=m3236 class=RowHeaderStyle th class=Value Object/Context /th th class=Hide CAST Maintainability /th th class=Value CAST Maintainability /th th class=Hide Variation /th th class=Value Variation /th th class=Value/

Re: [Wtr-general] How to click a row from table in webpage

2007-07-12 Thread Jason
Please tell me how to click a column of a row of a web page. What exactly do you want to click? If it's the specific hyperlink you've provided, you can do a couple of things: ie.link(:url, /snapshot=2treeobject=12507object=12507/).click ie.link(:text, New applicationTEST2).click ... etc,

Re: [Wtr-general] How to click a row from table in webpage

2007-07-12 Thread Cain, Mark
First off, Tables currently support only two attributes in Watir 'id' and 'index'. Since the Table in your does not use the 'id' attribute you must supply the proper index. To identify what is the proper index for this particular table do a 'View Source' on the web page you want to use. Do a

Re: [Wtr-general] How to click a row from table in webpage

2007-07-12 Thread Cain, Mark
sorry sent it by mistake before i was done... Third, the two sets of brackets are column and row respectively so count the 'tr' tags (also 1-based) until you get to the desire column and then count the 'td' begining at the desired column (tr tag) until you get to the desired row (also 1-based).