# Getting below error message while trying to execute parallel testing using pabot

**URL:** <https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236>\
**Category:** Robot Framework\
**Created:** [30 April 2024 11:56 UTC](https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236 "2024-04-30T11:56:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbhishekNema](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@AbhishekNema](https://forum.robotframework.org/u/AbhishekNema)\
**Post date:** [30 April 2024 11:56 UTC](https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236/1 "2024-04-30T11:56:40Z")

</div>

**Command Used**  
pyhton -m pabot.pabot --processes 2 --outputdir Results 2 Test\*.robot  
**Error Message**  
2024-04-30 17:21:43.805198 [PID:31384] [0] [ID:0] EXECUTING Nitori  
2024-04-30 17:21:44.095085 [PID:31384] [0] [ID:0] Execution failed in Nitori with 1 failing test(s)

‘robot’ is not recognized as an internal or external command,  
operable program or batch file.

# WARN: No output files in “Results2\pabot\_results” 0 tests, 0 passed, 0 failed, 0 skipped.

Output:  
[ERROR] Reading XML source ‘’ failed: No such file or directory

Try --help for usage information.  
Total testing: 0.20 seconds  
Elapsed time: 0.38 seconds

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [30 April 2024 12:09 UTC](https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236/2 "2024-04-30T12:09:11Z")

</div>

You need to install `robot`:

```python
python -m pip install robotframework

```

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [30 April 2024 12:24 UTC](https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236/3 "2024-04-30T12:24:13Z")

</div>

@HelioGuilherme66

Pabot does have install dependency for rf \> 3.2 or something similar so there definitely should be robot executable but …

On certain sort of environments (like finance) - creating / installing executables at install time like pip does be disabled. Pabot 100% relies on these executables to be present _and_ if they are not, pabot execution will fail. As alternative, pabot should get it’s interpreter and call that external robot with `python -mrobot.run ...` but there’s no such code in pabot. Only way to get this working is to patch few files in pabot manually

---

<div class="post-metadata">

**Author:** ![AbhishekNema](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@AbhishekNema](https://forum.robotframework.org/u/AbhishekNema)\
**Post date:** [3 May 2024 06:24 UTC](https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236/4 "2024-05-03T06:24:57Z")

</div>

I did but still it is not working

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [3 May 2024 06:59 UTC](https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236/5 "2024-05-03T06:59:25Z")

</div>

1. your PATH environment does not contain Scripts folder so any executables generated when python packages are available by default. How to fix, depends on how/where your python is installed. Easiest way would be to utilize virtual env of your choice.
2. [Pabot relies on python generated executable when spawning instance of robot framework · Issue #578 · mkorpela/pabot · GitHub](https://github.com/mkorpela/pabot/issues/578) - I’ve had this on local bank where i was doing qa consultation…

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [22 May 2024 22:32 UTC](https://forum.robotframework.org/t/getting-below-error-message-while-trying-to-execute-parallel-testing-using-pabot/7236/6 "2024-05-22T22:32:30Z")

</div>

Made a patch against pabot to fix the issue i described earlier; [use sys.executable to run robot by rasjani · Pull Request #584 · mkorpela/pabot · GitHub](https://github.com/mkorpela/pabot/pull/584)
