sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50639
[Bug 1817031] Re: VNC some key commands not working in Windows guests
Sorry, was intended to become a question.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1817031
Title:
VNC some key commands not working in Windows guests
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.
I am discovering some keystrokes on the machines not working properly.
On Windows 10 my problems are:
the code:
client = vncStart(ip="192.168.56.100", port=5900, password="vnc" )
wait( 1 )
client.type( "r", Key.WIN )
nothing happens.
Instead this is working:
client.keyDown( Key.WIN )
client.type( "r" )
client.keyUp()
when I do this sequence:
client.keyDown( Key.WIN )
client.keyUp()
wait(1)
client.type( "cmd.exe" )
client.type( Key.ENTER )
wait(1)
client.type( "cd \\" )
client.type( Key.ENTER )
wait(1)
I am missing all the ENTER-keys
The combination
client.type( "cmd.exe" + Key.ENTER )
isn't working as well.
With the Windows 7 client,
I have the following:
client = vncStart(ip="192.168.56.101", port=5900, password="vnc" )
wait( 1 )
client.type( "r", Key.WIN )
-> nothing happens
client.keyDown( Key.WIN )
client.type( "r", Key.WIN )
client.keyUp()
-> works
In this code snippet RETURN-keys are working:
client.type( "cmd.exe" )
client.type( Key.ENTER )
wait(1)
client.type( "cd \\" )
client.type( Key.ENTER )
wait(1)
I am aware that I need to implement something like a handshake, a combination of
type(...)
and
wait(...)
for a screenshot but with the waits I have another issue I am asking for in another question.
Best regards,
Christoph
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1817031/+subscriptions
References