← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #709214]: script doesn't close after VNC (Java)

 

Question #709214 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709214

    Status: Needs information => Open

Davy Verbogt gave more information on the question:
With at the moment i use intelij i meant that i use intelij as my ide.

what i do is.

i connect to the VNC

VNCScreen vnc= VNCScreen.start(IP, Port, Pass, 10, 10000);

vnc.wait(thing);  i wait so see a certain screen

vnc.write(user);
vnc.type(Key.ENTER); it selects a user

vnc.wait(thing2); waits to be logged it

vnc.click(thing3); clicks on a button

vnc.stop();

System.exit(0);


and it doesnt close. the IDE keeps the script runinng. 
if i dont use click. the script does close. as i had moment where it couldn't find the first thing and the script did exit.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.