It's all about the answers!

Ask a question

Test Execution Result Custom HTML

Michael Freeman (257) | asked Oct 02 '12, 2:11 p.m.
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 (

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

permanent link
Paul Slauenwhite (8.4k12) | answered Oct 03 '12, 7:27 a.m.
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

Your answer

Register or to post your answer.