Friday, April 27, 2007

Input Japanese with WATIR

One more tip. You better use
$ie.text_field(:name,'txtPcode').value = 'KANJI'
instead of
$ie.text_field(:name,'txtPcode').set('KANJI')

TextField#set method fails on japanese characters.

No comments: