Skip to content

TextFields with "onChange" js-event needs to be filled twice to values be available #129

@Hi-Fi

Description

@Hi-Fi

Environment: Wicket-based form, which validates text inputs
Problem: When "Input text" is ran first time, it empties the field (and value attribute), and causes event to fire (at this case submitting the form). When (in same command from Robot Framework) command tries to add text, it can't find element anymore.

Workaround is to make Input text first inside "Run keyword and ignore error", but this just seems quite stupid way (plus it generates extra screenshot/page source in log).

Second time the event isn't fired, which causes need for following action to be performed twice (first launches the event, and second time puts the correct value to dropdown's selected).

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