XP, Vista & 7 program testing with one keyboard and mouse

T1MM1E

Reputable
Jun 17, 2014
5
0
4,510
I'm testing programs on different computers with different OS. One runs with Windows XP, one with Windows Vista and one with Windows 7. Instead of running each test 3 times I would really like to be able to run it all at once controlling all 3 computers with one keyboard and one mouse simultaneously. This would help me save a lot of time and simplify the testing as I will know the exact same thing would be done on all 3. So if one breaks it would be the Os not that I did something lightly differently the time I tested the program by manually switching computers as I'm forced to do today through a switch. Hopefully it would be some sort of system that I can expand on when I get more computers to run extra OS on.
 

KuphJr

Reputable
Mar 31, 2014
33
0
4,530

That is what I originally thought, but it looks like OP wants to use different machines.
 

T1MM1E

Reputable
Jun 17, 2014
5
0
4,510
Yes, it is important that they have different hardware configurations to test the program for as many variations as possible. I've never seen a USB splitter that splits so one keyboard and mouse could be used for many computers at the same time. I'll look in to that link and see if that might be what I've been looking for.
 

USAFRet

Titan
Moderator


And he appears to want the same keystrokes/mouse movements transmitted to all three at the same time.

I don't think that exists.
 

T1MM1E

Reputable
Jun 17, 2014
5
0
4,510
Yes, that is correct, that would be a dream come true. If the program crashes or produces an error on one computer and not the other 2 I would know much easier what broke it as I can rule out a lot of things from the other two computer set-ups. Sorry to hear that no one ever heard of this being done. I thought I had years ago. Thus me asking here as I've had no luck looking for it myself online.
 

USAFRet

Titan
Moderator
A much better way to do this is with a scripted testing application.

There are many testing applications that do this. You create a script to perform all the clicks and keystrokes. Create once, run many times. This completely removes user error and interaction from the test environment.
 

T1MM1E

Reputable
Jun 17, 2014
5
0
4,510


I initiallythought about some sort of Bot, and I even tried it, but the program being tested have lots of random parts that doesn't work with bots as it pulls information from a third party feed online which it creates a situation from and the user is required to respond to that in the correct way.
 

KuphJr

Reputable
Mar 31, 2014
33
0
4,530
You could get some old USB cables, strip the ends, find out which wire is which (positive, negative, ect.) and wire up a keyboard and mouse that way.

What you would do is take a female USB cable and plug the mouse or keyboard into it. Then strip the end of the female USB cable and get 3 male USB cables and strip them as well. Connect the female wires to the wires on the 3 male USB cables but only attach the positive and negative wires on the female USB cable to ONE of the male cables. This will ensure you won't short out the keyboard. To tell which cable is which the cables are usually colored inside the casing. I have no idea if it will work but you should be able to use cables you have laying around.

If you don't understand I can draw a picture and post it.