robotframework-androidlibrary
robotframework-androidlibrary copied to clipboard
Set Text adds text, does not set value of field
When using Set Text on a field for my app I found that Set Text actually adds to the text and does not replace it as I had thought.
Example:
Test 1
Set Text 1 Bob
Set Text 2 Smith
Test 2
Set Text 1 Bill
Set Text 2 James
The above will result in the following:
After Test 1:
Field 1: Bob
Field 2: Smith
After Test 2:
Field 1: BobBill
Field 2: SmithJames
If this is normal behavior please disregard and let me know how to blank those fields.
Thanks.
Workaround:
To blank a text field use:
Set Text 1 ${EMPTY}