Skip to main content

SeeTest Client - 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

This command is only supported on 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()