← Back to team overview

sikuli-driver team mailing list archive

[Bug 1772263] Re: VNCScreen.start doesn't support connections with password for Windows

 

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => Critical

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.3

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1772263

Title:
  VNCScreen.start doesn't support connections with password for Windows

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli Version - Sikuli 1.1.2
  O/S where I am trying to execute Sikuli script - Windows 10

  Currently trying to connect to VNCServer installed on Windows 2016
  server.  I have enabled the password for the connection.  I see that
  the VNCScreen.start with password supports only MAC environment and
  hence it is returning me a null VNCSCreen object.

   public static VNCScreen start(String theIP, int thePort, String password, int cTimeout, int timeout) throws IOException {
          VNCScreen scr = null;
          if (RunTime.get().runningMac && !RunTime.get().isJava9(new String[]{"VNCScreen not yet working on Mac"})) {
              scr = new VNCScreen(VNCClient.connect(theIP, thePort, password, true));
              screens.put(scr, scr.client);
          }

          return scr;
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1772263/+subscriptions


References