Feature Requests item #1234840, was opened at 2005-07-08 17:26
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1234840&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Martin Dirichs (dirichs)
>Assigned to: Julien HENRY (henryju)
Summary: free HttpUnitDialog.submitRequest to public

Initial Comment:
This is a very simple feature request: Please consider
declaring HttpUnitDialog.submitRequest(WebLink link)
public (or, at least, protected). Right at the moment
it is private which prohibits to selected an arbitrary
link on a web page.

  The problem I have (so that this issue occurred): I
have a page with several image links, all with the same
image src. It is possible to determine the correct link
instance of the n-th image link via methods provided by
HttpUnit. Now I would like to be able to simply follow
this link.

  Thanks in advance and merci for keeping up your
valuable work!

  Regards,

    Martin Dirichs.


----------------------------------------------------------------------

>Comment By: Julien HENRY (henryju)
Date: 2006-06-02 23:54

Message:
Logged In: YES 
user_id=1235926

Perhaps clickLinkWithImage(String imgHref, int index) will
do the trick. This method exists in IJWebUnitDialog, but is
no yet public in WebTestCase.

It's very easy.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1234840&group_id=61302


_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to