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 Application Quality Management 8942
Tips to improve your search results... OpenText™ Application Quality Management Help Center OpenText™ Application Quality Management Help Center OpenText™ Application Quality Management Help 26.1 All View Local Help Center View Online Help Center Version: