Share this page

# ActiveTreeSelection Object

You can use the ActiveTreeSelection object to access the list of currently selected entities in active module that are open test architecture (OTA) objects. You can retrieve or modify selected entities by iterating through the list.

For example:

    set selectedItems = ActiveTreeSelection
    for each currentItem in selectedItems
           if currentItem.Id <> 1 then
              checkPermission(currentItem)
           end if
    next

For details about OTA objects, and a list of OTA object properties, refer to the ALM Open Test Architecture API Reference.

https://admhelp.microfocus.com ALM 8942
Tips to improve your search results... ALM Help Center ALM Help Center ALM Help 16.00-16.0.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: