Hello rsaxena,
we do support any kind of Junit report even the one generated by the robot framework
Create your own parser by running this API
Method :- POST
End point :- /flex/services/rest/latest/parsertemplate
Request Body :-
{
"name": "robot",
"jsonTemplate": "[{\"statuses\":[{\"statusId\":\"2\",\"attachmentText\":\"Name: ${robot.suite.suite.test:name} \\nResult: ${robot.suite.suite.test.status:status} \\nMessage: ${robot.suite.suite.test.status}\",\"status\":\"${robot.suite.suite.test.status:status}\",\"statusString\":\"FAIL\"},{\"statusId\":\"1\",\"attachmentText\":\"Classname: ${robot.suite.suite:name} \\nTestcaseName: ${robot.suite.suite.test:name} \\nResult: ${robot.suite.suite.test.status:status}\",\"default\":true}],\"skipTestcaseNames\":\"\",\"packageName\":\"${robot.suite.suite:name}\",\"testcase\":{\"name\":\"${robot.suite.suite.test:name}\"},\"strict\":true}]"
}
Let me know if the above work for you
Thanks
Govind
govinddroliaIt is giving me parser error. I generated a robot framework output.xml file and used this template in my Vortex job, but it is giving me parser error. My XML file has the following structure:
Suite
- Suite
- Suite
- Suite
- Suite
and so on..
Related Content
- 2 years agoJohnThompson
- 2 years agovericomms
- 3 years agoMoUddin