[Ironpython-users] Use 'ipy.exe' to run tests in Robot framework

Harshal Marne hmarne at gmail.com
Tue May 6 15:31:00 CEST 2014


Setup details:
System: windows 2008
Robot framework: 2.8.4
Python 2.7.6
IronPython 2.7

Task:
To run tests based on (.dll created out of c# code) as described in
https://code.google.com/p/robotframework/wiki/HowToUseCSharp

Issue:
  File "C:\Python27\Lib\site-packages\robot\utils\__init__.py", line 44, in
<module>
  File "C:\Python27\Lib\site-packages\robot\utils\etreewrapper.py", line
46, in <module>
ImportError: No valid ElementTree XML parser module found
Press any key to continue . . .

Work-around tried:
As described in
https://code.google.com/p/robotframework/issues/detail?id=154 copied
https://svn.code.sf.net/p/fepy/code/trunk/lib/pyexpat.py and placed it
in C:\Program Files (x86)\IronPython 2.7\Lib as expat.py

Queries:
1) Is the fix in workaround being tried is correct or not?
2) If not does any idea if this issue (
http://ironpython.codeplex.com/workitem/31923, 21047 ) will get fixed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140506/49f3051b/attachment.html>


More information about the Ironpython-users mailing list