Search code examples
robotframeworktextfieldwait

Robot Framework - Wait until a form textfield contains text


For my tests I need to wait until a form textfield is filled with text and I want to check that text. It's a address form which automatically fills the street and city based on postalcode.

Using "Wait until element contains" does not work for me and I want to avoid using a sleep and then use "textfield should contain" because of variable timings.

Thanks!


Solution

  • I ended up using this, with the help of @Todor:

    Wait Until Keyword Succeeds    1min    1s    Textfield Should Contain    Fieldname    Value