Shift F5 command is not working as expected for Terminal Emulator Activities

Shift_F5 command is not working as expected. The terminal popup does not appear. There is also no option to send Alt + Shift + T

Issue Description:
Shift_F5 command does not do anything. The terminal popup does not appear.


UiPath.Terminal.Activities.TerminalSendControlKey

image.png


Root Cause:
Some IBM RS/6000 terminals send the Shif_F5 as in the screenshot. But we cannot configure Direct Connection like that.
image.png


Resolution/Workaround:

Approach #1 for Direct Connection
The workaround is to build the escape sequence manually based on the value in the mapping and send it via the Send Keys activity as below:
  • Define a string variable named shift_F5 with the value:
System.Text.Encoding.ASCII.GetString({&H1B}) + "[017q"
  • Send Keys with the shift_F5 variable

Approach #2 for Attachmate Reflection
For Attachmate Reflection, use UI activities to send the F keys to the terminal: Send Hotkey with the reflection window selector.