qrwa's avatar
qrwa
New Contributor
7 years ago
Status:
New Idea

get/set clipboard value on iOS/Android devices

It would be great, if we could get/set clipboard value on mobile devices. As workaround, we use dummy view, which we use as a 'clipboard'. We can set/get value, which is stored in that view from Test scripts and from testing app. But read from/write to clipboard directly would be a better solution here.

  • qrwa's avatar
    qrwa
    New Contributor

    Hi,

    Totally useless answer.

    I would expect, that TestComplete would have something like that:
    device.setClipboardValue(blah blah)
    device.getClipboardValue()

    And you are suggesting to read some other thread, which suggest JS workarounds, really? "Simulate long press and then simulating press on 'copy' popup" is not a solution as well, it's a workaround.

    It is enough for us, that TestComplete does not support ReactNative applications (it can't find any NATIVE (yes yes, NATIVE, not web or similar) UI controls, which are in hierarchy). And copy-buffer would be a acceptable way communication between TestComplete and an app. But not, TestComplete can't do that either :(

  • Hi qrwa 

     

    In case you aren't aware,  "totally useless answer" is a rude response.  We don't talk to each other that way here.  It's not StackOverflow.  

     

    If a suggestion doesn't work for you, that's fine, but you can explain that nicely and perhaps also why it didn't work for you so the *volunteers* who are taking their time to try to help you will have a better idea of what's going on.