| View previous topic :: View next topic |
| Author |
Message |
behdad
Joined: 22 Nov 2006 Posts: 16 Location: Australia
|
Posted: 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 |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: 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 |
|
 |
behdad
Joined: 22 Nov 2006 Posts: 16 Location: Australia
|
Posted: 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 |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: 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 |
|
 |
behdad
Joined: 22 Nov 2006 Posts: 16 Location: Australia
|
Posted: 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 |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: 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 |
|
 |
|