Get UI Object Value

Retrieve the value of an object in the active application and place it into a new or existing variable. This command can be especially useful for checking the value of checkboxes, radio buttons, drop-down lists, etc.

  1. Enter the name of the variable into which you would like to place the value of the selected object.

  2. Select the object whose value you would like to retrieve.

    After selecting the object, the following buttons become available (when relevant):

    • Click an object

    • Expand selection

    • Narrow selection

    • Highlight selected object

    • Use right click for selection

    • Tree view

      An example with Tree View selected:

      See UI Automation Selector Syntax

  3. Instruct the wizard how to handle any errors encountered. Read more about error handling.