weixin_39747383 2020-11-19 12:24
浏览 0

Document that running tests does not work if `C:\Python27\Scripts` is in PATH with quotes

Originally submitted to Google Code by srib4uf... on 21 Jan 2013

Defect Explanation:

when clicked on Run button in RIDE i am getting the below error. "[Error 2] The system cannot find the file specified"

The exact RIDE output looks as below: command: pybot.bat --argumentfile c:\users\sreedhar.r\appdata\local\temp\RIDE1auhjl.d\argfile.txt --listener C:\Python27\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:52938 C:\Users\sreedhar.r\Desktop\ROBOTPrerequisites\AndroidAutomation\apidemos\apidemos.txt [Error 2] The system cannot find the file specified

But when i run the same command in command CMD prompt, the test case is running fine. pybot.bat --argumentfile c:\users\sreedhar.r\appdata\local\temp\RIDE1auhjl.d\argfile.txt --listener C:\Python27\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:52938 C:\Users\sreedhar.r\Desktop\ROBOTPrerequisites\AndroidAutomation\apidemos\apidemos.txt

so, it seems like RIDE is having problem to run this.

Expected result:

RIDE should run the test case as the test case is running without errors in CMD prompt

Actual Result:

"[Error 2] The system cannot find the file specified"

Python Version : Python 2.7.3. RIDE Version: RIDE 1.0.1 ROBOT Framework Version: Robot Framework 2.7.6 (Python 2.7.3 on win32) Operating system : Windows 7 Enterprise Service Pack 1

  • 写回答

15条回答 默认 最新

  • weixin_39747383 2020-11-19 12:24
    关注

    Originally submitted to Google Code by srib4uf... on 21 Jan 2013

    I am getting a small error Dialog window with Title: Error Description[With Red Colour wrong Icon] : Could not start running tests.

    I am not running any tests. To make sure i restarted my machine and then ran the test from RIDE still i am getting the same error. But when i run from CMD line i am not getting any error. the test cases are running fine.

    评论

报告相同问题?