======================================================================
ERROR: testScript (__main__.MechTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/testgen/handler.py", line 112, in testScript
  File "build/bdist.linux-i686/egg/testgen/handler.py", line 31, in process
  File "build/bdist.linux-i686/egg/testgen/mechunit.py", line 87, in click
  File "build/bdist.linux-i686/egg/testgen/parser.py", line 169, in getLinkName
  File "build/bdist.linux-i686/egg/testgen/parser.py", line 166, in getLinkPath
  File "build/bdist.linux-i686/egg/testgen/parser.py", line 120, in _getSubPath
  File "build/bdist.linux-i686/egg/testgen/parser.py", line 29, in 
stringifyTokens
UnicodeEncodeError: 'ascii' codec can't encode characters in position 23-24: 
ordinal not in range(128)

To correct this error in unicode

TestGen4Web-Python-0.2 
Firefox 2.0.0.11 PT-BR UTF-8
Debian Etch

XML generated with TestGen4Web

<?xml version='1.0' encoding='UTF-8'?>
<tg4w version="0.50.2">
    <datasets>
    </datasets>
    <actions>
        <action type="goto" refresh="." window="." step="0">
            <xpath><![CDATA[window.location.href]]></xpath>
            <value><![CDATA[http://www.google.com.br/]]></value>
        </action>
        <action type="verify-title" window="." step="1">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Google]]></value>
        </action>
        <action type="fill" window="." step="2">
            <xpath><![CDATA[*/[EMAIL PROTECTED]"f"]/*/[EMAIL 
PROTECTED]"q"]]]></xpath>
            <value><![CDATA[linux]]></value>
        </action>
        <action type="click" refresh="." window="." step="3">
            <xpath><![CDATA[*/[EMAIL PROTECTED]"f"]/*/[EMAIL PROTECTED]"btnG" 
and @VALUE="Pesquisa Google"]]]></xpath>
            <value><![CDATA[btnG]]></value>
        </action>
        <action type="verify-title" window="." step="4">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[linux - Pesquisa Google]]></value>
        </action>
        <action type="click" refresh="." window="." step="5">
            <xpath><![CDATA[*/[EMAIL PROTECTED]"NoticiasLinux.com.br - - 
Notícias do Mundo GNU\ Linux"]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="6">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[NoticiasLinux.com.br - - Notícias do Mundo 
GNU/Linux]]></value>
        </action>
    </actions>
</tg4w>

Thanks!!!




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=14941#14941

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to