I am working on project which helps end user to create daily reports by tracking it's activity.
To track activity in IE browser application uses accessibility interface (MSAA).
In brief, tracking works the following way:
- App searches for all child windows of IE browser which have "Internet Explorer_Server" window class (tab documents windows)
- Gets IAccessible object by window handle.
- Gets name of the IAccessible object which represents URL of the document loaded for this tab
Everything works fine for most of users. But several users reported that IE tracking doesn't work for them.
Nothing fails, but empty string is always returned as name of the IAccessible object (document).
I checked that URL can be obtained using UIAutomation API (I used Inspect.exe tool), but for some reason the name is always empty for this element when MSAA api is used.
Note that the issue is reproduced for these users even when AntiVirus software is turned off and with all IE Add-ons disabled.
Could you please clarify if there are any security settings which can control this behavior?
IE version: 9.0.8112.16421
WIndows version: 6.1.7601.65536
Note: I tried unsuccessfully to reproduce this issue on the VM box using the same version of the Windows and IE. I also tried to use the same Anti virus system and several IE add-ons without success.
Note2: Application has valid signature. I also tried to set UIAccess=true in application manifest. It doesn't help.