robotframework - Error while trying to execute .robot file using robot.run -


i trying execute run_keyword.robot made ride file in directory 'robot' python interpreter , getting following error. able run .py file cmd without error , gives expected results. can reason this. newbie robot framework. please this.

from robot import run run(suite = 'robot') 

the error getting follows.

traceback (most recent call last):   file "c:\users\uvijayac\desktop\robot\rf.py", line 27, in <module>     run_tests()   file "c:\users\uvijayac\desktop\robot\rf.py", line 23, in run_tests     report=report_file)   file "c:\python27\lib\site-packages\robot\run.py", line 471, in run     return robotframework().execute(*datasources, **options)   file "c:\python27\lib\site-packages\robot\utils\application.py", line 83, in execute     return self._execute(list(arguments), options)   file "c:\python27\lib\site-packages\robot\utils\application.py", line 89, in _execute     return self._report_error(unicode(err), help=true)   file "c:\python27\lib\site-packages\robot\utils\application.py", line 110, in _report_error     self._logger.error(message)   file "c:\python27\lib\site-packages\robot\output\loggerhelper.py", line 59, in error     self.write(msg, 'error')   file "c:\python27\lib\site-packages\robot\output\loggerhelper.py", line 62, in write     self.message(message(message, level, html))   file "c:\python27\lib\site-packages\robot\output\logger.py", line 109, in message     logger.message(msg)   file "c:\python27\lib\site-packages\robot\output\monitor.py", line 66, in message     self._writer.error(msg.message, msg.level, clear=self._running_test)   file "c:\python27\lib\site-packages\robot\output\monitor.py", line 142, in error     self._highlight('[ ', level, ' ] ' + message, error=true)   file "c:\python27\lib\site-packages\robot\output\monitor.py", line 158, in _highlight     self._write(before, newline=false, error=error)   file "c:\python27\lib\site-packages\robot\output\monitor.py", line 154, in _write     stream.flush() ioerror: [errno 9] bad file descriptor >>>  


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -