-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Support messages directly under test in output.xml #3762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The reason for this behavior is that Robot itself cannot create output.xml where The schema clearly doesn't match the reality at the moment. If we don't change the implementation, then the schema needs to be updated. It needs to be updated in the very near future anyway (#3726). |
Hi @pekkaklarck , I checked on my end and it seems that |
Certainly nobody currently uses |
The use case is marginal. We create an output.xml manually and use rebot to create a nice report out of it. |
Thanks for the update @karkusviktor! I agree the schema being wrong is the bigger problem here. That said, I think supporting messages directly under test is a good idea for these two reasons:
|
Running rebot aginst the following xml results in "failed: Incompatible XML element 'msg'." error message
It only works of the msg under test tag is removed even though it is valid according to the schema:
robotframework/doc/schema/robot-xsd10.xsd
Lines 31 to 43 in 6d90c19
robotframework/doc/schema/robot-xsd11.xsd
Lines 31 to 43 in 6d90c19
The text was updated successfully, but these errors were encountered: