Bugs item #3578888, was opened at 2012-10-21 03:49 Message generated for change (Tracker Item Submitted) made by imaixner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3578888&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 3.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ivo Maixner (imaixner) Assigned to: Nobody/Anonymous (nobody) Summary: submit() method does not find button tags Initial Comment: Using version 3.0. I have a form with <button type="submit">Label</button>. The submit() method throws exception "No submit button found in current form." I expect the bug is on line 1516 in net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl: Object[] inpt = getForm().getHtmlElementsByTagName("input").toArray(); It only looks up <input> elements. On line 1527, however, it tries to check if it is <button> element, but I can never be, since it was not looked up in the first place. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3578888&group_id=61302 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ JWebUnit-development mailing list JWebUnit-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-development