I am trying to get the contents of a field for validation. The remoteClipboard() function is not working correctly for me though. I have run this function when the SUT is windows and it works fine. However, when my SUT is mac it does not work.
Here is the code snippet:
put remoteClipboard() into theField
log "theField is: " & theField
The log does not have the field contents. I believe the problem is in the remoteClipboard() function because I did a test where I just ran the
And then I manually opened a text file on the SUT and did a ‘paste’ and the text I was expecting was in the clipboard.
What am I missing?