Bugs item #980105, was opened at 2004-06-25 21:03 Message generated for change (Comment added) made by jimweaver You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=980105&group_id=61302
Category: None Group: Release 1.2 >Status: Pending >Resolution: Fixed >Priority: 2 Submitted By: Jacques Morel (jacmorel) >Assigned to: Jim Weaver (jimweaver) Summary: Cannot extend HttpUnitDialog to create custom clickLink Initial Comment: HttpUnitDialog does not allow to create custom clickLink. I am trying to do a clickLink that can locate a link with html body, so links like <a href=#"><em>A</em>dd project</a> can be found by their full html body (here "<em>A</em>dd project") and be clicked on. For this I need to locate the WebLink myself and then click it. Unfortunately I can click the link but I cannot change "resp" in the dialog. So for the dialog I haven't clicked anything ;-( So please make resp or submitRequest() protected. ---------------------------------------------------------------------- >Comment By: Jim Weaver (jimweaver) Date: 2004-09-13 17:30 Message: Logged In: YES user_id=619947 OK - have done, will be in next release. This approach to finding a link seems pretty painful though ;-). Is it a third-party app you are testing? If it's an app under your control, I'd advise using an id to access links rather than link text or full html body. ---------------------------------------------------------------------- Comment By: Jacques Morel (jacmorel) Date: 2004-06-25 21:09 Message: Logged In: YES user_id=149446 I just realize I am extending WebTester not HttpUnitDialog. So either be able to 1. inject a custom dialog into a custom WebTester (constructor arg or setter) and make HttpUnitDialog.resp settable by derived class or 2. have a public "resp" setter in the HttpUnitDialog. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=980105&group_id=61302 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Jwebunit-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jwebunit-development
