Here is one that’s been frustrating me for a few weeks. I think it’s an issue in the Windows XP Remote Desktop Client, but there’s no way I can tell this for sure.
Let’s start by understanding that I do not have access to a direct connection to the actual (logical) SUT. That belongs to a third party, and for security reasons, I am not able to load any VNC servers on that box.
That means that I need to use an indirect means of communicating with it, and to that end, I have a local VM running VNC - which becomes a physical SUT - that then connects to the logical SUT using Microsoft Remote Desktop.
So, I connect from Eggplant using VNC to the physical (local) SUT, which then connects to the logical (remote) SUT using RDC. To emulate this locally, I have a second XP VM set up, and I can use RDC to access that system as a substitute for the real logical SUT.
Still with me?
Mac (192.168.0.102) -> Physical XP SUT via VNC
Physical XP SUT (192.168.0.71) -> Logical XP SUT via RDC
Logical XP SUT (192.168.0.58, or third party)
Now, what happens is that when I send some text from the Mac to the logical SUT, it is mostly ok.
Mostly ok means that sometimes it is not, and therein lies the problem: I may send a text string of “ABCDE”, but the logical SUT gets perhaps “aBCDE”, or even “abcde”.
Basically, shift and/or control characters seem to be getting lost somewhere in the ether.
Here’s how to set up the test and try this for yourself:
1: set up the local environment as described above, with a Mac and two XP VMs. Obviously, use IP addresses that are reasonable for your own situation.
From Eggplant, connect to the first XP VM using the Eggplant connection list. This is the physical SUT.
From within that connection, use the MS Remote Desktop Client to connect to the secondary XP VM. This is the logical SUT - it’s where we are actually doing our testing, even though we are not directly connected to it.
Within the logical SUT load a copy of Notepad, and then run this script.
set loops = 0
repeat until loops = 10
typetext "TEST #" & Loops & "
"
typetext "ABCDE
"
typetext "ABCDE
"
typetext "ABCDE
"
typetext "ABCDE
"
typetext "ABCDE
"
typetext "ABCDE
"
typetext "ABCDE
"
typetext "ABCDE
"
// Let's wait a couple of seconds, and see if
// everything has been brought across correctly
wait 4
// Let's clear the workarea, and start again
typetext "\ca\C"
typetext "\D"
set loops = loops + 1
end repeat
As you can see, there’s a small pause inserted in this script to permit you some time to have a quick look at what’s actually been typed into Notepad. If you see any lowercase characters at all - any - then you are seeing the issue I’m talking about.
In my tests, I’ve seen similar results when using RealVNC or TightVNC. That suggests to me that the problem lies within either Eggplant or the MS RDC.
If I modify the test so that I use VNC into the host Mac instead of the intermediate XP VM …
Mac (192.168.0.102) -> Physical Mac SUT via Vine
Physical Mac SUT (192.168.0.102) -> Logical XP SUT via MS Mac RDC
Logical XP SUT (192.168.0.58, or third party)
I do not see this problem, which, to my way of thinking, kind of removes Eggplant as the source of the issue.
Does anybody else get similar results to what I’ve been getting?
Does anyone understand what is happening here? This seems to be associated with keyboard state settings, rather than scancodes that should be being sent.
Oh yes, XP is always SP2.
TIA for any thoughts on this one.