Send Function Keys Action is Failing
Summary: This article describes an issue where Send Function Keys fails when you provide an unsupported input.
Error behaviour
When this issue occurs, you can observe the following behaviour:
The dynamic variable returns False.
The function key or key combination is not applied to the target element.
Depending on error-handling configuration, the test execution may stop at the Send Function Keys step, and subsequent steps may not execute.
Possible Reasons
This issue may occur due to one or more of the following reasons:
The Input Value does not match any supported function key name (typing error or unsupported key name used).
A non-numeric, zero, or negative value is provided after the semicolon (;) separator for <number>. For example: ctrl+c;zero, ctrl+c;-2.
Function Keys in a combination are not joined using plus (+). For example: ctrl and c.
The specified key is unsupported by the Operating System (OS), browser, or application in the current context.
Resolution/Solution
To resolve this issue and ensure successful execution, perform the following actions:
Refer to the List of Function Keys and List of Key Combinations tables and enter the exact function key as the Input Value.
Cross-check spelling of function key before re-running the step.
Provide a valid positive integer (1 or greater) after the ; separator, or skip <number> to default to 1. For example: ctrl+c;2, ctrl+c.
Join combination keys using + with no spaces. For example. ctrl+c, not ctrl c or ctrl,c.
Verify that the target OS, browser, or application supports the specified key before use.
If the function key is blocked or unsupported, use an alternate supported key or a different action.
Last updated