I am using my laptop and Timbuktu to connect to the machine that has eggplant on it. And in turn the eggplant machine uses VNC to connect to the SUT. Both systems are running Mac OS X 10.3.9.
I want to capture a text based code off a web page/screen and place it into a file (as a log). I can locate the text, double click it, and TypeCommand “c” (to copy it) just fine. But the remoteClipboard() doesn’t work. It gives me this error: pasteboard inaccessible on remote machine
I’ve read this forum topic:
I do not want to have to capture the screen (or portion of) as an image to manually check later. I need to grab the text code and put it into a file because another script will read each one and verify if the text code is in the database. There will be too many to do by manual means.
I did find the following in the manual but don’t really understand it. Can some translate it into easy to understand terms:
Note: On Mac OS X systems, the VNC server can only access the clipboard when it is running as the current user. This can be accomplished by launching OSXvnc manually after login or by setting up OSXvnc to run as a login (startup) item in the ?Users? panel of the System Preferences. The ?Startup Item? that can be created from within the OSXvnc application itself is launched at system startup and runs as the ?root? user, so it does not have access to the clipboard. This is a restriction that is imposed by the OS.
Thanks in advance for the help.