Bugs item #3166974, was opened at 2011-01-28 12:31 Message generated for change (Tracker Item Submitted) made by n116373 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3166974&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: HtmlUnit plugin Group: Release 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Harri (n116373) Assigned to: Nobody/Anonymous (nobody) Summary: HtmlUnitTestingEngineImpl.getSubmitButton() fails with Ajax Initial Comment: If page opens dialog form (e.g. confirm window) with Ajax, HtmlUnitTestingEngineImpl.getSubmitButton(buttonName) does not find the submit button. I don't exactly know what current form member field means here, but if I set it to null in debugger, the requested button is found after getCurrentPage.getForms(). So the method should first check, if button is found in current form, and then if it is found in other forms on the page. getTextFieldValue(paramName) works this way, for example. I guess the workaround would be using setWorkingForm(). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3166974&group_id=61302 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ JWebUnit-development mailing list JWebUnit-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-development