Questions tagged [iaccessible]

32 questions
13
votes
1 answer

What is the correct solution to support IAccesible interface for caret movement in text editors?

I want to implement a text editor from scratch which supports IAccessible interface. I am using MFC and Win32 API. When the caret position change in the standard text editors like Notepad, the corresponding letter, word or line to the caret movement…
A.Danesh
  • 844
  • 11
  • 40
8
votes
1 answer

Using IAccessible with Google Chrome returns incomplete tree

I'm trying to create a QA automation for Google Chrome, in order to simulate clicks and receive click events on the tab buttons. I'm using the IAccessible interface and AccessibleChildren API to get the full accessible elements tree. When using…
Bagelzone Ha'bonè
  • 1,192
  • 1
  • 14
  • 29
7
votes
1 answer

What is the difference between IAccessible, IAccessible2, UIAutomation and MSAA?

I am starting work on accessibility and I am a bit confused by the different technologies I have encountered. What is the difference between IAccessible and IAccessible2? I originally thought IAccessible2 may be a newer version of IAccessible, but…
Anna
  • 93
  • 7
7
votes
0 answers

IAccessible (MSAA): Accessing Firefox/Chrome causing Adobe Accessibility.api calls

I noticed with Process Monitor that accessing Mozilla Firefox over the IAccessible (MSAA) Interface causes file accesses to an Adobe Reader file called "Accessibility.api". When I access Mozilla Firefox with Microsoft's Inspect.exe (using MSAA) I…
GR84
  • 89
  • 3
4
votes
1 answer

How to access a document's HTML in Firefox using IAccessible

I can get an IAccessible object from a Firefox window using this code: Guid guid = new Guid("{618736E0-3C3D-11CF-810C-00AA00389B71}"); object obj = null; int ret = AccessibleObjectFromWindow(hWnd, (uint) OBJID.WINDOW, ref guid, ref…
Jon Tackabury
  • 47,710
  • 52
  • 130
  • 168
3
votes
0 answers

C# - Which interface is not registered and how do I register it?

I am trying to write a console app that will navigate the AutomationElement tree in any open program on Windows 10. My app actually works great with every open program I've tried... except for Chrome. Some installs of Chrome work, but some don't.…
3
votes
0 answers

Simulate "Enter" key press using IAccessible in Google Chrome

I'm trying to create a QA automation for Google Chrome, in order to simulate URL navigation. I got the correct object "Address and search bar" and also set the URL succesfully. I can't figure out how to simulate the "Enter" key press after setting…
GoodLife
  • 158
  • 6
3
votes
1 answer

Click on IAccessible(MSAA) element without DefaultAction

I've been trying to create an automated test with MSAA on python using pyMSAA I faced with a problem when a button does not have DefaultAction b.accDoDefaultAction() Traceback (most recent call last): File "", line 2, in File…
SWAPYAutomation
  • 693
  • 4
  • 11
2
votes
1 answer

Obtaining IAccessible2 interface for Firefox / Thunderbird window - QueryService always returns E_INVALIDARG

I am trying out accessing the information in (Windows only) Firefox / Thunderbird using the IAccessible2 API: http://www.linuxfoundation.org/collaborate/workgroups/accessibility/iaccessible2 However I'm failing at almost the first step. I can…
Stuart Whitehouse
  • 1,421
  • 18
  • 30
2
votes
0 answers

How to identify Omnibox IAccessible child object in Google Chrome independently from UI language?

Using Delphi XE2 with OleAcc, I am able to transverse all IAccessible child objects of a Google Chrome window and get their NAME and VALUE with get_AccName and get_AccValue respectively, to search for the Omnibox control which contains the URL as…
user1580348
  • 5,721
  • 4
  • 43
  • 105
1
vote
1 answer

use SetWinEventHook for logged-in user from a SYSTEM onwed process

I'm working on an application that runs with SYSTEM level privileges and is created by the SYSTEM user. I need to track foreground activities for the currently logged-in user. I'm using SetWinEventHook for the same. It works fine when I run the…
aker99
  • 11
  • 4
1
vote
0 answers

Capture windows AccessibleObject focus

it's possible capture when user click on Windows AccessibleObject? I would like to have a listener that show me a event when user click on accessibleObject of one application. It's possible?
CeccoCQ
  • 3,746
  • 12
  • 50
  • 81
1
vote
0 answers

c# how to find URL from browser using AccessibleObjectFromPoint

hi i done some research and find out the way to get browser URL using AccessibleObjectFromPoint or by this you can access any UI element so please tell me whats wrong in my code ERROR:- **** GETTING ChildID = 0 EVERY TIME DONT KNOW WHY…
Ankur Tripathi
  • 671
  • 9
  • 35
1
vote
0 answers

How to get current URL for chrome current version in C++

i want to get URL from Google Chrome using the MSAA apis, i already found this on StackOverflow but i want to replicate this behaviour =>How to get current URL for chrome current version , without using AccessibleObjectFromEvent but with…
1
vote
3 answers

Microsoft UIAutomation isn't ALWAYS working on some computers. C#

I have some C# code for extracting url from Chrome. It usually works on Win7/Win 8.1, but on some computers with the same configuration it doesn't work. And, probably, there is no difference between these configurations. Why does it happen?…
1
2 3