Old value not cleared

After converting our app from 7.23.19 to 8.12.5, we discovered an issue between our automated testing tool Robot Framework and Mendix. When Robot Framework wants to clear an input field and fill it with a new value, the new value does not replace the old one, but gets attached to the end of it. The CLEAR command from Robot Framework clears the field visually, but somehow the old text still remains and shows up in the field when the testing tool starts typing. Any suggestions?  Old html: <input class="form-control" type="text" placeholder="" maxlength="64" id="mxui_widget_TextInput_14" data-mendix-id="55_185" focusindex="0" widgetid="mxui_widget_TextInput_14" style=""> New html: <input id="55.ModuleName.PageName.textBox5.230_smo_5661" class="form-control" type="text" maxlength="64" mask="" autocomplete="on" value="AddressStreet 1 ">   Setting autocomplete to OFF didn't resolve the issue. The test uses the selenium library command “input text”, which has a parameter to clear the existing value. Normally, the clearing worked. With 8.12.5, it seems not be working anymore. 
2 answers

Issue persists on Mendix 9. I am on 9.6.6 and still encounter this problem.

Did you issue a support ticket already?

I'd like to add that even with Javascript inside of the chrome console you cannot set an input value to something else. Seems like the value has a hard connection with the database value instead of the frontend


Hi Tom,


Yes, we did issue a support ticket a year ago, and we received a workaround from Mendix:


“Replacing the command 
.send_keys(Keys.CONTROL, "a", Keys.DELETE)

There was indeed a big technical change for the textbox in Mendix 8, as the textbox is now react-based.”