sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50645
[Bug 1817046] [NEW] VNC synchronisation of screen content for wait and capture not working properly
Public bug reported:
Hi!
I am currently developing some software tests using virtual Windows 7
and 10 guests in VirtualBox. My VNC-Server on the guests is TigerVNC.
What I am trying:
client = vncStart(ip="192.168.56.100", port=5900, password="vnc" )
wait( 1 )
client.keyDown( Key.WIN )
client.type( "r" )
client.keyUp()
client.wait("Run.png",60)
Run.png is a screenshot of the "run"-panel in Windows 7 or 10.
This wait fails on both Windows 7 and 10.
The reason seems to be a failing synchronisation of the screen contents to the client-object.
As a proof I made a capture of the client after 120s and attached the files for Windows 7 and 10.
The code:
client.keyDown( Key.WIN )
client.type( "r" )
client.keyUp()
wait( 120 )
client.capture().saveInBundle("Win10.png")
Remark: on the virtual box window itself, I see the open run-panel, only the capture is empty.
When I'm doing the wait and search-commands in my tests undotted on the
virtual desktop window , everything works fine. I only avoid this with
the goal starting the tests from a jenkins server testing virtual
machines later.
Best regards,
Christoph
** Affects: sikuli
Importance: Undecided
Status: New
** Attachment added: "screenshots.zip"
https://bugs.launchpad.net/bugs/1817046/+attachment/5240598/+files/screenshots.zip
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1817046
Title:
VNC synchronisation of screen content for wait and capture not working
properly
Status in Sikuli:
New
Bug description:
Hi!
I am currently developing some software tests using virtual Windows 7
and 10 guests in VirtualBox. My VNC-Server on the guests is TigerVNC.
What I am trying:
client = vncStart(ip="192.168.56.100", port=5900, password="vnc" )
wait( 1 )
client.keyDown( Key.WIN )
client.type( "r" )
client.keyUp()
client.wait("Run.png",60)
Run.png is a screenshot of the "run"-panel in Windows 7 or 10.
This wait fails on both Windows 7 and 10.
The reason seems to be a failing synchronisation of the screen contents to the client-object.
As a proof I made a capture of the client after 120s and attached the files for Windows 7 and 10.
The code:
client.keyDown( Key.WIN )
client.type( "r" )
client.keyUp()
wait( 120 )
client.capture().saveInBundle("Win10.png")
Remark: on the virtual box window itself, I see the open run-panel, only the capture is empty.
When I'm doing the wait and search-commands in my tests undotted on
the virtual desktop window , everything works fine. I only avoid this
with the goal starting the tests from a jenkins server testing virtual
machines later.
Best regards,
Christoph
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1817046/+subscriptions
Follow ups