It's all about the answers!

Ask a question

Can anyone help debugging an RPE issue with RQM Test Scripts?


Jamie Berry (14013693) | asked Dec 18 '15, 1:36 p.m.
We are working with RQM 5.0.2 and RPE 1.2.1.1.  I am writing a template to generate a document for a test plan that includes all the linked test cases and their test scripts.  I have run into an issue with the schema for the Test Script.  I have added a data source to my template for a Test Script so I can configure a dynamic data source using the script URL from the test case.  All appears to be well until I try navigating into the Test Script Schema to drill into the Steps.  My schema discovery winds up yielding a Test Script element with the following content for the steps element:

  steps
    step - http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/
      _value

Instead of having elements under 'step' to access all the details of the step.  I have older templates that were created against RQM 4.0.2 and they have the details under the step element.

I used the notes on https://jazz.net/wiki/bin/view/Main/RqmApi to construct the URL for a QM Artifact to act as the schema for the Test Script (same as done for a Test Plan).  The URL was <integrationUrl>/schema/qm.xsd .   When the schema is examined in RPE it shows as described above instead of the expanded view.

I even tried exporting the schema out of the template with the expanded step and then importing it into my new template and it is still wrong. 

Does anyone have any idea why the schema isn't coming into RPE correctly?  I have tried identifying it as a REST and Generic XML schema, and neither made a difference.

Thanks,
Jamie.

One answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Dec 20 '15, 9:38 a.m.
Typically this happens when an older RPE version is used to do schema replacement and the new schema is not 100% compatible but RPE fails to detect that. This is fixed in RPE 1.3 and later versions.

You can refer the answer / template from the following link.
https://www.ibm.com/developerworks/community/forums/html/topic?id=36c8e6d0-1782-4a14-869c-e3425ac4b64a&ps=25

In the template you can use testscript/steps/step/description (for step description).

Comments
Jamie Berry commented Jan 07 '16, 9:32 a.m.

 Thank you for the assistance.  I was able to use the template you provided in the link (partly) but I still don't know what was going wrong with my data source creations a few weeks ago.  I have since created new data sources following the same procedures I previously followed and the elements come in correctly.


Thanks again,
Jamie.

Your answer


Register or to post 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.