sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56022
[Question #693662]: VNCScreen.capture doesnt work
New question #693662 on Sikuli:
https://answers.launchpad.net/sikuli/+question/693662
I am performing a click action on a remote VNC session. I take a capture of before the click happens and after the click happens.
I can manually verify that the click happened. The post.png DOES NOT resemble after the click happened. its identical to the pre.png.
here is the code
VNCScreen vncSesh = VNCScreen.start("192.168.1.5", 5900, "password", 10, 10);
Pattern pattern = new Pattern("test.png");
vncSesh.capture().save("/Pictures, "pre.png");
vncSesh.click(pattern);
vncSesh.wait(2.0);
vncSesh.capture().save("/Pictures", "post.png");
vncSesh.stop();
this is with Sikuli 2.0+. I had this issue with an old Sikuli and thought if i got the Sikuli 2.0+ working it wouldnt have this problem but im still having the same issue. I am using sikuli through the api.jar for java. Why isnt the capture() taking a picture of after the click happens?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.