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
One answer
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
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
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