Ranorex

Ranorex and Vista

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



Joined: 22 Nov 2006
Posts: 16
Location: Australia

PostPosted: Fri Apr 27, 2007 7:47 am    Post subject: Ranorex and Vista
Hello,

How can someone interact with Vista UAC using Ranorex?

Has anyone tried it?

Of course you can't spy on it as when the UAC is up, the Ranorex spy is not accessible.

Any clues?

Thanks in advance.

Cheers,
Behdad.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Sun Apr 29, 2007 8:24 pm    Post subject:
Hi Behdad,

We made several tests with Windows Vista. Ranorex should also work if UAC is enabled.
A new RanorexSpy with some new features will come in the next release.
We tested the new Spy also with Vista.

You can download the new RanorexSpy at the following link:
http://www.ranorex.com/download/RanorexSpy-1.2.0-Beta1.exe

Please try it and give us a feedback.

thanks,
Gabor
RanorexTeam
Back to top
View user's profile Send private message Visit poster's website
behdad



Joined: 22 Nov 2006
Posts: 16
Location: Australia

PostPosted: Mon Apr 30, 2007 12:19 am    Post subject:
Hi Gabor,

Thank you for the solution. It almost does work. You can use the control to
stop the hot tracking, however, the information on the spy dialog doesn't seem to be correct.

For example when spied on a UAC Cancel button, the element was showing as listview.

Thanks.
Behdad.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Mon Apr 30, 2007 7:51 pm    Post subject:
Hi Behdad,

Quote:
It almost does work.

Thanks for this info.

We could reproduce and fixed this bug.
You can download a new Beta version from:
http://www.ranorex.com/download/RanorexSpy-1.2.0-Beta2.exe

Please try it and give us a feedback.

thanks,
Gabor
RanorexTeam
Back to top
View user's profile Send private message Visit poster's website
behdad



Joined: 22 Nov 2006
Posts: 16
Location: Australia

PostPosted: Tue May 01, 2007 2:55 am    Post subject:
Hi Gabor,

Thank you for following this up. It still doesn't show the correct information.
To test this, I launch the spy, then I go to the Start menu and find the Command Prompt menu item where I right click on it and choose to run it as administrator. At this stage the UAC pops up.

Now you can click Control to stop the hot tracking.

I am not so sure if it is possible for the spy to get this information because as far as I am aware I think what microsoft does is before they display the UAC, they take a snapshot of the user's screen, then they switch to another desktop which is in another thread, then they display the snapshot to prevent any activity(i.e message) to go through. So I don't know how the spy can work its way through.

Please let me know what you think. I hope I am wrong.

Thank you.

Cheers,
Behdad.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Wed May 02, 2007 8:41 pm    Post subject:
Hi Behdad,

I'm sorry but i think you are right. I made several tests with Vista and couldn't capture the UAC dialog. It seems that microsoft blocks all messages before poping up such dialogs.

In Windows XP you could solve such problems with a windows service running in session 0. But it seems that is disallowed in windows vista:
http://www.microsoft.com/whdc/system/vista/services.mspx

Gabor
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet 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