Comment #2 on issue 656 by renxingwei: How to deal with the error
named "UnicodeEncodeError"?
http://code.google.com/p/robotframework/issues/detail?id=656
this phenomena would happen not every time in test teardown with script
below
"wait until page contains element
//table//tbody/tr/td[contains(text(),'${ipadd}')]/following-sibling::td/i...@alt='发
现完成'] 10 s"
output is here
"<kw type="kw" name="SeleniumLibrary.Wait Until Page Contains Element"
timeout="">
<doc>Waits until element specified with `locator` appears on current page
or `timeout` expires.</doc>
<arguments>
<arg>//table//tbody/tr/td[contains(text(),'${ipadd}')]/following-sibling::td/i...@alt='发
现
完成']</arg>
<arg>10 s</arg>
</arguments>
<msg timestamp="20100913 18:07:20.157" level="TRACE">Arguments: [
u"//table//tbody/tr/td[contains(text(),'129.29.61.245')]/following-sibling::td/i...@alt='\u53d1\u73b0\u5b8c\u6210']"
| u'10 s' ]</msg>
<msg timestamp="20100913 18:07:30.236" level="DEBUG">Parsed
locator '//table//tbody/tr/td[contains(text(),'129.29.61.245')]/following-sibling::td/i...@alt='发
现完成']' to search
expression '//table//tbody/tr/td[contains(text(),'129.29.61.245')]/following-sibling::td/i...@alt='发
现完成']'</msg>
<msg timestamp="20100913 18:07:30.236"
level="FAIL">Element '//table//tbody/tr/td[contains(text(),'129.29.61.245')]/following-sibling::td/i...@alt='发
现完成']' did not appear in '10 s'</msg>
<msg timestamp="20100913 18:07:30.236" level="DEBUG">Traceback (most recent
call last):
File "C:\Python26\lib\site-packages\SeleniumLibrary\javascript.py", line
187, in wait_until_page_contains_element
utils.timestr_to_secs(timeout), error)
File "C:\Python26\lib\site-packages\SeleniumLibrary\javascript.py", line
150, in _wait_until
raise AssertionError(error)</msg>
<msg timestamp="20100913 18:07:30.236" level="TRACE">Return: None</msg>
<status status="FAIL" endtime="20100913 18:07:30.236" starttime="20100913
18:07:20.157"></status>
</kw>"