Copy Clipboard Data Function: getclipboard
The Copy Clipboard Data function retrieves the current text content stored in the system clipboard. This function is useful for capturing copied data and using it in automation workflows.
Example: Suppose you want to copy text from a web page, document, or application and use it in your automation workflow for validation or further processing.
Steps to Configure:
- Add a New Step.
- Select Set a Variable Value from the Action dropdown.
- Leave the Screen Name field blank.
- Enter a variable name in the Element Key field (e.g., ClipboardData). This variable will store the copied clipboard text.
- Click on Form, select Functions, and choose Copy Clipboard Data from the dropdown.
- Click Save.


Outcome on Execution:
- Retrieves the current text stored in the clipboard.
- Stores the retrieved text in the Element Key variable.
- This variable can be used in subsequent automation steps using the syntax ${VariableName} e.g., ${ClipboardData}.
Note: Ensure that data is already copied to the clipboard before executing this function. If no data is copied, the function will return an empty value.