Test Execution Result Custom HTML
I have a custom testing tool that run via an external means and sends its output to a database.
I need to get this data in to RQM 4.0. My current idea is to render it to RQM friendly HTML and attach it as a test execution record/result. As a result, I have some questions about the <qm:executionResult> element in the API (https://jazz.net/products/rational-quality-manager/api-doc-4.0/api-files/schemas/qm_xsd/elements/executionresult_2.html). 1. It has a section (<er:stepResults>) for logging results on a step-by-step basis. Do these steps have to exactly line up with the steps specified in the test case that was covered by this tool, or could I log 1 "step" here for each message produced by my tool? (For example, a step in RQM might say "find a loan 90 days overdue in state X" and our tool would produce 4 or 5 messages of output ('queried database a for loans', 'queried database b to check loan state', etc)) 2. What limits are there on the HTML I can create? Will things like JavaScript and CSS be scrubbed? I hope not, because that'll probably limit my ability to make results look nice when seen in RQM. |
One answer
1) There typically is a one-to-one mapping between test script steps and execution result steps. However, this mapping is not enforced by the API. I would instead use XHTML to provide a bullet list of messages in the actualResult or comment fields.
2) Only XHTML or HTML 4 (see http://www.w3.org/TR/REC-html40). |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.