[RPE] How to get an attached image (not attachment) from RQM's script step.
![]() Morning,
Im trying to obtain and image inserted in a step text field in RQM 4.0.1 through RPE. I can get attachments but not an image directly inserted in a text field using "Insert Image" button.
I can get attachments through tesscript data source schema cause it has Attachment field:
But, is there any way to get attached images, for example an image attached in expectedResult field ???
I can see that image attached in expectedResult field is in feed code: <ns9:expectedResult xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/"><div:div xmlns="http://www.w3.org/1999/xhtml" xmlns:div="http://www.w3.org/1999/xhtml"> Se accede correctamente<ns20:a xmlns="" xmlns:ns20="http://www.w3.org/1999/xhtml" href="https://myserver:9443/jazz/service/com.ibm.rqm.planning.service.internal.rest.IAttachmentRestService/_NrEm0SdgEeO3UKXOjinjcw" target="_blank"><ns20:img xmlns:ns20="http://www.w3.org/1999/xhtml" src="https://myserver:9443/jazz/service/com.ibm.rqm.planning.service.internal.rest.IAttachmentRestService/_NrEm0SdgEeO3UKXOjinjcw" alt="RQM_31.png" height="24" style="width: 24px; height: 24px;" width="24"></ns20:img></ns20:a> </div:div></ns9:expectedResult> But cant assign to an IMAGE component of RPE:
Thank you very much!
|
Accepted answer
One other answer
![]() Hola Alvaro
I have accomplished what you are asking. I have separte the Text and the Image from the "Expected Result"/"Step Description".
I used this code to create an HTML tag :
*This code is only for 1 image. If the step have more than 1 image I used other code in other cells.
With this I also exported to excel and imported using RQM importer.
|
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.