Page 1 of 1

Test without getting focus

Posted: Mon Oct 08, 2007 2:32 pm
by heob
is it possible with ranorex to steer windows programs without loosing the focus of the current window when clicking on the other one?

Posted: Mon Oct 08, 2007 9:56 pm
by Support Team
is it possible with ranorex to steer windows programs without loosing the focus of the current window when clicking on the other one?
It depends on the action, but in most cases the control of the tested application must have the input focus.
This is not a Ranorex issue, this is windows.

Another possibility: you can set the focus back to your own application.

What do you exactly want to do? Why do you want to set the focus back?

Jenö
Ranorex Support Team

Posted: Wed Oct 10, 2007 4:27 pm
by heob
the problem is that the tester should be able to do other stuff on his pc during the test is done .. i know that's not what a application test is about but we will not test the application behind, we only want to use it ...

so the test runs and the windows application get's the focus all the time ... that's wiry because the other applications he is using loses it's focus all the time ...

thanks
Helmut

Posted: Thu Oct 11, 2007 9:42 pm
by Support Team
the tester should be able to do other stuff on his pc during the test is done
This is only possible if you do not simulate mouse clicks and keyboard events. A mouse click sets automatically the focus to the control under the mouse pointer. I would suggest to simulate the same actions user does and test with a second machine if possible.

... or you use only actions without mouse movements and keyboard events.

Jenö
Ranorex Support Team

Posted: Mon Oct 15, 2007 9:53 am
by heob
i'll try...

thanks a lot.

regards