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

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
JWebUnit-development mailing list
JWebUnit-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to