# Cannot merge outputs containing different root suites

**URL:** <https://forum.robotframework.org/t/cannot-merge-outputs-containing-different-root-suites/6981>\
**Category:** Robot Framework\
**Created:** [11 March 2024 10:30 UTC](https://forum.robotframework.org/t/cannot-merge-outputs-containing-different-root-suites/6981 "2024-03-11T10:30:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![camilb](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@camilb](https://forum.robotframework.org/u/camilb)\
**Post date:** [11 March 2024 10:30 UTC](https://forum.robotframework.org/t/cannot-merge-outputs-containing-different-root-suites/6981/1 "2024-03-11T10:30:17Z")

</div>

HI all,

haven’t found anything about merging outputs from different root suites - maybe someone can help.  
So i want to do a rebot --merge and i have 2 xml files from 2 different root suites. Now i see this error

`Cannot merge outputs containing different root suites`

From the first xml file i have this:

```
<suite id="s1" name="Robotframework" source="/opt/robotframework">
<suite id="s1-s1" name="Tasks" source="/opt/robotframework/tasks">

```

and the second xml file have this:

```
<suite id="s1" name="Tf-Mq">
<suite id="s1-s1" name="Tf-Mq" source="/opt/tf-mq">

```

Any ideas how to solve this?

Btw: I still use RF 6.1.1

Br,  
Camil

---

<div class="post-metadata">

**Author:** ![camilb](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@camilb](https://forum.robotframework.org/u/camilb)\
**Post date:** [11 March 2024 13:01 UTC](https://forum.robotframework.org/t/cannot-merge-outputs-containing-different-root-suites/6981/2 "2024-03-11T13:01:54Z")

</div>

solved:

I have to use the  
`--name "put your name here"`

into my robot command to set a common name for all my different suites

Br,  
Camil

---

<div class="post-metadata">

**Author:** ![camilb](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@camilb](https://forum.robotframework.org/u/camilb)\
**Post date:** [23 July 2024 20:07 UTC](https://forum.robotframework.org/t/cannot-merge-outputs-containing-different-root-suites/6981/4 "2024-07-23T20:07:38Z")

</div>

Hi,

well i asume you have multiple RF report files you want to merge using rebot - right?  
First you need to add the --name “here-is-your-name” to the "robot … " calls and NOT to “rebot” call.  
So you should do something like: robot --name “robotframework”

You should create for all your robot runs each an “xml” report file e.g. you should add ro your robot call this: --outputDir /opt/robotframework/reports --output test1.xml  
For your second robot you add: --outputDir /opt/robotframework/reports --output test2.xml

Now having 2 xml files you can you can use rebot with --merge like this:

rebot -o /opt/robotframework/reports/output.xml -l /opt/robotframework/reports/log.html -r /opt/robotframework/reports/report.html --merge /opt/robotframework/reports/test1.xml /opt/robotframework/reports/test2.xml

So the --name is only needed for “robot” not for “rebot”

Br,  
Camil
