Hi, If the row, cell or containing label or span has a particular ID, you could use IElement getElementByID(); otherwise you could use an XPath expression like //tab...@id=xxx]/tr[2]/td[2], etc.
Jevon On Fri, Aug 20, 2010 at 8:38 PM, Rajiv Abraham <rajiv.abra...@gmail.com>wrote: > Hi, My web page displays the following table( in an html format, but > simplified here). > > ItemId Item_Description Price Status > > ItemId_100 Item_Descr_COOKIE $68.00 Eligible > > ItemId_123 Item_Descr_RADIO $94.00 Eligible > > ItemId_300 Item_Descr_DIAPERS $54.00 Returned > > How do I use jwebunit to make an assertion that there is some row in this > table with ItemId=300 and status = "Returned" . That would in this case be > the third row in the table above. > > > -- > Thanks, > Rajiv > Nothing selected > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > JWebUnit-users mailing list > JWebUnit-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ JWebUnit-users mailing list JWebUnit-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-users