-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a way to set new custom fields on Test Records #41
Comments
here's some info from Siemens: ITestRecord.getProperty() Here's more information about the ITestRecord method: https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/tracker/model/ITestRecord.html. |
@simzacks my understanding is even if we run methods/functions on any object the result will end up in Am I missing anything here? |
custom fields are added to a Projects Test Run here: Let me know if that helps |
|
we also set and get custom fields on Test Runs, which are not work items. |
That's great, probably I can refer that. Thanks. |
The question would be if the wsdl supports them or not.
…On Wed, Nov 3, 2021, 14:52 Leela Gangavarapu ***@***.***> wrote:
That's great, probably I can refer that. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADF6GME5IUSGRJ35RRHDDJ3UKEWAJANCNFSM5HHDZRAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
|
In the rest of Polarion custom fields are gotten and set through special function calls. If there is no specific function for test record custom fields, I would suspect that they could not be updated through the wsdl |
According to Siemens this can be done... ITestRecord.getProperty() Here's more information about the ITestRecord method: https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/tracker/model/ITestRecord.html. |
Afaik, it isn't always given that WSDL has one-to-one mapping to internal Java implementations. We generally query WSDL api to fill python dicts (_cls_suds_map), so not sure whether this featute can be implemented or not. However, I'll revisit one more time before writing this off. |
This is a must have for a few teams that use Polarion. We plan on implementing Test Failure Analysis using Polarion Test results and we will need the ability to edit these fields. Please register with Siemens Customer Support and begin a dialog with them around this if you feel that we can not do this on our own. Siemens knows that adding a custom field without providing us API access to it is not very helpful. |
Being as clear as possible:
pinging @simzacks, @waynesun09 to weigh in their thoughts and correct me if my explanation isn't correct. |
Hi, Any updates on this? @simzacks any suggestions on this? Siemens is telling us there is a way to get and set via the WSDL. if this is not the case we need to open a channel with them to show them we can't do it, so we can get a fix. |
@brian12559 - the challenge is knowing what the names of the custom fields are so that they can be used natively in pylero. |
@simzacks , OK, I think i understand. So, while not ideal can we we hardcode this until we get a function that can return the list of names. For the Test Failure Analysis part of this the custom fields we are going to add will be at the global level and will be able to changed at the Project level. In this case we will know exactly the IDs of the 3-4 custom fields we need for this. Will this allow us to hack around it? |
It could be done, the challenge is that the repo is now open-source, so we
can't add anything specifically red hat to it.
Another option that we used for test runs before they added a function,
was we downloaded the xml file from the repo and parsed it.
…On Tue, Dec 14, 2021, 18:06 brian12559 ***@***.***> wrote:
@simzacks <https://github.com/simzacks> , OK, I think i understand. So,
while not ideal can we we hardcode this until we get a function that can
return the list of names. For the Test Failure Analysis part of this the
custom fields we are going to add will be at the global level and will be
able to changed at the Project level. In this case we will know exactly the
IDs of the 3-4 custom fields we need for this. Will this allow us to hack
around it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADF6GMHIXT77HE4UUNB23NTUQ5TPFANCNFSM5HHDZRAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@brian12559 @leelavg Please don't post internal urls and sensitive data like credentials here on the open project, I have removed the credential in one comment. While the urls other than almdemo are still an issue here. I don't think I have more knowledge than @leelavg on how this could be done as detailed in as I checked user could not download the xml from the prod polarion instance, @simzacks so it means download and parse it's not gonna work unless special user credentials or privilege been set up somehow which still will not work for general users. So someone need request Siemens for providing WSDL with TestRecord like: |
|
ACK...fixed mine...my bad |
In version 21R1 Polarion introduced custom fields on Test Records. This is a very useful feature and critical to us implementing TFA in Polarion.
Here is the new help on it:
(.polarion/help/index.jsp?tab=links&contextId=com.polarion.xray.web.test_record_custom_fields)
Here is API for Test Record...not sure if it is supported yet..I have posed the question to Siemens
The text was updated successfully, but these errors were encountered: