Forum Discussion
When the script is working outside of TestComplete are you running it in a python 2.x instance? As you might already know TestComplete uses python 3.x, and from looking at the subprocess docs it seems a couple things changed between the versions. Probably isn't what's causing the issue, but figured I'd mention it. I wouldn't know what else would cause the issue, I haven't used the subprocess module in TestComplete before. All the other standard python modules have worked without a problem for me.
- baxatob9 years agoCommunity Hero
Hi,
All third party python modules should be stored here:
\\Program Files (x86)\SmartBear\TestComplete 11\Bin\Extensions\Python\Python34\Lib\site-packages
UPD. Ups, sorry, I have not got you are using Linux. Moreover the subprocess is a native module and it should works. Leastwise it works on my side.
However try to use backslashes in the path:
COMMAND="\\tmp\\MyScript"
Related Content
- 2 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago