Forum Discussion

jongleur's avatar
jongleur
New Contributor
3 years ago
Solved

How to Check Clipboard of remote machine from TestLeft test code

I'd like to make sure the right content is copied to the clipboard in a TestLeft test When the Application under test (WPF application) is executed locally, this can be done with the following (C#) ...
  • jongleur's avatar
    3 years ago

    Found a solution with help of the payed support:

    • - Get the IProcess Node of the application under test
    • - Get it's Parent node (which is the Sys object)
    • - use GetProperty<string>("ClipBoard") (which works for string content of the clipboard; didn't test yet for binary/image content).

    Thanks for your help anyway.