[JWebUnit-development] [ jwebunit-Bugs-3590254 ] getSubmitButton doesn't recognise button elements
Brought to you by:
henryju
|
From: SourceForge.net <no...@so...> - 2012-11-27 02:44:23
|
Bugs item #3590254, was opened at 2012-11-26 18:44 Message generated for change (Tracker Item Submitted) made by skaffman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3590254&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.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Kenny MacLeod (skaffman) Assigned to: Nobody/Anonymous (nobody) Summary: getSubmitButton doesn't recognise button elements Initial Comment: The getSubmitButton(buttonName) method of HtmlUnitTestingEngineImpl has some logic in it to recognise buttons of the form: <button type="submit" name="xyz"> However, this logic is never called, since the method only considers elements of the form: <input type="submit" name="xyz"> Attached is a patch which will allow button elements to be considered. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3590254&group_id=61302 |