Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to set "Owner" and "Tested By" of Test Execution Record in Automation Adapter?

How to set "Owner" and "Tested By" of Test Execution Record in Automation Adapter?
I am using LYO sample and have noticed that both fields are set to username taken from adapter.properies.

My goal is to have "Owner'  and "Tested By" set to user who run the test (clicked play in RQM) not from adapter.properties file.

I have tried to use void addCreator(final URI creator) or void addContributor(final URI contributor) in AutomationResponse but haven't worked. Any help?
Thanks

0 votes



One answer

Permanent link

Lyo adapter uses AutomationResult to create the result. AutomationResult does not have property to set owner and tested by user. Instead you can modify the code and use TestResult by which you will be able to set both the property

0 votes

Comments

Hi Subhajit Bhuiya,

could you give more info? 

I cannot find in API (TestResult.class) or here:
http://open-services.net/bin/view/Main/QmSpecificationV2#Resource_TestResult
any fields responsible for "Owner" or "Tested by".
Thanks
 

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,055

Question asked: Apr 16 '18, 4:53 a.m.

Question was seen: 2,797 times

Last updated: May 18 '18, 2:18 p.m.

Confirmation Cancel Confirm