How to retrieve a WebTable from within a WebForm
"O'Halloran, Leonard" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <AE2C703734684644A876D5475198D837671B73@MSGGALCLA2WIN.DMN1.FMR.COM> |
Hi guys, I was wondering if someone could tell me what might be the best way to retrieve a table that sits inside a form. I have a very large html document and I want to get direct access to a particular table but I cannot use the standard methods on WebResponse because the table has neither a Name nor Id. Also I cannot use the getTableStartingWithPrefix <http://httpunit.sourceforge.net/doc/api/com/meterware/httpunit/WebResponse. html> method as the content of the first cell will constantly vary. The table sits within a Form which has an Id so I can retrieve the Form but the WebForm API has no methods to access a Table sitting within a Form. Is it the case that I will need to convert the contents of the form to a String and do some string searching/parsing or is there a smarter way to access the Table contents?. Thanks, L ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop