The attached scripts are implementing the same functionality as a Native Automation code.
There are 2 attached functions:
"Select by Index" and "Select by Value".
To use that in UFT, please create a User Function which will execute this script.
Native Auromation version: select_by_index.mcr
UFT compatible version: select_by_value.mcr