Ranorex

Test without getting focus

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexPython
View previous topic :: View next topic  
Author Message
heob



Joined: 15 Nov 2006
Posts: 4

PostPosted: Mon Oct 08, 2007 3:32 pm    Post subject: Test without getting focus
is it possible with ranorex to steer windows programs without loosing the focus of the current window when clicking on the other one?
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 257

PostPosted: Mon Oct 08, 2007 10:56 pm    Post subject:
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
heob



Joined: 15 Nov 2006
Posts: 4

PostPosted: Wed Oct 10, 2007 5:27 pm    Post subject:
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
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 257

PostPosted: Thu Oct 11, 2007 10:42 pm    Post subject:
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
heob



Joined: 15 Nov 2006
Posts: 4

PostPosted: Mon Oct 15, 2007 10:53 am    Post subject:
i'll try...

thanks a lot.

regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexPython All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum