Skip to content

Submit Form keyword doesn't submit the form #144

Description

@finspin

Selenium2Library 1.1.0
Robot Framework 2.7.5 (Python 2.7.3 on linux2)
Browser: Firefox 16.0.2

When I run keyword 'Submit Form id=ingr-form' where ingr-form is the id of the form element, RF reports the keyword as passed but the form is not submitted.

When I instead use keyword 'Click Button name=ingrForm' to submit the form, the form is successfully submitted.

Here is the form's HTML code:

<formid="ingr-form" method="post" action="/"><p><labelfor="id_ingr-name">Name:</label><inputtype="text" maxlength="30" name="ingr-name" id="id_ingr-name"></p><p><labelfor="id_ingr-category">Category:</label><selectid="id_ingr-category" name="ingr-category"><optionselected="selected" value="">---------</option><optionvalue="1">Value 1</option><optionvalue="2">Value 2</option></select></p><inputtype="submit" value="Save" name="ingrForm"></form>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions