ActiveTreeSelection 对象
您可以使用 ActiveTreeSelection 对象访问活动模块中作为 Open Test Architecture (OTA) 对象的当前选定实体的列表。您可以通过遍历列表检索或修改选定的实体。
例如:
set selectedItems = ActiveTreeSelection
for each currentItem in selectedItems
if currentItem.Id <> 1 then
checkPermission(currentItem)
end if
next
有关 OTA 对象的详细信息和 OTA 对象属性的列表,请参考《ALM Open Test Architecture API Reference》。

