Hi,

I am a new user of jwebunit (about 2.5 days), and I would first like to
thank you for your work--the interface is a pleasure to work with.

I am trying to test a database-entity administration page (list, view, edit,
delete):

entity a       edit - delete
entity b       edit - delete
entity c       edit - delete
entity d       edit - delete
entity e       edit - delete

To click on d's edit link, how would I do so?

I am currently trying this and failing:
assertTextPresent("entity d");
clickLinkWithText("edit");

Is there a "standard" way to do this?  I'm thinking of getting the source
code and counting the number of entities to call clickLinkWithText("edit",
n), but I'm wondering if there is something simpler...

Thank you,

-- Dan Kigelman
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to