Skip to main content

SeeTestAutomation - GetClipboardText

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

info

Android 5.0+

Description

Returns the text that is currently stored in the device clipboard.

Usage

client.setDevice("adb:GT-I9505");
String text = client.getClipboardText();

Code Examples

Java Example

 client.getClipboardText();

C# Example Expand source

  client.GetClipboardText();

VBScript Example Expand source

 client.GetClipboardText (  )

Python Example Expand source

 self.client.getClipboardText()