VNC Server Connection Using Sikuli - Codoid
Select Page
Codoid Blog

VNC Server Connection Using Sikuli

Irrespective of the business that your client is in, marketing is an integral part of their operations. In fact, in this day and age of social.

VNC server can be connected using SikuliX. Once we invoke vncStart() method, it returns VNCScreen object. All you need to do is pass the below parameters while connecting your VNC server.

Parameters:

• ip – the server IP (default: 127.0.0.1 loopback/localhost)
• port – the port number (default 5900)
• connectionTimeout – seconds to wait for a valid connection (default 10)
• timeout – the timout value in milli-seconds during normal operation (default 1000)

Code

VNCScreen vncscreen=org.sikuli.script.Sikulix.vncStart("127.0.0.1", 5900, 10, 1000);
vncscreen.type("abc");
vncscreen.find("xxx.png");
  

Source: Connecting to a VNC Server (VNCScreen)

Written By

Submit a Comment

Your email address will not be published. Required fields are marked *


VNC server can be connected using SikuliX. Once we invoke vncStart() method, it returns VNCScreen object. All you need to do is pass the below parameters while connecting your VNC server.

Parameters:

• ip – the server IP (default: 127.0.0.1 loopback/localhost)
• port – the port number (default 5900)
• connectionTimeout – seconds to wait for a valid connection (default 10)
• timeout – the timout value in milli-seconds during normal operation (default 1000)

Code

VNCScreen vncscreen=org.sikuli.script.Sikulix.vncStart("127.0.0.1", 5900, 10, 1000);
vncscreen.type("abc");
vncscreen.find("xxx.png");
  

Source: Connecting to a VNC Server (VNCScreen)