Hi,
Im trying to click
on a specific row in a html table however WATIR is unable to find the table with
the specified name and I get the following message
Watir::Exception::UnknownTableException: Unable to locate a table using name
and tblGrid
This is how I define
the function for accessing this specfic row
def
test_get_rowvalues_full_row
assert_equal(["EditTest", "Administrator", "Gold", "E-mail","Yes"], $ie.frame("Main").frame("frmSLA").frame("ifrAgreements").table(:name, "tblGrid").row_values(1))
$ie.frame("Main").frame("frmSLA").frame("ifrAgreements").table(:name,"tblGrid")[1][1].click
assert_equal(["EditTest", "Administrator", "Gold", "E-mail","Yes"], $ie.frame("Main").frame("frmSLA").frame("ifrAgreements").table(:name, "tblGrid").row_values(1))
$ie.frame("Main").frame("frmSLA").frame("ifrAgreements").table(:name,"tblGrid")[1][1].click
end
and I later on call
this function by doing test_get_rowvalues_full_row ( )
any help would be
greately appreciated...
thank you
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
