Cannot type in chinese character

When I type in input element with text in chinese characters like “一二三”, it will erase the input, so I cannot submit. How to handle this situation?


With JavaScript (e.g. executeScript), maybe. Testscript is very helpful.

Thanks, But it does’t work. I use command “executeScript | var cName=‘一二三’;return cName; | instanceName” to store the chinese characters in variable instanceName, and use command "type | name=instanceName | ${instanceName} " to type in input, But it still erase the input.

It is normal (by design) that the Selenium IDE TYPE command erases the input, this is not related to using Chinese. If you just want to add some text to a box, then use the method described here: