HP 质量中心中的查找字段
我通过开放测试架构 API 与 Quality Center 连接。
我想确定链接到查找表的错误字段的允许值。
这些可以通过标准前端的下拉菜单获得。
谢谢
编辑:更详细的解释
我们有一些字段只允许在其中放置特定值。
例如: NextAction 可以是以下之一{“1.指定”,“2.分析”,“3.设计”}
但我一直无法找到一种方法来以编程方式确定这些允许的值。
I am interfacing with Quality Centre via Open Test Architecture API.
I would like to determined the allowed values of bug Fields that are linked to a lookup table.
These are available via drop downs in the standard frontend.
Thanks
Edit: A more Detailed explanation
We have some fields which will only allow specific values to placed in them.
For example:
NextAction can be one of the following { "1. Specify", "2. Analysis", "3. Design" }
But I have been unable to find a way to determine these allowed values programmatically.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 BugFactory 对象,您可以访问字段及其属性。这是从 OTA API 参考帮助文件中直接复制/粘贴 Visual Basic 的内容。如果您需要更多帮助,请尝试提供更有针对性的问题,例如您想要完成什么任务、哪些字段以及您想要使用哪种语言进行访问。
Using the BugFactory object you can access the fields and their attributes. This is a direct copy / paste of Visual Basic from the OTA API Reference help file. If you want more help, try providing a more focused question, such as what you're trying to accomplish, which fields, and which language you're trying to access with.
您可以通过从“自定义”对象查找列表来完成此操作。这是我使用 ruby 的方法:
You can do this by looking up the list from the 'Customization' object. Here's how I'd do it using ruby: