Set title action in Window

The Set title action in the Window package assign a new window title to a window variable.

Settings

  • In the Window field, click one of the following tabs:
    • Browser
      • Click the Choose a browser tab drop-down menu to select any of the active browsers on your system. Google Chrome, Chromium-based Microsoft Edge, and Internet Explorer browsers are supported.

        (Optional) Click the Refresh windows icon to update the list.

      • In the Browser title field, click one of the following tabs:
        • String: Enter a wildcard character (*) in the window title field to search for window titles that can change. You can specify one or more wildcards (*) at the start, middle, or end of the value. For example, to perform an operation on any window that has Microsoft in the title, use a wildcard to indicate any string by adding it before or after the value: *Microsoft*. The bot first searches for the exact window title (Microsoft), and if it does not find a match, it searches for windows with the term Microsoft anywhere in the title.
        • Regex: You can use a regular expression (regex) to identify a window title. Select the regular expression Type as either String or Pattern and then enter the value. By default, the Window title field is case-sensitive.

          For example, you can enter the String value as ((\w*)-Notepad for all window title names starting with ((\w*)-Notepad, or use Pattern value as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

      • The Case sensitive option is enabled by default and is used to match the letter case. Optionally, you can clear the check box to identify a window title where the letter case does not match.
        Note: Ensure that the minimum Bot Agent version installed on your system is the version that was released with Automation 360Automation 360 v.26. If you have any of the older Bot Agent versions, the window title will be identified only with matching letter case (case-sensitive) by default.
      • The Link to the web page field displays the address of the website you have selected through the browser.
      • The Browser application field displays the name of the browser you have selected.
    • Application

      Click the Choose an application window drop-down menu to select an application that is currently active on your Bot Creator device.

      (Optional) Click the Refresh windows icon to update the list.

    • Variable

      Select an existing application window or browser tab to specify the title.

  • In the Window title is field, select one of the following options for new title:
    • Not a regular expression: If the sub-string is not a regular expression.
    • A regular expression: If the sub-string is a regular expression.
  • In the New window title field, enter the new title that you want to assign.

    (Optional) Click the Insert a value icon to select an existing variable for the new title.