Use Keyboard Mouse while test execution

Ask general questions here.
zshadow
Posts: 28
Joined: Sat Aug 30, 2014 5:17 pm

Use Keyboard Mouse while test execution

Post by zshadow » Wed Dec 03, 2014 8:24 pm

Hi

We run our ranorex tests in a VM, whilst the tests are running we are not able to use the Mouse or the keyboard, is there any way of being able to carry on using the mouse and keyboard so that wecan be doing other things whilst the tests are running?

Thanks

zshadow

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3922
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Use Keyboard Mouse while test execution

Post by odklizec » Wed Dec 03, 2014 11:24 pm

Hi,

This is a very bad idea. Messing with mouse/keyboard while the test is running will most likely cause the test to fail. You see, what you want is like if two users would like to use mouse and keyboard at the same time. I would suggest you to setup a VM just for tests and do whatever you want to do on another machine.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Use Keyboard Mouse while test execution

Post by krstcs » Thu Dec 04, 2014 2:46 pm

Agree with odklizec. You should leave the test system's mouse and keyboard alone while the test is running. You could interfere with the test.

If you are running on a VM, then you should leave the VM alone and use another system if you need to get work done while a test is running.
Shortcuts usually aren't...

vinod
Posts: 3
Joined: Fri Jan 02, 2015 12:32 pm

Re: Use Keyboard Mouse while test execution

Post by vinod » Fri Jan 02, 2015 12:45 pm

I agree with this suggestion. Many time we have take benfits to use keybord and mouse at the time of any kind of execution. So we have to countrol on the desices....

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Use Keyboard Mouse while test execution

Post by krstcs » Mon Jan 05, 2015 2:31 pm

Using the keyboard and mouse at the same time that Ranorex is attempting to use it will cause your test to fail. Ranorex (or any other functional UI automation tool) is not designed for multiple input use. This will not change.

Do not use the mouse and keyboard while a test is running unless you are prepared for test failures.



If you need to use your computer at the same time that you are running a test, then you should either build a new system for testing or run tests on a virtual machine.
Shortcuts usually aren't...